60a6b92d9a
Only layout files are touched and no new strings added.
181 lines
5.9 KiB
XML
181 lines
5.9 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"
|
|
android:background="?attr/expandable_list_item_background"
|
|
android:minHeight="@dimen/list_item_height"
|
|
android:orientation="vertical">
|
|
|
|
<View
|
|
android:id="@+id/divider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?attr/dashboard_divider"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<CheckBox
|
|
android:id="@+id/check_local_index"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/local_index_check_right_margin"
|
|
android:layout_marginTop="@dimen/favorites_icon_top_margin"
|
|
android:focusable="false"
|
|
android:visibility="gone"/>
|
|
|
|
<ImageView
|
|
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/favorites_icon_top_margin"
|
|
android:src="@drawable/ic_gpx_track"
|
|
android:visibility="gone"/>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginLeft="@dimen/subHeaderMarginLeft"
|
|
android:layout_marginRight="@dimen/showAllButtonMarginRight"
|
|
android:layout_weight="1"
|
|
android:gravity="center_vertical"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/name"
|
|
android:layout_marginTop="@dimen/gpx_text_top_margin"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
tools:text="@string/validate_gpx_upload_name_pwd"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/read_section"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:visibility="visible">
|
|
|
|
<ImageView
|
|
android:id="@+id/points_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginRight="@dimen/gpx_small_icon_margin"
|
|
android:src="@drawable/ic_small_point"/>
|
|
|
|
<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"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/distance_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginRight="@dimen/gpx_small_icon_margin"
|
|
android:src="@drawable/ic_small_distance"/>
|
|
|
|
<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"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/time_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginRight="@dimen/gpx_small_icon_margin"
|
|
android:src="@drawable/ic_small_time"/>
|
|
|
|
<TextView
|
|
android:id="@+id/time"
|
|
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"/>
|
|
</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>
|
|
|
|
|
|
<ImageButton
|
|
android:id="@+id/show_on_map"
|
|
android:layout_width="@dimen/list_item_height"
|
|
android:layout_height="@dimen/list_item_height"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginLeft="@dimen/favorites_icon_right_margin"
|
|
android:background="?attr/dashboard_button"
|
|
android:src="@drawable/ic_action_gsave_dark"
|
|
android:visibility="gone"
|
|
tools:visibility="visible"/>
|
|
|
|
<ImageButton
|
|
android:id="@+id/stop"
|
|
android:layout_width="@dimen/list_item_height"
|
|
android:layout_height="@dimen/list_item_height"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?attr/dashboard_button"
|
|
android:src="@drawable/ic_action_rec_stop"
|
|
android:visibility="gone"
|
|
tools:visibility="visible"/>
|
|
|
|
<ImageButton
|
|
android:id="@+id/options"
|
|
android:contentDescription="@string/shared_string_more_actions"
|
|
android:layout_width="@dimen/list_item_height"
|
|
android:layout_height="@dimen/list_item_height"
|
|
android:background="?attr/dashboard_button"
|
|
android:focusable="false"
|
|
android:src="@drawable/ic_overflow_menu_white"
|
|
android:visibility="gone"/>
|
|
|
|
<include android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="top"
|
|
layout="@layout/check_item_rel"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|