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. --> |
Jorim Jaggi | 03c701e | 2014-04-02 12:39:51 +0200 | [diff] [blame] | 21 | <com.android.keyguard.KeyguardStatusView |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 22 | xmlns:android="http://schemas.android.com/apk/res/android" |
Jorim Jaggi | 380ecb8 | 2014-03-14 17:25:20 +0100 | [diff] [blame] | 23 | xmlns:androidprv="http://schemas.android.com/apk/res-auto" |
Adam Cohen | 7ffa8c0 | 2012-10-01 19:03:46 -0700 | [diff] [blame] | 24 | android:id="@+id/keyguard_status_view" |
Jorim Jaggi | 03c701e | 2014-04-02 12:39:51 +0200 | [diff] [blame] | 25 | android:orientation="vertical" |
Jim Miller | 0ff7f01 | 2012-10-11 20:40:01 -0700 | [diff] [blame] | 26 | android:layout_width="match_parent" |
Jorim Jaggi | 8c1a44b | 2014-04-29 19:04:02 +0200 | [diff] [blame] | 27 | android:layout_height="wrap_content" |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 28 | androidprv:layout_maxWidth="@dimen/keyguard_security_width" |
| 29 | androidprv:layout_maxHeight="@dimen/keyguard_security_height" |
Jorim Jaggi | 321583d | 2014-08-22 01:33:33 +0200 | [diff] [blame] | 30 | android:gravity="center_horizontal|top"> |
Geoffrey Pitsch | 7332142 | 2017-07-17 09:31:55 -0400 | [diff] [blame] | 31 | <LinearLayout |
Jim Miller | f2dfc35 | 2012-08-29 18:42:21 -0700 | [diff] [blame] | 32 | android:layout_width="match_parent" |
Jorim Jaggi | 03c701e | 2014-04-02 12:39:51 +0200 | [diff] [blame] | 33 | android:layout_height="wrap_content" |
Lucas Dupin | 37d4118 | 2018-01-26 18:09:30 -0800 | [diff] [blame] | 34 | android:layout_marginBottom="@dimen/widget_vertical_padding" |
Geoffrey Pitsch | 7332142 | 2017-07-17 09:31:55 -0400 | [diff] [blame] | 35 | android:orientation="vertical"> |
Alex Chau | ff7653d | 2018-02-01 17:18:08 +0000 | [diff] [blame] | 36 | <TextView |
| 37 | android:id="@+id/logout" |
| 38 | android:layout_height="@dimen/logout_button_layout_height" |
| 39 | android:layout_width="wrap_content" |
| 40 | android:layout_gravity="center_horizontal" |
| 41 | android:layout_centerHorizontal="true" |
| 42 | android:layout_marginBottom="@dimen/logout_button_margin_bottom" |
| 43 | android:gravity="center" |
| 44 | android:paddingLeft="@dimen/logout_button_padding_horizontal" |
| 45 | android:paddingRight="@dimen/logout_button_padding_horizontal" |
| 46 | android:background="@drawable/logout_button_background" |
Fabian Kozynski | 8a7a334 | 2018-12-13 17:11:57 -0500 | [diff] [blame] | 47 | android:fontFamily="@*android:string/config_bodyFontFamilyMedium" |
Alex Chau | ff7653d | 2018-02-01 17:18:08 +0000 | [diff] [blame] | 48 | android:textAllCaps="true" |
| 49 | android:textColor="?android:attr/textColorPrimary" |
| 50 | android:textSize="13sp" |
| 51 | android:text="@*android:string/global_action_logout" /> |
| 52 | |
Robert Snoeberger | e3b3e78 | 2018-12-17 13:32:15 -0500 | [diff] [blame] | 53 | <include |
| 54 | layout="@layout/keyguard_clock_switch" |
Geoffrey Pitsch | 7332142 | 2017-07-17 09:31:55 -0400 | [diff] [blame] | 55 | android:id="@+id/keyguard_clock_container" |
Adrian Roos | 5602189 | 2017-02-27 20:25:09 +0100 | [diff] [blame] | 56 | android:layout_width="match_parent" |
Robert Snoeberger | e3b3e78 | 2018-12-17 13:32:15 -0500 | [diff] [blame] | 57 | android:layout_height="wrap_content" /> |
Adrian Roos | 5602189 | 2017-02-27 20:25:09 +0100 | [diff] [blame] | 58 | |
Jorim Jaggi | 93afa1d | 2014-06-03 20:56:32 +0200 | [diff] [blame] | 59 | <TextView |
| 60 | android:id="@+id/owner_info" |
| 61 | android:layout_marginLeft="16dp" |
| 62 | android:layout_marginRight="16dp" |
| 63 | android:layout_width="wrap_content" |
| 64 | android:layout_height="wrap_content" |
| 65 | android:layout_marginTop="@dimen/date_owner_info_margin" |
Geoffrey Pitsch | 8f3dd1d | 2017-07-19 11:28:42 -0400 | [diff] [blame] | 66 | android:layout_gravity="center_horizontal" |
Adrian Roos | 5602189 | 2017-02-27 20:25:09 +0100 | [diff] [blame] | 67 | android:layout_centerHorizontal="true" |
Lucas Dupin | a360e1e7 | 2017-07-17 17:25:20 -0700 | [diff] [blame] | 68 | android:textColor="?attr/wallpaperTextColorSecondary" |
Jorim Jaggi | 93afa1d | 2014-06-03 20:56:32 +0200 | [diff] [blame] | 69 | android:textSize="@dimen/widget_label_font_size" |
Jorim Jaggi | e571622 | 2015-05-14 14:13:20 -0700 | [diff] [blame] | 70 | android:letterSpacing="0.05" |
Jorim Jaggi | 93afa1d | 2014-06-03 20:56:32 +0200 | [diff] [blame] | 71 | android:ellipsize="marquee" |
| 72 | android:singleLine="true" /> |
Geoffrey Pitsch | 7332142 | 2017-07-17 09:31:55 -0400 | [diff] [blame] | 73 | </LinearLayout> |
Jorim Jaggi | 03c701e | 2014-04-02 12:39:51 +0200 | [diff] [blame] | 74 | </com.android.keyguard.KeyguardStatusView> |