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"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:descendantFocusability="blocksDescendants">
|
|
|
|
|
2017-09-21 07:41:43 +02:00
|
|
|
<include layout="@layout/list_item_divider"/>
|
2017-09-07 17:17:08 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2017-10-19 10:41:55 +02:00
|
|
|
android:layout_height="@dimen/bottom_sheet_list_item_height"
|
2017-09-07 17:17:08 +02:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:background="?attr/bg_color">
|
|
|
|
|
2017-09-19 17:40:53 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/icon"
|
|
|
|
android:scaleType="centerInside"
|
2017-10-19 10:41:55 +02:00
|
|
|
android:layout_width="@dimen/map_button_shadow_width"
|
|
|
|
android:layout_height="match_parent"
|
2017-09-19 17:40:53 +02:00
|
|
|
tools:src="@drawable/ic_action_fav_dark"
|
|
|
|
tools:visibility="visible"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/icon_space"
|
2017-10-19 10:41:55 +02:00
|
|
|
android:layout_width="@dimen/content_padding"
|
2017-09-19 17:40:53 +02:00
|
|
|
android:layout_height="match_parent"/>
|
|
|
|
|
2017-09-07 17:17:08 +02:00
|
|
|
<android.support.v7.widget.AppCompatTextView
|
2017-09-19 17:40:53 +02:00
|
|
|
android:id="@+id/title"
|
2017-09-07 17:17:08 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
2017-09-13 17:16:24 +02:00
|
|
|
android:layout_height="match_parent"
|
2017-09-07 17:17:08 +02:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
tools:text="Today"/>
|
|
|
|
|
2017-09-21 08:10:38 +02:00
|
|
|
<android.support.v7.widget.SwitchCompat
|
|
|
|
android:id="@+id/disable_group_switch"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2017-10-19 10:41:55 +02:00
|
|
|
android:layout_marginLeft="@dimen/bottom_sheet_content_margin"
|
|
|
|
android:layout_marginRight="@dimen/bottom_sheet_content_margin"
|
2017-09-21 08:10:38 +02:00
|
|
|
android:focusableInTouchMode="true"/>
|
2017-09-07 17:17:08 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-11-13 09:54:52 +01:00
|
|
|
<include
|
|
|
|
android:id="@+id/bottom_shadow"
|
|
|
|
layout="@layout/card_bottom_divider"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible"/>
|
|
|
|
|
2017-09-07 17:17:08 +02:00
|
|
|
</LinearLayout>
|