Merge pull request #5306 from osmandapp/WikivoyageImprovement

added image to show images dialog
This commit is contained in:
Alexander Sytnyk 2018-04-30 13:32:27 +03:00 committed by GitHub
commit af26a2572b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,15 +7,16 @@
android:background="?attr/bottom_menu_view_bg"
android:orientation="vertical">
<LinearLayout
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
android:layout_marginTop="@dimen/list_content_padding"
android:paddingEnd="@dimen/list_content_padding"
android:paddingLeft="@dimen/list_content_padding"
android:paddingRight="@dimen/list_content_padding"
android:paddingStart="@dimen/list_content_padding"
android:src="@drawable/img_help_wikivoyage_show_image"
android:contentDescription="@string/wikivoyage_download_pics" />
<TextView
android:id="@+id/title"
@ -26,20 +27,17 @@
android:layout_marginLeft="@dimen/list_content_padding"
android:layout_marginRight="@dimen/list_content_padding"
android:layout_marginStart="@dimen/list_content_padding"
android:layout_marginTop="@dimen/bottom_sheet_icon_margin"
android:layout_marginTop="@dimen/list_content_padding"
android:textSize="@dimen/empty_state_text_size"
android:textColor="?attr/wikivoyage_primary_text_color"
android:text="@string/wikivoyage_download_pics" />
</LinearLayout>
<TextView
android:id="@+id/description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="fill_horizontal"
android:layout_marginBottom="@dimen/dialog_content_margin"
android:layout_marginTop="@dimen/list_header_padding"
android:paddingLeft="@dimen/list_content_padding"
android:paddingStart="@dimen/list_content_padding"
android:paddingRight="@dimen/list_content_padding"
@ -137,5 +135,3 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>