Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | ** |
| 4 | ** Copyright 2009, The Android Open Source Project |
| 5 | ** |
| 6 | ** Licensed under the Apache License, Version 2.0 (the "License") |
| 7 | ** you may not use this file except in compliance with the License. |
| 8 | ** You may obtain a copy of the License at |
| 9 | ** |
| 10 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | ** |
| 12 | ** Unless required by applicable law or agreed to in writing, software |
| 13 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | ** See the License for the specific language governing permissions and |
| 16 | ** limitations under the License. |
| 17 | */ |
| 18 | --> |
| 19 | |
| 20 | <!-- This is a view that shows general status information in Keyguard. --> |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 21 | <com.android.keyguard.KeyguardWidgetFrame |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 22 | xmlns:android="http://schemas.android.com/apk/res/android" |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 23 | xmlns:androidprv="http://schemas.android.com/apk/res/com.android.keyguard" |
Adam Cohen | 7ffa8c0 | 2012-10-01 19:03:46 -0700 | [diff] [blame] | 24 | android:id="@+id/keyguard_status_view" |
Jim Miller | 0ff7f01 | 2012-10-11 20:40:01 -0700 | [diff] [blame] | 25 | android:layout_width="match_parent" |
| 26 | android:layout_height="match_parent" |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 27 | androidprv:layout_maxWidth="@dimen/keyguard_security_width" |
| 28 | androidprv:layout_maxHeight="@dimen/keyguard_security_height" |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 29 | android:gravity="center_horizontal"> |
| 30 | |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 31 | <com.android.keyguard.KeyguardStatusView |
Jim Miller | 0ff7f01 | 2012-10-11 20:40:01 -0700 | [diff] [blame] | 32 | android:id="@+id/keyguard_status_view_face_palm" |
Jim Miller | f2dfc35 | 2012-08-29 18:42:21 -0700 | [diff] [blame] | 33 | android:orientation="vertical" |
| 34 | android:layout_width="match_parent" |
| 35 | android:layout_height="match_parent" |
Jim Miller | 71b3cd5 | 2012-10-10 19:02:40 -0700 | [diff] [blame] | 36 | android:gravity="center_horizontal|top" |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 37 | android:contentDescription="@string/keyguard_accessibility_status"> |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 38 | |
Adam Powell | 70bc9f2 | 2012-10-12 22:02:27 -0700 | [diff] [blame] | 39 | <LinearLayout android:layout_width="match_parent" |
| 40 | android:layout_height="wrap_content" |
Jim Miller | d6523da | 2012-10-21 16:47:02 -0700 | [diff] [blame] | 41 | android:layout_gravity="center_horizontal|top" |
Svetoslav Ganov | c4842c1 | 2012-10-31 14:33:32 -0700 | [diff] [blame] | 42 | android:orientation="vertical" |
| 43 | android:focusable="true"> |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 44 | <com.android.keyguard.ClockView |
Adam Powell | 70bc9f2 | 2012-10-12 22:02:27 -0700 | [diff] [blame] | 45 | android:id="@+id/clock_view" |
Jim Miller | f2dfc35 | 2012-08-29 18:42:21 -0700 | [diff] [blame] | 46 | android:layout_width="wrap_content" |
| 47 | android:layout_height="wrap_content" |
Adam Powell | 70bc9f2 | 2012-10-12 22:02:27 -0700 | [diff] [blame] | 48 | android:layout_marginEnd="@dimen/kg_status_line_font_right_margin" |
| 49 | android:layout_gravity="right"> |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 50 | |
Adam Powell | 70bc9f2 | 2012-10-12 22:02:27 -0700 | [diff] [blame] | 51 | <TextView android:id="@+id/clock_text" |
| 52 | android:layout_width="wrap_content" |
| 53 | android:layout_height="wrap_content" |
| 54 | android:singleLine="true" |
| 55 | android:ellipsize="none" |
| 56 | android:textSize="@dimen/kg_status_clock_font_size" |
| 57 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 58 | android:textColor="#ffffffff" |
| 59 | android:drawablePadding="2dip" |
| 60 | /> |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 61 | |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 62 | </com.android.keyguard.ClockView> |
Adam Powell | 70bc9f2 | 2012-10-12 22:02:27 -0700 | [diff] [blame] | 63 | |
| 64 | <include layout="@layout/keyguard_status_area" /> |
| 65 | </LinearLayout> |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 66 | |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 67 | </com.android.keyguard.KeyguardStatusView> |
| 68 | </com.android.keyguard.KeyguardWidgetFrame> |