208 lines
No EOL
9.4 KiB
XML
208 lines
No EOL
9.4 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"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
|
android:minHeight="@dimen/list_item_height"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:background="?attr/bg_color">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/current_track_info"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:paddingBottom="@dimen/content_padding_half"
|
|
android:orientation="horizontal">
|
|
|
|
<androidx.appcompat.widget.AppCompatCheckBox
|
|
android:id="@+id/check_local_index"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/list_content_padding"
|
|
android:layout_marginTop="@dimen/content_padding_small"
|
|
android:focusable="false"
|
|
android:visibility="gone"
|
|
android:layout_marginStart="@dimen/list_content_padding" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/list_content_padding"
|
|
android:layout_marginTop="@dimen/content_padding_small"
|
|
osmand:srcCompat="@drawable/monitoring_rec_big"
|
|
android:visibility="visible"
|
|
android:layout_marginStart="@dimen/list_content_padding" />
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="@dimen/content_padding_small"
|
|
android:layout_marginLeft="@dimen/subHeaderMarginLeft"
|
|
android:layout_marginRight="@dimen/showAllButtonMarginRight"
|
|
android:gravity="center_vertical"
|
|
android:orientation="vertical"
|
|
android:layout_marginEnd="@dimen/showAllButtonMarginRight"
|
|
android:layout_marginStart="@dimen/subHeaderMarginLeft">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:text="@string/current_track"/>
|
|
|
|
<TextView
|
|
android:id="@+id/segment_time_div"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:text=" • "/>
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:id="@+id/segment_time"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
tools:text="0:05:34"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/read_section"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:visibility="visible"
|
|
android:gravity="center_vertical">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/distance_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="@dimen/gpx_small_icon_margin"
|
|
osmand:srcCompat="@drawable/ic_action_distance_16"
|
|
android:layout_marginEnd="@dimen/gpx_small_icon_margin" />
|
|
|
|
<TextView
|
|
android:id="@+id/distance"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="@dimen/gpx_small_text_margin"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:textSize="@dimen/default_sub_text_size"
|
|
android:layout_marginEnd="@dimen/gpx_small_text_margin" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/points_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="@dimen/gpx_small_icon_margin"
|
|
osmand:srcCompat="@drawable/ic_action_waypoint_16"
|
|
android:layout_marginEnd="@dimen/gpx_small_icon_margin" />
|
|
|
|
<TextView
|
|
android:id="@+id/points_count"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="@dimen/gpx_small_text_margin"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:textSize="@dimen/default_sub_text_size"
|
|
android:layout_marginEnd="@dimen/gpx_small_text_margin" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/unknown_section"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:id="@+id/date_and_size_details"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:textSize="@dimen/default_sub_text_size"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/description"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/default_sub_text_size"
|
|
android:visibility="gone"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:id="@+id/divider_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginLeft="@dimen/route_info_list_text_padding"
|
|
android:background="?attr/dashboard_divider"
|
|
android:layout_marginStart="@dimen/route_info_list_text_padding" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<Button
|
|
android:id="@+id/action_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="40dp"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="10dp"
|
|
android:textColor="?attr/color_dialog_buttons"
|
|
android:background="?attr/selectableItemBackground"
|
|
osmand:drawableLeftCompat="@drawable/ic_action_rec_stop"
|
|
osmand:drawableStartCompat="@drawable/ic_action_rec_stop"
|
|
android:text="@string/shared_string_control_stop"
|
|
android:paddingStart="10dp"
|
|
android:layout_marginStart="40dp"
|
|
android:paddingEnd="10dp" />
|
|
|
|
<Button
|
|
android:id="@+id/save_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="10dp"
|
|
osmand:drawableLeftCompat="@drawable/ic_action_gsave_dark"
|
|
osmand:drawableStartCompat="@drawable/ic_action_gsave_dark"
|
|
android:textColor="?attr/color_dialog_buttons"
|
|
android:text="@string/shared_string_save"
|
|
android:visibility="gone"
|
|
tools:visibility="visible"
|
|
android:paddingEnd="10dp"
|
|
android:paddingStart="10dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |