193 lines
No EOL
7.2 KiB
XML
193 lines
No EOL
7.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom">
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="152dp"
|
|
android:scaleType="center"/>
|
|
|
|
<ProgressBar
|
|
android:id="@+id/mapLoadProgress"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:indeterminate="true"
|
|
android:layout_gravity="center"
|
|
android:visibility="gone"/>
|
|
|
|
<LinearLayout android:id="@+id/topShadowView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_gravity="bottom">
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="16dp"/>
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/bg_shadow_list_top"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/track_settings_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:background="?attr/bg_color">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1.8"
|
|
android:minHeight="48dp"
|
|
android:paddingLeft="16dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:text="@string/shared_string_show_on_map"/>
|
|
|
|
<android.support.v7.widget.SwitchCompat
|
|
android:id="@+id/showOnMapToggle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="8dp"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:id="@+id/divider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:background="?attr/dashboard_divider"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/split_color_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/split_interval_view"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1.6"
|
|
android:minHeight="48dp"
|
|
android:paddingLeft="16dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/split_interval_title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:text="@string/gpx_split_interval"/>
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:id="@+id/split_interval_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="8dp"
|
|
android:paddingRight="8dp"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
tools:text="10 km"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/split_interval_arrow"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_action_arrow_drop_down"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/color_view"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:minHeight="48dp"
|
|
android:paddingRight="16dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/colorText"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="right"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:text="@string/shared_string_color"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/colorImage"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="16dp"
|
|
android:src="@drawable/ic_action_circle"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/bottom_divider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone">
|
|
|
|
<include layout="@layout/list_item_divider"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |