OsmAnd/OsmAnd/res/layout/along_the_route_radius_poi.xml

124 lines
4 KiB
XML
Raw Normal View History

2018-11-28 18:29:35 +01:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-02-24 15:17:23 +01:00
android:minHeight="@dimen/wpt_list_item_height"
android:orientation="vertical">
2018-11-28 18:29:35 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/route_info_start_divider_margin"
android:layout_marginStart="@dimen/route_info_start_divider_margin"
android:orientation="vertical">
<View
android:id="@+id/top_divider"
android:layout_width="match_parent"
2019-11-01 14:03:36 +01:00
android:layout_height="1dp"
android:background="?attr/divider_color_basic" />
2018-11-28 18:29:35 +01:00
<LinearLayout
android:layout_width="match_parent"
2020-02-24 15:17:23 +01:00
android:layout_height="@dimen/wpt_list_item_height"
android:baselineAligned="false"
android:orientation="horizontal">
2018-11-28 18:29:35 +01:00
<LinearLayout
android:id="@+id/firstCellContainer"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="?attr/selectableItemBackground">
2018-11-28 18:29:35 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:orientation="vertical">
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="@string/search_radius_proximity"
2019-11-01 14:03:36 +01:00
android:textColor="?android:textColorSecondary"
android:textSize="@dimen/default_desc_text_size" />
<net.osmand.plus.widgets.TextViewEx
android:id="@+id/description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
2020-02-24 15:17:23 +01:00
android:layout_marginRight="@dimen/content_padding"
android:layout_marginTop="@dimen/subHeaderPadding"
android:textColor="@color/color_myloc_distance"
android:textSize="@dimen/default_desc_text_size"
osmand:typeface="@string/font_roboto_medium"
2020-02-24 15:17:23 +01:00
tools:text="500 m"
android:layout_marginEnd="@dimen/content_padding" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/secondCellContainer"
android:layout_width="0dp"
android:layout_height="match_parent"
2020-02-24 15:17:23 +01:00
android:layout_marginRight="@dimen/content_padding"
android:layout_weight="1"
2020-02-24 15:17:23 +01:00
android:background="?attr/selectableItemBackground"
android:layout_marginEnd="@dimen/content_padding">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:orientation="vertical">
<TextView
android:id="@+id/titleEx"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="@string/shared_string_type"
2019-11-01 14:03:36 +01:00
android:textColor="?android:textColorSecondary"
android:textSize="@dimen/default_desc_text_size" />
<net.osmand.plus.widgets.TextViewEx
android:id="@+id/descriptionEx"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
2020-02-24 15:17:23 +01:00
android:layout_marginTop="@dimen/subHeaderPadding"
android:textColor="@color/color_myloc_distance"
android:textSize="@dimen/default_desc_text_size"
osmand:typeface="@string/font_roboto_medium"
tools:text="Cinema" />
</LinearLayout>
</LinearLayout>
2018-11-28 18:29:35 +01:00
</LinearLayout>
<View
android:id="@+id/divider"
android:layout_width="match_parent"
2019-11-01 14:03:36 +01:00
android:layout_height="1dp"
android:background="?attr/divider_color_basic" />
2018-11-28 18:29:35 +01:00
</LinearLayout>
<View
android:id="@+id/bottom_divider"
android:layout_width="match_parent"
android:layout_height="1dp"
2020-02-24 15:17:23 +01:00
android:layout_marginTop="@dimen/content_padding_half"
2019-11-01 14:03:36 +01:00
android:background="?attr/divider_color_basic" />
2018-11-28 18:29:35 +01:00
</LinearLayout>