175 lines
8.1 KiB
XML
175 lines
8.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
|
android:background="?attr/expandable_list_item_background"
|
|
android:paddingLeft="@dimen/list_content_padding"
|
|
android:paddingRight="@dimen/list_content_padding"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:paddingEnd="@dimen/list_content_padding"
|
|
android:paddingStart="@dimen/list_content_padding">
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:gravity="center_horizontal">
|
|
|
|
<net.osmand.view.ExpandableLinearLayout
|
|
custom:maxVisibleWidth="800dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/TextView"
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:layout_marginTop="4dp"
|
|
android:layout_marginBottom="4dp"
|
|
android:text="@string/navigate_point_top_text"></TextView>
|
|
|
|
<TableLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:stretchColumns="1">
|
|
|
|
<TableRow android:layout_width="fill_parent" android:id="@+id/lat_row">
|
|
|
|
<TextView
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:text="@string/navigate_point_latitude"
|
|
android:layout_marginStart="5dp"></TextView>
|
|
|
|
<EditText
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/LatitudeEdit"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginRight="5dp"
|
|
android:inputType="numberSigned|numberDecimal|time"
|
|
android:layout_marginStart="5dp"
|
|
android:layout_marginEnd="5dp"></EditText>
|
|
</TableRow>
|
|
|
|
<TableRow android:layout_width="fill_parent" android:id="@+id/lon_row">
|
|
|
|
<TextView
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:text="@string/navigate_point_longitude"
|
|
android:layout_marginStart="5dp"></TextView>
|
|
|
|
<EditText
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/LongitudeEdit"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginRight="5dp"
|
|
android:inputType="numberSigned|numberDecimal|time"
|
|
android:layout_marginEnd="5dp"
|
|
android:layout_marginStart="5dp"></EditText>
|
|
</TableRow>
|
|
<TableRow android:layout_width="fill_parent" android:id="@+id/northing_row">
|
|
|
|
<TextView
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:text="@string/navigate_point_northing"
|
|
android:layout_marginStart="5dp"></TextView>
|
|
|
|
<EditText
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/NorthingEdit"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginRight="5dp"
|
|
android:inputType="numberSigned|numberDecimal|time"
|
|
android:layout_marginEnd="5dp"
|
|
android:layout_marginStart="5dp"></EditText>
|
|
</TableRow>
|
|
|
|
<TableRow android:layout_width="fill_parent" android:id="@+id/easting_row">
|
|
|
|
<TextView
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:text="@string/navigate_point_easting"
|
|
android:layout_marginStart="5dp"></TextView>
|
|
|
|
<EditText
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/EastingEdit"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginRight="5dp"
|
|
android:inputType="numberSigned|numberDecimal|time"
|
|
android:layout_marginEnd="5dp"
|
|
android:layout_marginStart="5dp"></EditText>
|
|
</TableRow>
|
|
|
|
<TableRow android:layout_width="fill_parent" android:id="@+id/zone_row">
|
|
|
|
<TextView
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:text="@string/navigate_point_zone"
|
|
android:layout_marginStart="5dp"></TextView>
|
|
|
|
<EditText
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/ZoneEdit"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginRight="5dp"
|
|
android:layout_marginStart="5dp"
|
|
android:layout_marginEnd="5dp"></EditText>
|
|
</TableRow>
|
|
|
|
<TableRow android:layout_width="fill_parent" >
|
|
|
|
<TextView
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:text="@string/navigate_point_format"
|
|
android:layout_marginStart="5dp"></TextView>
|
|
|
|
<Spinner
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/Format"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginRight="5dp"
|
|
android:layout_marginStart="5dp"
|
|
android:layout_marginEnd="5dp"></Spinner>
|
|
</TableRow>
|
|
|
|
<TextView
|
|
android:id="@+id/ValidateTextView"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:visibility="gone"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text=""
|
|
android:gravity="center"
|
|
android:textColor="@color/color_invalid"></TextView>
|
|
</TableLayout>
|
|
|
|
</net.osmand.view.ExpandableLinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|