blob: 7f029faa2f02f7fb08713429f37f5aa9be0bd96e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
app:layout_behavior="android.support.design.widget.BottomSheetBehavior"
android:background="?attr/cardBackground"
android:paddingTop="@dimen/margin_quarter"
android:paddingBottom="@dimen/margin_quarter"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/сlose_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minHeight="@dimen/menu_list_item_height"
android:src="@drawable/ic_drop_down"
android:tint="@color/icon_tint"
android:paddingLeft="@dimen/margin_base"
android:paddingStart="@dimen/margin_base"
android:paddingRight="@dimen/margin_base"
android:paddingEnd="@dimen/margin_base"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintRight_toRightOf="parent"
android:background="?attr/selectableItemBackgroundBorderless"/>
<TextView
android:id="@+id/layers_text"
android:minHeight="@dimen/menu_list_item_height"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:paddingLeft="@dimen/margin_base"
android:paddingStart="@dimen/margin_base"
android:paddingRight="@dimen/margin_base"
android:paddingEnd="@dimen/margin_base"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintRight_toLeftOf="@id/сlose_btn"
android:visibility="visible"
android:text="@string/layers_title"
android:textAppearance="@style/MwmTextAppearance.Body2"/>
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:minHeight="@dimen/toggle_map_layer_frame_height"
android:paddingLeft="@dimen/margin_base"
android:paddingStart="@dimen/margin_base"
android:paddingRight="@dimen/margin_base"
android:paddingEnd="@dimen/margin_base"
app:layout_constraintTop_toBottomOf="@id/layers_text">
</android.support.v7.widget.RecyclerView>
<View
app:layout_constraintBottom_toTopOf="@id/recycler"
android:background="?android:attr/listDivider"
android:layout_width="match_parent"
android:layout_height="@dimen/divider_height"/>
</android.support.constraint.ConstraintLayout>
|