70 lines
No EOL
3 KiB
XML
70 lines
No EOL
3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/move_marker_bottom_sheet"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:background="?attr/bottom_menu_view_bg"
|
|
android:clickable="true"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="@dimen/content_padding"
|
|
osmand:srcCompat="@drawable/ic_action_photo_dark" />
|
|
|
|
<LinearLayout
|
|
android:layout_weight="1"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
style="@style/TextAppearance.ContextMenuTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/content_padding"
|
|
android:layout_marginRight="@dimen/content_padding"
|
|
android:layout_marginTop="@dimen/content_padding"
|
|
android:text="@string/move_marker_bottom_sheet_title"
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
android:layout_marginEnd="@dimen/content_padding" />
|
|
|
|
<TextView
|
|
android:id="@+id/description"
|
|
style="@style/TextAppearance.ContextMenuSubtitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="@dimen/content_padding_half"
|
|
android:layout_marginLeft="@dimen/content_padding"
|
|
android:layout_marginRight="@dimen/content_padding"
|
|
android:layout_marginTop="@dimen/content_padding_half"
|
|
tools:text="Lat: 50.45375 Lon: 30.48693"
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
android:layout_marginEnd="@dimen/content_padding" />
|
|
|
|
</LinearLayout>
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/apply_button"
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/shared_string_apply" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/cancel_button"
|
|
style="@style/Widget.AppCompat.Button.Borderless.Colored"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="@dimen/content_padding"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/shared_string_cancel"
|
|
android:layout_marginEnd="@dimen/content_padding" />
|
|
</LinearLayout> |