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"
23    android:id="@+id/presentation"
24    android:layout_width="match_parent"
25    android:layout_height="match_parent">
26    <!-- This is mostly keyguard_status_view.xml with minor modifications -->
27    <com.android.keyguard.KeyguardStatusView
28        android:id="@+id/clock"
29        android:orientation="vertical"
30        android:layout_width="410dp"
31        android:layout_height="wrap_content">
32        <LinearLayout
33            android:layout_width="match_parent"
34            android:layout_height="wrap_content"
35            android:orientation="vertical">
36            <RelativeLayout
37                android:id="@+id/keyguard_clock_container"
38                android:layout_width="match_parent"
39                android:layout_height="wrap_content"
40                android:layout_gravity="center_horizontal|top">
41                <TextClock
42                    android:id="@+id/clock_view"
43                    android:layout_width="wrap_content"
44                    android:layout_height="wrap_content"
45                    android:layout_gravity="center_horizontal"
46                    android:layout_centerHorizontal="true"
47                    android:layout_alignParentTop="true"
48                    android:letterSpacing="0.03"
49                    android:textColor="?attr/wallpaperTextColor"
50                    android:singleLine="true"
51                    style="@style/widget_big_thin"
52                    android:format12Hour="@string/keyguard_widget_12_hours_format"
53                    android:format24Hour="@string/keyguard_widget_24_hours_format" />
54                <View
55                    android:id="@+id/clock_separator"
56                    android:layout_width="@dimen/widget_separator_width"
57                    android:layout_height="@dimen/widget_separator_thickness"
58                    android:layout_below="@id/clock_view"
59                    android:background="#f00"
60                    android:layout_centerHorizontal="true" />
61                <include layout="@layout/keyguard_status_area"
62                         android:id="@+id/keyguard_status_area"
63                         android:layout_width="match_parent"
64                         android:layout_height="wrap_content"
65                         android:layout_below="@id/clock_separator" />
66            </RelativeLayout>
67            <ImageView
68                android:layout_width="wrap_content"
69                android:layout_height="wrap_content"
70                android:layout_marginTop="@dimen/widget_vertical_padding"
71                android:layout_gravity="center_horizontal"
72                android:src="@drawable/kg_security_lock_normal" />
73        </LinearLayout>
74    </com.android.keyguard.KeyguardStatusView>
75
76</FrameLayout>
77