100 lines
4 KiB
XML
100 lines
4 KiB
XML
<?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"
|
|
android:descendantFocusability="blocksDescendants"
|
|
android:orientation="vertical">
|
|
|
|
<View
|
|
android:id="@+id/top_divider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?attr/dashboard_divider"
|
|
android:visibility="visible"
|
|
tools:visibility="visible" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/main_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/bg_color"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/map_button_shadow_width">
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:id="@+id/title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/context_menu_controller_height"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginBottom="@dimen/context_menu_padding_margin_tiny"
|
|
android:layout_marginLeft="@dimen/bottom_sheet_content_padding_small"
|
|
android:layout_marginStart="@dimen/bottom_sheet_content_padding_small"
|
|
android:layout_marginTop="@dimen/context_menu_padding_margin_tiny"
|
|
android:layout_weight="2"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:ellipsize="end"
|
|
android:gravity="center_vertical"
|
|
android:letterSpacing="@dimen/text_button_letter_spacing"
|
|
android:maxLines="1"
|
|
android:paddingEnd="@dimen/list_content_padding"
|
|
android:paddingLeft="@dimen/bottom_sheet_content_padding_small"
|
|
android:paddingRight="@dimen/bottom_sheet_content_padding_small"
|
|
android:paddingStart="@dimen/list_content_padding"
|
|
android:textColor="?attr/wikivoyage_active_color"
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
tools:ignore="UnusedAttribute"
|
|
tools:text="Van Gogh Museum" />
|
|
|
|
<View
|
|
android:layout_width="1dp"
|
|
android:layout_height="@dimen/standard_icon_size"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?attr/dashboard_divider" />
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:id="@+id/categories_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginBottom="@dimen/context_menu_padding_margin_tiny"
|
|
android:layout_marginEnd="@dimen/bottom_sheet_content_padding_small"
|
|
android:layout_marginLeft="@dimen/bottom_sheet_content_padding_small"
|
|
android:layout_marginRight="@dimen/bottom_sheet_content_padding_small"
|
|
android:layout_marginStart="@dimen/bottom_sheet_content_padding_small"
|
|
android:layout_marginTop="@dimen/context_menu_padding_margin_tiny"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:drawablePadding="@dimen/bottom_sheet_content_padding_small"
|
|
android:ellipsize="end"
|
|
android:gravity="center_vertical"
|
|
android:letterSpacing="@dimen/text_button_letter_spacing"
|
|
android:maxLines="1"
|
|
android:paddingBottom="@dimen/context_menu_padding_margin_tiny"
|
|
android:paddingLeft="@dimen/bottom_sheet_content_padding_small"
|
|
android:paddingRight="@dimen/bottom_sheet_content_padding_small"
|
|
android:paddingTop="@dimen/context_menu_padding_margin_tiny"
|
|
android:text="@string/search_categories"
|
|
android:textColor="?attr/wikivoyage_active_color"
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
tools:drawableRight="@drawable/ic_action_filter"
|
|
tools:ignore="UnusedAttribute" />
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:id="@+id/divider"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="1dp"
|
|
android:layout_marginLeft="@dimen/content_padding"
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
android:background="?attr/dashboard_divider" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|