keyguard_screen_tab_unlock_land.xml revision 24ccf3c59077d81b0dd3b314822ff7dab215c165
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 the general lock screen which shows information about the
21  state of the device, as well as instructions on how to get past it
22  depending on the state of the device.-->
23<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
24    xmlns:tabunlock="http://schemas.android.com/apk/res/com.android.tabunlock"
25    android:layout_width="fill_parent"
26    android:layout_height="fill_parent"
27    android:orientation="horizontal"
28    android:background="#70000000"
29    android:id="@+id/root">
30     
31    <!-- left side -->
32    <RelativeLayout
33            android:layout_width="0dip"
34            android:layout_height="fill_parent"
35            android:layout_weight="1.0"
36            android:gravity="center_horizontal">
37
38        <TextView
39            android:id="@+id/carrier"
40            android:layout_width="wrap_content"
41            android:layout_height="wrap_content"
42            android:layout_alignParentTop="true"
43            android:layout_marginTop="20dip"
44            android:textAppearance="?android:attr/textAppearanceMedium"
45            android:textColor="?android:attr/textColorSecondary"
46            />
47
48        <TextView
49            android:id="@+id/time"
50            android:layout_width="wrap_content"
51            android:layout_height="wrap_content"
52            android:layout_below="@id/carrier"
53            android:layout_marginTop="25dip"
54            android:textAppearance="?android:attr/textAppearanceLarge"
55            android:textSize="55sp"
56            />
57
58        <TextView
59            android:id="@+id/date"
60            android:layout_width="wrap_content"
61            android:layout_height="wrap_content"
62            android:layout_below="@id/time"
63            android:layout_marginTop="-12dip"
64            android:textAppearance="?android:attr/textAppearanceMedium"
65            />
66
67        <View
68            android:id="@+id/divider"
69            android:layout_width="fill_parent"
70            android:layout_height="1dip"
71            android:layout_marginTop="10dip"
72            android:layout_below="@id/date"
73            android:background="@android:drawable/divider_horizontal_dark"
74            />
75
76        <TextView
77            android:id="@+id/status1"
78            android:layout_width="wrap_content"
79            android:layout_height="wrap_content"
80            android:layout_below="@id/divider"
81            android:layout_marginTop="6dip"
82            android:textAppearance="?android:attr/textAppearanceMedium"
83            android:textColor="?android:attr/textColorSecondary"
84            android:drawablePadding="4dip"
85            />
86
87        <TextView
88            android:id="@+id/status2"
89            android:layout_width="wrap_content"
90            android:layout_height="wrap_content"
91            android:layout_below="@id/status1"
92            android:layout_marginTop="6dip"
93            android:textAppearance="?android:attr/textAppearanceMedium"
94            android:textColor="?android:attr/textColorSecondary"
95            android:drawablePadding="4dip"
96            />
97
98        <TextView
99            android:id="@+id/screenLocked"
100            android:layout_width="wrap_content"
101            android:layout_height="wrap_content"
102            android:layout_below="@id/status2"
103            android:textAppearance="?android:attr/textAppearanceMedium"
104            android:textColor="?android:attr/textColorSecondary"
105            android:gravity="center"
106            android:layout_marginTop="12dip"
107            />
108
109        <!-- emergency call button shown when sim is missing or PUKd -->
110        <Button
111            android:id="@+id/emergencyCallButton"
112            android:layout_width="wrap_content"
113            android:layout_height="wrap_content"
114            android:layout_below="@id/screenLocked"
115            android:layout_marginTop="24dip"
116            android:drawableLeft="@drawable/ic_emergency"
117            android:drawablePadding="8dip"
118           />
119    </RelativeLayout>
120
121    <!-- right side -->
122    <com.android.internal.widget.SlidingTab
123        android:id="@+id/tab_selector"
124        android:orientation="vertical"
125        android:layout_width="wrap_content"
126        android:layout_height="fill_parent"
127        android:layout_marginBottom="50dip"
128        />
129
130</LinearLayout>
131