1
+ <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
2
+ xmlns : tools =" http://schemas.android.com/tools"
3
+ xmlns : app =" http://schemas.android.com/apk/res-auto"
4
+ android : layout_width =" match_parent"
5
+ android : layout_height =" match_parent"
6
+ android : background =" #aebec5"
7
+ tools : context =" .MainActivity"
8
+ >
9
+
10
+ <com .fenjuly.mylibrary.ToggleExpandLayout
11
+ android : id =" @+id/toogleLayout"
12
+ android : layout_marginTop =" 15dp"
13
+ android : layout_marginLeft =" 15dp"
14
+ android : layout_width =" match_parent"
15
+ android : layout_height =" match_parent"
16
+ >
17
+
18
+ <LinearLayout
19
+ android : id =" @+id/id2"
20
+ android : layout_width =" 300dp"
21
+ android : layout_height =" 80dp"
22
+ android : background =" #ffffff"
23
+ android : elevation =" 2dp"
24
+ android : outlineProvider =" bounds"
25
+ >
26
+ <RelativeLayout
27
+ android : layout_width =" match_parent"
28
+ android : layout_height =" match_parent"
29
+ >
30
+ <TextView
31
+ android : id =" @+id/first_menu"
32
+ android : layout_width =" wrap_content"
33
+ android : layout_height =" wrap_content"
34
+ android : layout_marginTop =" 8dp"
35
+ android : layout_marginLeft =" 8dp"
36
+ android : text =" Set date"
37
+ />
38
+ <TextView
39
+ android : layout_below =" @+id/first_menu"
40
+ android : layout_marginTop =" 4dp"
41
+ android : layout_marginLeft =" 8dp"
42
+ android : layout_width =" wrap_content"
43
+ android : layout_height =" wrap_content"
44
+ android : text =" 23 August 2015"
45
+ android : textColor =" #cccccc" />
46
+ </RelativeLayout >
47
+
48
+ </LinearLayout >
49
+
50
+ <LinearLayout
51
+ android : id =" @+id/id3"
52
+ android : layout_width =" 300dp"
53
+ android : layout_height =" 80dp"
54
+ android : background =" #ffffff"
55
+ android : elevation =" 3dp"
56
+ android : outlineProvider =" bounds"
57
+ >
58
+ <RelativeLayout
59
+ android : layout_width =" match_parent"
60
+ android : layout_height =" match_parent"
61
+ >
62
+ <TextView
63
+ android : id =" @+id/second_menu"
64
+ android : layout_width =" wrap_content"
65
+ android : layout_height =" wrap_content"
66
+ android : layout_marginTop =" 8dp"
67
+ android : layout_marginLeft =" 8dp"
68
+ android : text =" Set time"
69
+ />
70
+ <TextView
71
+ android : layout_below =" @+id/second_menu"
72
+ android : layout_marginTop =" 4dp"
73
+ android : layout_marginLeft =" 8dp"
74
+ android : layout_width =" wrap_content"
75
+ android : layout_height =" wrap_content"
76
+ android : text =" 15:47"
77
+ android : textColor =" #cccccc" />
78
+ </RelativeLayout >
79
+
80
+ </LinearLayout >
81
+
82
+ <LinearLayout
83
+ android : id =" @+id/id4"
84
+ android : layout_width =" 300dp"
85
+ android : layout_height =" 80dp"
86
+ android : background =" #ffffff"
87
+ android : elevation =" 4dp"
88
+ android : outlineProvider =" bounds"
89
+ >
90
+ <RelativeLayout
91
+ android : layout_width =" match_parent"
92
+ android : layout_height =" match_parent"
93
+ >
94
+ <TextView
95
+ android : id =" @+id/menu"
96
+ android : layout_width =" wrap_content"
97
+ android : layout_height =" wrap_content"
98
+ android : layout_marginTop =" 8dp"
99
+ android : layout_marginLeft =" 8dp"
100
+ android : text =" Automatic date and time"
101
+ />
102
+ <TextView
103
+ android : layout_below =" @+id/menu"
104
+ android : layout_marginTop =" 4dp"
105
+ android : layout_marginLeft =" 8dp"
106
+ android : layout_width =" wrap_content"
107
+ android : layout_height =" wrap_content"
108
+ android : text =" Use network provide time"
109
+ android : textColor =" #cccccc" />
110
+ <com .kyleduo.switchbutton.SwitchButton
111
+ android : id =" @+id/switch_button"
112
+ android : layout_alignParentRight =" true"
113
+ android : layout_marginRight =" 10dp"
114
+ android : layout_width =" wrap_content"
115
+ android : layout_height =" wrap_content"
116
+ android : padding =" 16dp"
117
+ style =" @style/MD" />
118
+ </RelativeLayout >
119
+ </LinearLayout >
120
+
121
+ </com .fenjuly.mylibrary.ToggleExpandLayout>
122
+ </RelativeLayout >
0 commit comments