OsmAnd/OsmAnd/res/layout/add_gpx_point_bottom_sheet.xml

68 lines
2.4 KiB
XML
Raw Normal View History

2017-08-01 16:21:51 +02:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
2017-08-04 10:06:54 +02:00
android:id="@+id/add_gpx_point_bottom_sheet"
2017-08-01 16:21:51 +02:00
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">
<ImageView
android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
android:src="@drawable/ic_action_photo_dark"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
2017-08-04 10:06:54 +02:00
android:id="@+id/add_gpx_point_bottom_sheet_title"
2017-08-01 16:21:51 +02:00
style="@style/TextAppearance.ContextMenuTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:layout_marginTop="16dp"
2017-08-04 10:06:54 +02:00
tools:text="@string/waypoint_one"/>
2017-08-01 16:21:51 +02:00
<TextView
android:id="@+id/description"
style="@style/TextAppearance.ContextMenuSubtitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:layout_marginTop="8dp"
tools:text="Lat: 50.45375\nLon: 30.48693"/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:layout_marginLeft="12dp"
android:layout_marginRight="12dp">
<Button
android:id="@+id/create_button"
style="@style/DialogActionButton"
android:layout_marginRight="8dp"
2017-08-04 10:06:54 +02:00
android:text="@string/shared_string_add"/>
2017-08-01 16:21:51 +02:00
<Button
android:id="@+id/cancel_button"
style="@style/DialogCancelButton"
android:text="@string/shared_string_cancel"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>