Jim Miller | 3192148 | 2013-11-06 20:43:55 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | ** |
| 4 | ** Copyright 2013, 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. --> |
| 21 | <FrameLayout |
| 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" |
Jim Miller | 3192148 | 2013-11-06 20:43:55 -0800 | [diff] [blame] | 24 | android:id="@+id/presentation" |
| 25 | android:layout_width="match_parent" |
| 26 | android:layout_height="match_parent"> |
| 27 | |
| 28 | <com.android.keyguard.KeyguardStatusView |
| 29 | android:id="@+id/clock" |
| 30 | android:orientation="vertical" |
| 31 | android:layout_width="wrap_content" |
Jim Miller | f757888 | 2015-01-05 18:45:32 -0800 | [diff] [blame] | 32 | android:layout_height="wrap_content"> |
Jim Miller | 3192148 | 2013-11-06 20:43:55 -0800 | [diff] [blame] | 33 | <LinearLayout |
| 34 | android:layout_width="match_parent" |
| 35 | android:layout_height="wrap_content" |
| 36 | android:layout_gravity="center_horizontal|top" |
| 37 | android:orientation="vertical" |
| 38 | android:focusable="true"> |
| 39 | <TextClock |
| 40 | android:id="@+id/clock_view" |
| 41 | android:layout_width="wrap_content" |
| 42 | android:layout_height="wrap_content" |
| 43 | android:layout_gravity="center_horizontal|top" |
Lucas Dupin | a360e1e7 | 2017-07-17 17:25:20 -0700 | [diff] [blame] | 44 | android:textColor="?attr/wallpaperTextColor" |
Jim Miller | 3192148 | 2013-11-06 20:43:55 -0800 | [diff] [blame] | 45 | android:singleLine="true" |
| 46 | style="@style/widget_big_thin" |
| 47 | android:format12Hour="@string/keyguard_widget_12_hours_format" |
| 48 | android:format24Hour="@string/keyguard_widget_24_hours_format" |
Lucas Dupin | 3d7ccaf | 2018-04-02 21:19:23 -0700 | [diff] [blame] | 49 | android:baselineAligned="true" /> |
Jim Miller | 3192148 | 2013-11-06 20:43:55 -0800 | [diff] [blame] | 50 | |
| 51 | <include layout="@layout/keyguard_status_area" /> |
| 52 | <ImageView |
| 53 | android:layout_width="wrap_content" |
| 54 | android:layout_height="wrap_content" |
| 55 | android:layout_marginTop="10dip" |
| 56 | android:layout_gravity="center_horizontal" |
| 57 | android:src="@drawable/kg_security_lock_normal" /> |
| 58 | </LinearLayout> |
| 59 | </com.android.keyguard.KeyguardStatusView> |
| 60 | |
| 61 | </FrameLayout> |