130 lines
No EOL
6 KiB
XML
130 lines
No EOL
6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout
|
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:background="?attr/bottom_menu_view_bg"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:clickable="true"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="@dimen/context_menu_action_buttons_height"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/titleIconImageView"
|
|
android:layout_width="@dimen/context_menu_action_buttons_height"
|
|
android:layout_height="@dimen/context_menu_action_buttons_height"
|
|
android:scaleType="center"
|
|
tools:background="@color/color_warning"
|
|
tools:src="@drawable/ic_map"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/titleTextView"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_marginTop="@dimen/content_padding"
|
|
android:layout_marginLeft="@dimen/content_padding_half"
|
|
android:paddingRight="@dimen/content_padding_half"
|
|
android:text="@string/index_item_world_basemap"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/dialog_header_text_size"
|
|
android:layout_marginStart="@dimen/content_padding_half"
|
|
android:paddingEnd="@dimen/content_padding_half" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/closeImageButton"
|
|
android:contentDescription="@string/shared_string_close"
|
|
android:layout_width="@dimen/bottom_sheet_list_item_height"
|
|
android:layout_height="@dimen/bottom_sheet_list_item_height"
|
|
android:layout_gravity="center"
|
|
style="@style/Widget.AppCompat.Button.Borderless"
|
|
tools:background="@color/color_warning"
|
|
osmand:srcCompat="@drawable/ic_action_remove_dark"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/descriptionTextView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/content_padding"
|
|
android:layout_marginLeft="@dimen/content_padding_half"
|
|
android:paddingRight="@dimen/content_padding_half"
|
|
android:text="@string/world_map_download_descr"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:paddingEnd="@dimen/content_padding_half"
|
|
android:layout_marginStart="@dimen/content_padding_half" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/context_menu_padding_margin_medium"
|
|
android:layout_marginBottom="@dimen/context_menu_padding_margin_medium"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/actionButtonOk"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="@dimen/content_padding_half"
|
|
android:paddingRight="@dimen/content_padding_half"
|
|
style="@style/Widget.AppCompat.Button.Borderless"
|
|
android:textColor="?attr/contextMenuButtonColor"
|
|
tools:background="@color/color_warning"
|
|
android:text="@string/shared_string_download"
|
|
android:paddingStart="@dimen/content_padding_half"
|
|
android:paddingEnd="@dimen/content_padding_half" />
|
|
|
|
<Button
|
|
android:id="@+id/actionButtonCancel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/context_menu_padding_margin_medium"
|
|
android:paddingLeft="@dimen/content_padding_half"
|
|
android:paddingRight="@dimen/content_padding_half"
|
|
style="@style/Widget.AppCompat.Button.Borderless"
|
|
tools:background="@color/color_warning"
|
|
android:text="@string/later"
|
|
android:paddingEnd="@dimen/content_padding_half"
|
|
android:layout_marginStart="@dimen/context_menu_padding_margin_medium"
|
|
android:paddingStart="@dimen/content_padding_half" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout> |