115 lines
4.4 KiB
XML
115 lines
4.4 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"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
android:id="@+id/app_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
tools:background="@color/route_info_bottom_view_bg_dark">
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
android:id="@+id/coordinate_input_toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
osmand:contentInsetEnd="0dp"
|
|
osmand:contentInsetLeft="4dp"
|
|
osmand:contentInsetRight="0dp"
|
|
osmand:contentInsetStart="4dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical">
|
|
|
|
<ImageButton
|
|
android:id="@+id/back_button"
|
|
style="@style/Widget.AppCompat.ActionButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:src="@drawable/ic_arrow_back"/>
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:id="@+id/toolbar_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:ellipsize="end"
|
|
android:gravity="center_vertical"
|
|
android:maxLines="1"
|
|
android:text="@string/coordinates"
|
|
android:textSize="@dimen/dialog_header_text_size"
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
tools:textColor="@color/color_white"/>
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:id="@+id/options_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:ellipsize="end"
|
|
android:gravity="center_vertical"
|
|
android:maxLines="1"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp"
|
|
android:text="@string/shared_string_options"
|
|
android:textAllCaps="true"
|
|
android:textColor="@color/color_white"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
osmand:typeface="@string/font_roboto_medium"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.Toolbar>
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/hand_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:baselineAligned="false">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/left_container"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1">
|
|
|
|
<ImageView
|
|
android:id="@+id/left_shadow"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="end"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/bg_shadow_quick_input_left"/>
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/right_container"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1">
|
|
|
|
<ImageView
|
|
android:id="@+id/right_shadow"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="start"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/bg_shadow_quick_input_right"/>
|
|
|
|
</FrameLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|