1818-->
1919
2020<!-- This is a view that shows general status information in Keyguard. -->
21- <com .android.internal.policy.impl.keyguard.KeyguardStatusView
21+ <com .android.internal.policy.impl.keyguard.KeyguardWidgetFrame
2222 xmlns : android =" http://schemas.android.com/apk/res/android"
23- android : orientation =" vertical"
2423 android : layout_width =" wrap_content"
2524 android : layout_height =" wrap_content"
2625 android : gravity =" center_horizontal" >
2726
28- <com .android.internal.widget.DigitalClock android : id = " @+id/time "
29- android : layout_marginTop = " @*android:dimen/keyguard_lockscreen_status_line_clockfont_top_margin "
30- android : layout_marginBottom = " 12dip "
31- android : layout_marginEnd = " @*android:dimen/keyguard_lockscreen_status_line_font_right_margin "
32- android : layout_gravity = " end " >
27+ <com .android.internal.policy.impl.keyguard.KeyguardStatusView
28+ android : orientation = " vertical "
29+ android : layout_width = " match_parent "
30+ android : layout_height = " match_parent "
31+ android : gravity = " center_horizontal " >
3332
34- <!-- Because we can't have multi-tone fonts, we render two TextViews, one on
35- top of the other. Hence the redundant layout... -->
36- <TextView android : id =" @*android:id/timeDisplayBackground"
37- android : layout_width =" wrap_content"
38- android : layout_height =" wrap_content"
39- android : singleLine =" true"
40- android : ellipsize =" none"
41- android : textSize =" @*android:dimen/keyguard_lockscreen_clock_font_size"
42- android : textAppearance =" ?android:attr/textAppearanceMedium"
43- android : layout_marginBottom =" 6dip"
44- android : textColor =" @*android:color/lockscreen_clock_background"
45- />
33+ <com .android.internal.widget.DigitalClock android : id =" @+id/time"
34+ android : layout_marginTop =" @*android:dimen/keyguard_lockscreen_status_line_clockfont_top_margin"
35+ android : layout_marginBottom =" 12dip"
36+ android : layout_marginEnd =" @*android:dimen/keyguard_lockscreen_status_line_font_right_margin"
37+ android : layout_gravity =" end" >
4638
47- <TextView android : id =" @*android:id/timeDisplayForeground"
48- android : layout_width =" wrap_content"
49- android : layout_height =" wrap_content"
50- android : singleLine =" true"
51- android : ellipsize =" none"
52- android : textSize =" @*android:dimen/keyguard_lockscreen_clock_font_size"
53- android : textAppearance =" ?android:attr/textAppearanceMedium"
54- android : layout_marginBottom =" 6dip"
55- android : textColor =" @*android:color/lockscreen_clock_foreground"
56- android : layout_alignStart =" @*android:id/timeDisplayBackground"
57- android : layout_alignTop =" @*android:id/timeDisplayBackground"
58- />
39+ <!-- Because we can't have multi-tone fonts, we render two TextViews, one on
40+ top of the other. Hence the redundant layout... -->
41+ <TextView android : id =" @*android:id/timeDisplayBackground"
42+ android : layout_width =" wrap_content"
43+ android : layout_height =" wrap_content"
44+ android : singleLine =" true"
45+ android : ellipsize =" none"
46+ android : textSize =" @*android:dimen/keyguard_lockscreen_clock_font_size"
47+ android : textAppearance =" ?android:attr/textAppearanceMedium"
48+ android : layout_marginBottom =" 6dip"
49+ android : textColor =" @*android:color/lockscreen_clock_background"
50+ />
51+
52+ <TextView android : id =" @*android:id/timeDisplayForeground"
53+ android : layout_width =" wrap_content"
54+ android : layout_height =" wrap_content"
55+ android : singleLine =" true"
56+ android : ellipsize =" none"
57+ android : textSize =" @*android:dimen/keyguard_lockscreen_clock_font_size"
58+ android : textAppearance =" ?android:attr/textAppearanceMedium"
59+ android : layout_marginBottom =" 6dip"
60+ android : textColor =" @*android:color/lockscreen_clock_foreground"
61+ android : layout_alignStart =" @*android:id/timeDisplayBackground"
62+ android : layout_alignTop =" @*android:id/timeDisplayBackground"
63+ />
64+
65+ </com .android.internal.widget.DigitalClock>
5966
60- </com .android.internal.widget.DigitalClock>
67+ <LinearLayout
68+ android : orientation =" horizontal"
69+ android : layout_gravity =" end"
70+ android : layout_marginEnd =" @*android:dimen/keyguard_lockscreen_status_line_font_right_margin" >
6171
62- <LinearLayout
63- android : orientation =" horizontal"
64- android : layout_gravity =" end"
65- android : layout_marginEnd =" @*android:dimen/keyguard_lockscreen_status_line_font_right_margin" >
72+ <TextView
73+ android : id =" @*android:id/date"
74+ android : layout_width =" wrap_content"
75+ android : layout_height =" wrap_content"
76+ android : singleLine =" true"
77+ android : ellipsize =" marquee"
78+ android : textAppearance =" ?android:attr/textAppearanceMedium"
79+ android : textSize =" @*android:dimen/keyguard_lockscreen_status_line_font_size"
80+ />
81+
82+ <TextView
83+ android : id =" @*android:id/alarm_status"
84+ android : layout_width =" wrap_content"
85+ android : layout_height =" wrap_content"
86+ android : layout_marginStart =" 16dip"
87+ android : singleLine =" true"
88+ android : ellipsize =" marquee"
89+ android : textAppearance =" ?android:attr/textAppearanceMedium"
90+ android : textSize =" @*android:dimen/keyguard_lockscreen_status_line_font_size"
91+ android : drawablePadding =" 4dip"
92+ />
93+
94+ </LinearLayout >
6695
6796 <TextView
68- android : id =" @*android:id/date "
69- android : layout_width = " wrap_content "
70- android : layout_height = " wrap_content "
97+ android : id =" @*android:id/status1 "
98+ android : layout_gravity = " end "
99+ android : layout_marginEnd = " @*android:dimen/keyguard_lockscreen_status_line_font_right_margin "
71100 android : singleLine =" true"
72101 android : ellipsize =" marquee"
73102 android : textAppearance =" ?android:attr/textAppearanceMedium"
74103 android : textSize =" @*android:dimen/keyguard_lockscreen_status_line_font_size"
104+ android : drawablePadding =" 4dip"
75105 />
76106
77107 <TextView
78- android : id =" @*android:id/alarm_status"
79- android : layout_width =" wrap_content"
80- android : layout_height =" wrap_content"
81- android : layout_marginStart =" 16dip"
108+ android : id =" @*android:id/carrier"
109+ android : layout_gravity =" end"
110+ android : layout_marginEnd =" @*android:dimen/keyguard_lockscreen_status_line_font_right_margin"
82111 android : singleLine =" true"
83112 android : ellipsize =" marquee"
84113 android : textAppearance =" ?android:attr/textAppearanceMedium"
85114 android : textSize =" @*android:dimen/keyguard_lockscreen_status_line_font_size"
86- android : drawablePadding = " 4dip "
115+ android : textColor = " ?android:attr/textColorSecondary "
87116 />
88117
89- </LinearLayout >
90-
91- <TextView
92- android : id =" @*android:id/status1"
93- android : layout_gravity =" end"
94- android : layout_marginEnd =" @*android:dimen/keyguard_lockscreen_status_line_font_right_margin"
95- android : singleLine =" true"
96- android : ellipsize =" marquee"
97- android : textAppearance =" ?android:attr/textAppearanceMedium"
98- android : textSize =" @*android:dimen/keyguard_lockscreen_status_line_font_size"
99- android : drawablePadding =" 4dip"
100- />
101-
102- <TextView
103- android : id =" @*android:id/carrier"
104- android : layout_gravity =" end"
105- android : layout_marginEnd =" @*android:dimen/keyguard_lockscreen_status_line_font_right_margin"
106- android : singleLine =" true"
107- android : ellipsize =" marquee"
108- android : textAppearance =" ?android:attr/textAppearanceMedium"
109- android : textSize =" @*android:dimen/keyguard_lockscreen_status_line_font_size"
110- android : textColor =" ?android:attr/textColorSecondary"
111- />
112-
113- </com .android.internal.policy.impl.keyguard.KeyguardStatusView>
114-
118+ </com .android.internal.policy.impl.keyguard.KeyguardStatusView>
119+ </com .android.internal.policy.impl.keyguard.KeyguardWidgetFrame>
0 commit comments