OsmAnd/OsmAnd/res/layout/wikivoyage_contents_list_item.xml

54 lines
2.2 KiB
XML
Raw Normal View History

2018-04-06 18:06:04 +02:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-04-11 17:49:07 +02:00
xmlns:osmand="http://schemas.android.com/apk/res-auto"
2018-04-06 18:06:04 +02:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
2018-04-11 17:49:07 +02:00
android:layout_height="wrap_content"
2018-04-06 18:06:04 +02:00
android:background="?attr/expandable_list_item_background"
android:orientation="vertical">
2018-04-11 17:49:07 +02:00
<View
android:id="@+id/upper_row_divider"
2018-04-06 18:06:04 +02:00
android:layout_width="wrap_content"
2018-04-11 17:49:07 +02:00
android:layout_height="1dp"
android:layout_marginBottom="@dimen/bottom_sheet_divider_margin_bottom"
android:background="?attr/wikivoyage_card_divider_color" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<net.osmand.plus.widgets.TextViewEx
android:id="@+id/item_label"
android:layout_width="0dp"
android:layout_height="@dimen/bottom_sheet_list_item_height"
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/bottom_sheet_content_margin"
android:layout_marginStart="@dimen/bottom_sheet_content_margin"
android:layout_weight="1"
android:drawablePadding="@dimen/bottom_sheet_content_margin"
android:gravity="start|center_vertical"
android:textSize="@dimen/default_list_text_size"
osmand:typeface="@string/font_roboto_medium"
tools:drawableStart="@drawable/ic_action_list_header"
tools:text="@string/shared_string_contents" />
<ImageView
android:id="@+id/explist_indicator"
android:layout_width="24dp"
android:layout_height="match_parent"
android:layout_gravity="end"
android:layout_marginRight="@dimen/list_content_padding"
android:scaleType="center" />
</LinearLayout>
<View
android:id="@+id/bottom_row_divider"
android:layout_width="wrap_content"
android:layout_height="1dp"
android:layout_marginTop="@dimen/bottom_sheet_divider_margin_top"
android:background="?attr/wikivoyage_card_divider_color" />
2018-04-06 18:06:04 +02:00
</LinearLayout>