OsmAnd/OsmAnd/res/layout-land/fragment_plan_route_half_screen.xml

128 lines
5.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2017-10-05 18:04:48 +02:00
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
2017-10-05 18:04:48 +02:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
2017-10-05 18:04:48 +02:00
android:layout_width="@dimen/dashboard_land_width"
android:layout_height="match_parent"
2017-10-05 18:04:48 +02:00
android:background="@android:color/transparent"
android:orientation="vertical">
<LinearLayout
android:id="@+id/main_view"
2017-10-05 18:04:48 +02:00
android:layout_width="@dimen/dashboard_land_width"
android:layout_height="match_parent"
android:background="?attr/left_menu_view_bg"
android:orientation="vertical">
2020-03-04 15:12:06 +01:00
<androidx.appcompat.widget.Toolbar
2017-10-06 15:39:36 +02:00
android:id="@+id/plan_route_toolbar"
android:layout_width="match_parent"
2017-10-05 18:04:48 +02:00
android:layout_height="@dimen/dashboard_map_toolbar"
2017-10-06 15:39:36 +02:00
android:background="?attr/bg_color"
android:minHeight="@dimen/dashboard_map_toolbar"
2017-10-06 15:39:36 +02:00
app:contentInsetLeft="54dp"
app:contentInsetStart="54dp">
2017-10-06 15:39:36 +02:00
<LinearLayout
2017-10-05 18:04:48 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2017-10-06 15:39:36 +02:00
android:gravity="center_vertical"
android:orientation="horizontal">
<LinearLayout
2017-10-06 15:39:36 +02:00
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:orientation="vertical">
<LinearLayout
2017-10-06 15:39:36 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/markers_distance_text_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginEnd="@dimen/text_margin_small"
android:layout_marginRight="@dimen/text_margin_small"
2017-10-06 15:39:36 +02:00
android:ellipsize="end"
android:maxLines="1"
android:textAppearance="@style/TextAppearance.ListItemTitle"
tools:text="1.39 km,"/>
<TextView
2017-10-06 15:39:36 +02:00
android:id="@+id/markers_time_text_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:ellipsize="end"
android:maxLines="1"
android:textColor="?android:textColorSecondary"
2017-10-06 15:39:36 +02:00
android:textSize="@dimen/default_list_text_size"
tools:text="~ 45 min."/>
</LinearLayout>
2017-10-06 15:39:36 +02:00
<TextView
android:id="@+id/markers_count_text_view"
android:layout_width="wrap_content"
2017-10-06 15:39:36 +02:00
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:ellipsize="end"
android:maxLines="1"
2017-10-06 15:39:36 +02:00
android:textColor="?android:textColorSecondary"
android:textSize="@dimen/default_sub_text_size"
tools:text="3 markers"/>
</LinearLayout>
2017-10-06 15:39:36 +02:00
<net.osmand.plus.widgets.TextViewEx
android:id="@+id/options_button"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="?attr/selectableItemBackground"
android:ellipsize="end"
android:gravity="center_vertical"
android:maxLines="1"
android:paddingLeft="@dimen/list_content_padding"
android:paddingRight="@dimen/list_content_padding"
2017-10-06 15:39:36 +02:00
android:text="@string/shared_string_options"
android:textAllCaps="true"
android:textColor="?attr/color_dialog_buttons"
android:textSize="@dimen/default_list_text_size"
2020-02-24 15:17:23 +01:00
osmand:typeface="@string/font_roboto_medium"
android:paddingStart="@dimen/list_content_padding"
android:paddingEnd="@dimen/list_content_padding" />
2017-10-06 15:39:36 +02:00
</LinearLayout>
2020-03-04 15:12:06 +01:00
</androidx.appcompat.widget.Toolbar>
2017-10-05 18:04:48 +02:00
<ProgressBar
android:id="@+id/snap_to_road_progress_bar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="0dp"
android:visibility="gone"
tools:visibility="visible"/>
2017-10-05 18:04:48 +02:00
<FrameLayout
android:id="@+id/markers_list_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
2019-07-04 18:58:10 +02:00
android:background="@color/activity_background_color_dark">
2020-03-04 15:12:06 +01:00
<androidx.recyclerview.widget.RecyclerView
2017-10-05 18:04:48 +02:00
android:id="@+id/markers_recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
2017-10-05 18:04:48 +02:00
<include layout="@layout/card_bottom_divider"/>
</FrameLayout>
</LinearLayout>
2017-10-05 18:04:48 +02:00
</LinearLayout>