235 lines
No EOL
9.9 KiB
XML
235 lines
No EOL
9.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout
|
|
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"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
android:id="@+id/app_bar"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
android:id="@+id/coordinate_input_toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dashboard_map_toolbar"
|
|
osmand:contentInsetLeft="4dp"
|
|
osmand:contentInsetStart="4dp"
|
|
osmand:contentInsetRight="0dp"
|
|
osmand:contentInsetEnd="0dp">
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
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:src="@drawable/ic_arrow_back"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_marginEnd="16dp"/>
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="match_parent"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/coordinates"
|
|
android:textColor="@color/color_white"
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
android:textSize="@dimen/dialog_header_text_size"/>
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp"
|
|
android:id="@+id/options_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_vertical"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:text="@string/shared_string_options"
|
|
osmand:typeface="@string/font_roboto_regular"
|
|
android:textAllCaps="true"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:textColor="@color/color_white"
|
|
android:background="?attr/selectableItemBackground"/>
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.Toolbar>
|
|
|
|
<View
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"/>
|
|
|
|
<LinearLayout
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<net.osmand.plus.widgets.OsmandTextFieldBoxes
|
|
android:theme="@style/OsmandTextFieldBoxes"
|
|
android:id="@+id/latitude_box"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
osmand:labelText="@string/navigate_point_latitude"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_marginEnd="16dp">
|
|
|
|
<studio.carbonylgroup.textfieldboxes.ExtendedEditText
|
|
android:textColor="@color/color_white"
|
|
android:textColorHint="@color/white_50_transparent"
|
|
android:inputType="numberSigned|numberDecimal"
|
|
android:imeOptions="actionNext"
|
|
android:id="@+id/latitude_edit_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
</net.osmand.plus.widgets.OsmandTextFieldBoxes>
|
|
|
|
<net.osmand.plus.widgets.OsmandTextFieldBoxes
|
|
android:theme="@style/OsmandTextFieldBoxes"
|
|
android:id="@+id/longitude_box"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
osmand:labelText="@string/navigate_point_longitude">
|
|
|
|
<studio.carbonylgroup.textfieldboxes.ExtendedEditText
|
|
android:textColor="@color/color_white"
|
|
android:textColorHint="@color/white_50_transparent"
|
|
android:inputType="numberSigned|numberDecimal"
|
|
android:imeOptions="actionNext"
|
|
android:id="@+id/longitude_edit_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
</net.osmand.plus.widgets.OsmandTextFieldBoxes>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:padding="16dp"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<net.osmand.plus.widgets.OsmandTextFieldBoxes
|
|
android:theme="@style/OsmandTextFieldBoxes"
|
|
android:id="@+id/name_box"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
osmand:labelText="@string/shared_string_name"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginRight="16dp">
|
|
|
|
<studio.carbonylgroup.textfieldboxes.ExtendedEditText
|
|
android:textColor="@color/color_white"
|
|
android:textColorHint="@color/white_50_transparent"
|
|
android:inputType="text"
|
|
android:imeOptions="actionDone"
|
|
android:hint="@string/access_hint_enter_name"
|
|
android:id="@+id/name_edit_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
</net.osmand.plus.widgets.OsmandTextFieldBoxes>
|
|
|
|
<View
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="match_parent"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
android:paddingTop="16dp"
|
|
android:paddingBottom="72dp"
|
|
android:id="@+id/markers_recycler_view"
|
|
android:clipToPadding="false"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/keyboard_layout"
|
|
android:layout_gravity="bottom"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<GridView
|
|
android:id="@+id/keyboard_grid_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:horizontalSpacing="1dp"
|
|
android:verticalSpacing="1dp"
|
|
android:stretchMode="columnWidth"
|
|
android:numColumns="4"/>
|
|
|
|
<View
|
|
android:id="@+id/keyboard_divider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?attr/keyboard_controls_divider"/>
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp">
|
|
|
|
<android.support.v7.widget.AppCompatTextView
|
|
android:maxLines="1"
|
|
android:ellipsize="end"
|
|
android:id="@+id/add_marker_button"
|
|
android:textAllCaps="true"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="3"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:textColor="@color/keyboard_item_button_text_color"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:text="@string/shared_string_add"/>
|
|
|
|
<View
|
|
android:layout_width="1dp"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/keyboard_controls_divider"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/show_hide_keyboard_icon"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="center"
|
|
tools:src="@drawable/ic_action_arrow_down"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout> |