2017-09-07 17:17:08 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-04-18 17:50:52 +02:00
|
|
|
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">
|
|
|
|
|
|
|
|
<include layout="@layout/list_item_divider" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/bottom_sheet_list_item_height"
|
|
|
|
android:background="?attr/bg_color"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/icon"
|
|
|
|
android:layout_width="@dimen/map_button_shadow_width"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:scaleType="centerInside"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:src="@drawable/ic_action_fav_dark"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/icon_space"
|
|
|
|
android:layout_width="@dimen/content_padding"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatTextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
tools:text="Today" />
|
|
|
|
|
|
|
|
<android.support.v7.widget.SwitchCompat
|
|
|
|
android:id="@+id/disable_group_switch"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginLeft="@dimen/bottom_sheet_content_margin"
|
|
|
|
android:layout_marginRight="@dimen/bottom_sheet_content_margin"
|
|
|
|
android:focusableInTouchMode="true" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/article_description"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="?attr/bg_color"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/content"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="@dimen/content_padding"
|
|
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
|
|
android:layout_marginRight="@dimen/content_padding"
|
|
|
|
android:layout_marginEnd="@dimen/content_padding"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="3"
|
|
|
|
android:textAppearance="@style/TextAppearance.ContextMenuSubtitle"
|
|
|
|
tools:text="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard." />
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:id="@+id/text_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
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: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:textColor="?attr/wikivoyage_active_color"
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
|
|
tools:ignore="UnusedAttribute"
|
|
|
|
tools:text="Read" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<include
|
|
|
|
android:id="@+id/bottom_shadow"
|
|
|
|
layout="@layout/card_bottom_divider"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible" />
|
2017-11-13 09:54:52 +01:00
|
|
|
|
2017-09-07 17:17:08 +02:00
|
|
|
</LinearLayout>
|