Fix wikivoyage welcome screen UI
This commit is contained in:
parent
5ac595d291
commit
1ae40f7506
2 changed files with 7 additions and 1 deletions
|
@ -18,6 +18,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:layout_marginTop="@dimen/wikivoyage_welcome_image_top_margin"
|
android:layout_marginTop="@dimen/wikivoyage_welcome_image_top_margin"
|
||||||
|
android:scaleType="centerCrop"
|
||||||
tools:ignore="ContentDescription"
|
tools:ignore="ContentDescription"
|
||||||
tools:src="@drawable/img_start_screen_travel_night"/>
|
tools:src="@drawable/img_start_screen_travel_night"/>
|
||||||
|
|
||||||
|
@ -49,7 +50,7 @@
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:text="@string/travel_guide"
|
android:text="@string/travel_guide"
|
||||||
android:textColor="?attr/wikivoyage_primary_text_color"
|
android:textColor="?attr/wikivoyage_primary_text_color"
|
||||||
android:textSize="@dimen/welcome_header_text_size"/>
|
android:textSize="@dimen/title_text_size"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|
|
@ -49,6 +49,11 @@ public class WikivoyageWelcomeDialogFragment extends WikivoyageBaseDialogFragmen
|
||||||
return mainView;
|
return mainView;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int getStatusBarColor() {
|
||||||
|
return nightMode ? R.color.wikivoyage_welcome_bg_dark : R.color.wikivoyage_welcome_bg_light;
|
||||||
|
}
|
||||||
|
|
||||||
public static boolean showInstance(FragmentManager fm) {
|
public static boolean showInstance(FragmentManager fm) {
|
||||||
try {
|
try {
|
||||||
new WikivoyageWelcomeDialogFragment().show(fm, TAG);
|
new WikivoyageWelcomeDialogFragment().show(fm, TAG);
|
||||||
|
|
Loading…
Reference in a new issue