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:orientation="vertical">
|
||||
|
||||
<FrameLayout
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/wikivoyage_start_editing_background">
|
||||
|
||||
<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" />
|
||||
android:background="@color/wikivoyage_start_editing_background"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="150dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/list_content_padding"
|
||||
android:layout_marginEnd="@dimen/list_content_padding"
|
||||
|
@ -37,10 +31,18 @@
|
|||
android:layout_marginRight="@dimen/list_content_padding"
|
||||
android:layout_marginStart="@dimen/list_content_padding"
|
||||
android:layout_marginTop="42dp"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/primary_text_dark"
|
||||
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
|
||||
android:id="@+id/description"
|
||||
|
@ -65,7 +67,6 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/bottom_sheet_title_height"
|
||||
android:layout_gravity="center"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:gravity="center"
|
||||
android:textColor="?attr/color_dialog_buttons"
|
||||
android:textSize="@dimen/default_desc_text_size"
|
||||
|
|
Loading…
Reference in a new issue