fix text on background image
This commit is contained in:
parent
688b1df38c
commit
6c222d94b6
1 changed files with 13 additions and 12 deletions
|
@ -15,21 +15,15 @@
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<FrameLayout
|
<LinearLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="@color/wikivoyage_start_editing_background">
|
android:background="@color/wikivoyage_start_editing_background"
|
||||||
|
android:orientation="horizontal">
|
||||||
<ImageView
|
|
||||||
android:id="@+id/background_image"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="@dimen/wikivoyage_explore_card_image_height"
|
|
||||||
android:contentDescription="@string/welcome_to_open_beta"
|
|
||||||
android:src="@drawable/img_help_wikivoyage_contribute" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/title"
|
android:id="@+id/title"
|
||||||
android:layout_width="150dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="@dimen/list_content_padding"
|
android:layout_marginBottom="@dimen/list_content_padding"
|
||||||
android:layout_marginEnd="@dimen/list_content_padding"
|
android:layout_marginEnd="@dimen/list_content_padding"
|
||||||
|
@ -37,10 +31,18 @@
|
||||||
android:layout_marginRight="@dimen/list_content_padding"
|
android:layout_marginRight="@dimen/list_content_padding"
|
||||||
android:layout_marginStart="@dimen/list_content_padding"
|
android:layout_marginStart="@dimen/list_content_padding"
|
||||||
android:layout_marginTop="42dp"
|
android:layout_marginTop="42dp"
|
||||||
|
android:layout_weight="1"
|
||||||
android:textColor="@color/primary_text_dark"
|
android:textColor="@color/primary_text_dark"
|
||||||
tools:text="@string/start_editing_card_image_text" />
|
tools:text="@string/start_editing_card_image_text" />
|
||||||
|
|
||||||
</FrameLayout>
|
<ImageView
|
||||||
|
android:id="@+id/background_image"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="@dimen/wikivoyage_explore_card_image_height"
|
||||||
|
android:contentDescription="@string/welcome_to_open_beta"
|
||||||
|
android:src="@drawable/img_help_wikivoyage_contribute" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/description"
|
android:id="@+id/description"
|
||||||
|
@ -65,7 +67,6 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="@dimen/bottom_sheet_title_height"
|
android:layout_height="@dimen/bottom_sheet_title_height"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:background="?attr/selectableItemBackground"
|
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:textColor="?attr/color_dialog_buttons"
|
android:textColor="?attr/color_dialog_buttons"
|
||||||
android:textSize="@dimen/default_desc_text_size"
|
android:textSize="@dimen/default_desc_text_size"
|
||||||
|
|
Loading…
Reference in a new issue