1
+ <!--
2
+ ~
3
+ ~ ~ Copyright (c) 2017. ThanksMister LLC
4
+ ~ ~
5
+ ~ ~ Licensed under the Apache License, Version 2.0 (the "License");
6
+ ~ ~ you may not use this file except in compliance with the License.
7
+ ~ ~ You may obtain a copy of the License at
8
+ ~ ~
9
+ ~ ~ http://www.apache.org/licenses/LICENSE-2.0
10
+ ~ ~
11
+ ~ ~ Unless required by applicable law or agreed to in writing, software distributed
12
+ ~ ~ under the License is distributed on an "AS IS" BASIS,
13
+ ~ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ ~ ~ See the License for the specific language governing permissions and
15
+ ~ ~ limitations under the License.
16
+ ~
17
+ -->
18
+
19
+ <FrameLayout
20
+ xmlns : android =" http://schemas.android.com/apk/res/android"
21
+ xmlns : tools =" http://schemas.android.com/tools"
22
+ xmlns : app =" http://schemas.android.com/apk/res-auto"
23
+ android : layout_width =" match_parent"
24
+ android : layout_height =" match_parent"
25
+ android : background =" @drawable/background_rounded_gray"
26
+ android : gravity =" center_vertical" >
27
+
28
+ <LinearLayout
29
+ android : id =" @+id/alarmView"
30
+ android : foreground =" ?android:attr/selectableItemBackground"
31
+ android : layout_width =" wrap_content"
32
+ android : layout_height =" wrap_content"
33
+ android : layout_gravity =" center"
34
+ android : gravity =" center"
35
+ android : orientation =" horizontal" >
36
+
37
+ <FrameLayout
38
+ android : id =" @+id/alarmButton"
39
+ android : layout_width =" wrap_content"
40
+ android : layout_height =" wrap_content"
41
+ android : gravity =" center" >
42
+
43
+ <LinearLayout
44
+ android : id =" @+id/alarmButtonBackground"
45
+ android : layout_marginLeft =" 35dp"
46
+ android : layout_marginStart =" 35dp"
47
+ android : layout_width =" 190dp"
48
+ android : layout_height =" 190dp"
49
+ android : padding =" 34dp"
50
+ android : orientation =" vertical"
51
+ android : gravity =" center"
52
+ android : background =" @drawable/button_round_gray" >
53
+
54
+ <ImageView
55
+ android : layout_width =" 140dp"
56
+ android : layout_height =" wrap_content"
57
+ android : src =" @drawable/ic_lock_large" />
58
+
59
+ </LinearLayout >
60
+
61
+ <FrameLayout
62
+ android : id =" @+id/alarmPendingLayout"
63
+ android : layout_width =" 80dp"
64
+ android : layout_height =" 80dp"
65
+ android : visibility =" gone"
66
+ tools : visibility =" visible" >
67
+
68
+ <include
69
+ android : layout_width =" wrap_content"
70
+ android : layout_height =" wrap_content"
71
+ android : id =" @+id/pendingView"
72
+ layout =" @layout/dialog_alarm_countdown" />
73
+
74
+ </FrameLayout >
75
+
76
+ </FrameLayout >
77
+
78
+ <LinearLayout
79
+ android : layout_width =" 290dp"
80
+ android : layout_height =" wrap_content"
81
+ android : orientation =" vertical"
82
+ android : padding =" 16dp" >
83
+
84
+ <TextView
85
+ style =" @style/TextAppearance.Title"
86
+ android : textStyle =" bold"
87
+ android : layout_gravity =" left"
88
+ android : layout_width =" wrap_content"
89
+ android : layout_height =" wrap_content"
90
+ android : text =" @string/text_system" />
91
+
92
+ <TextView
93
+ android : id =" @+id/alarmText"
94
+ style =" @style/TextAppearance.Title"
95
+ android : textColor =" @color/gray_pressed"
96
+ android : textStyle =" bold"
97
+ android : layout_width =" wrap_content"
98
+ android : layout_height =" wrap_content"
99
+ tools : text =" @string/text_alarm_pending" />
100
+
101
+ </LinearLayout >
102
+
103
+ </LinearLayout >
104
+
105
+ </FrameLayout >
0 commit comments