68 lines
No EOL
2.7 KiB
XML
68 lines
No EOL
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/bg_color"
|
|
android:padding="@dimen/content_padding"
|
|
android:text="@string/quick_action_start_stop_navigation_descr"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size"/>
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="top"
|
|
android:scaleType="fitXY"
|
|
osmand:srcCompat="@drawable/bg_shadow_list_bottom"/>
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="top"
|
|
android:layout_marginTop="@dimen/content_padding"
|
|
android:scaleType="fitXY"
|
|
osmand:srcCompat="@drawable/bg_shadow_list_top"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/show_dialog_row"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:background="?attr/bg_color"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:padding="@dimen/content_padding"
|
|
android:text="@string/quick_action_show_navigation_finish_dialog"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size"/>
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/show_dialog_switch"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginLeft="@dimen/content_padding"
|
|
android:layout_marginRight="@dimen/content_padding"
|
|
android:layout_marginEnd="@dimen/content_padding"
|
|
android:layout_marginStart="@dimen/content_padding" />
|
|
</LinearLayout>
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="top"
|
|
android:scaleType="fitXY"
|
|
osmand:srcCompat="@drawable/bg_shadow_list_bottom"/>
|
|
|
|
</LinearLayout> |