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" |
Jim Miller | 3192148 | 2013-11-06 20:43:55 -0800 | [diff] [blame] | 23 | android:id="@+id/presentation" |
| 24 | android:layout_width="match_parent" |
| 25 | android:layout_height="match_parent"> |
Lucas Dupin | 0cf5e4a | 2018-05-02 00:33:17 -0700 | [diff] [blame] | 26 | <!-- This is mostly keyguard_status_view.xml with minor modifications --> |
Jim Miller | 3192148 | 2013-11-06 20:43:55 -0800 | [diff] [blame] | 27 | <com.android.keyguard.KeyguardStatusView |
| 28 | android:id="@+id/clock" |
| 29 | android:orientation="vertical" |
Lucas Dupin | 0cf5e4a | 2018-05-02 00:33:17 -0700 | [diff] [blame] | 30 | android:layout_width="410dp" |
Jim Miller | f757888 | 2015-01-05 18:45:32 -0800 | [diff] [blame] | 31 | android:layout_height="wrap_content"> |
Jim Miller | 3192148 | 2013-11-06 20:43:55 -0800 | [diff] [blame] | 32 | <LinearLayout |
| 33 | android:layout_width="match_parent" |
| 34 | android:layout_height="wrap_content" |
Lucas Dupin | 0cf5e4a | 2018-05-02 00:33:17 -0700 | [diff] [blame] | 35 | android:orientation="vertical"> |
Robert Snoeberger | e3b3e78 | 2018-12-17 13:32:15 -0500 | [diff] [blame] | 36 | <include |
| 37 | layout="@layout/keyguard_clock_switch" |
Lucas Dupin | 0cf5e4a | 2018-05-02 00:33:17 -0700 | [diff] [blame] | 38 | android:id="@+id/keyguard_clock_container" |
| 39 | android:layout_width="match_parent" |
Robert Snoeberger | e3b3e78 | 2018-12-17 13:32:15 -0500 | [diff] [blame] | 40 | android:layout_height="wrap_content" /> |
Jim Miller | 3192148 | 2013-11-06 20:43:55 -0800 | [diff] [blame] | 41 | <ImageView |
| 42 | android:layout_width="wrap_content" |
| 43 | android:layout_height="wrap_content" |
Lucas Dupin | 0cf5e4a | 2018-05-02 00:33:17 -0700 | [diff] [blame] | 44 | android:layout_marginTop="@dimen/widget_vertical_padding" |
Jim Miller | 3192148 | 2013-11-06 20:43:55 -0800 | [diff] [blame] | 45 | android:layout_gravity="center_horizontal" |
| 46 | android:src="@drawable/kg_security_lock_normal" /> |
| 47 | </LinearLayout> |
| 48 | </com.android.keyguard.KeyguardStatusView> |
| 49 | |
| 50 | </FrameLayout> |