blob: 2d22c3266e7b4bea3494b8156c24af956607e934 (
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<se.emilsjolander.stickylistheaders.StickyListHeadersListView
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:drawSelectorOnTop="true"
android:padding="16dp"
android:scrollbarStyle="outsideOverlay"
android:fastScrollEnabled="true"/>
<TextView
android:id="@+id/empty"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="@string/empty"
android:textSize="30sp"
android:visibility="gone"/>
</FrameLayout>
<ScrollView
android:id="@+id/left_drawer"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:padding="5dp"
android:scrollbars="none"
android:clickable="true"
android:background="@android:color/white">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<se.emilsjolander.stickylistheaders.views.UnderlineTextView
style="@style/MenuSectionHeader"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="start|left"
android:text="@string/actions"
android:textStyle="bold"/>
<Button
android:layout_width="match_parent"
android:layout_height="48dp"
android:gravity="left|center_vertical"
android:text="@string/restore_list"
android:id="@+id/restore_button"/>
<Button
android:layout_width="match_parent"
android:layout_height="48dp"
android:gravity="left|center_vertical"
android:text="@string/update_list"
android:id="@+id/update_button"/>
<Button
android:layout_width="match_parent"
android:layout_height="48dp"
android:gravity="left|center_vertical"
android:id="@+id/clear_button"
android:text="@string/clear_list"/>
<se.emilsjolander.stickylistheaders.views.UnderlineTextView
style="@style/MenuSectionHeader"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="start|left"
android:text="@string/options"
android:textStyle="bold"/>
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/sticky_header"
android:id="@+id/sticky_checkBox"
android:checked="true"/>
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/fade_header"
android:id="@+id/fade_checkBox"
android:checked="true"/>
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/draw_behind_header"
android:id="@+id/draw_behind_checkBox"
android:checked="true"/>
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/fast_scroll"
android:id="@+id/fast_scroll_checkBox"
android:checked="true"/>
</LinearLayout>
</ScrollView>
</android.support.v4.widget.DrawerLayout>
|