blob: de673ec08873580b8067c6899423f1cd489c4aff [file] [log] [blame]
Jim Miller3af630c2012-09-26 14:29:18 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3**
4** Copyright 2012, 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 contains emergency call button and carrier as shared by pin/pattern/password screens -->
John Spurlock52452482013-03-21 08:27:58 -040021<com.android.keyguard.EmergencyCarrierArea
Jim Miller3af630c2012-09-26 14:29:18 -070022 xmlns:android="http://schemas.android.com/apk/res/android"
23 android:layout_width="match_parent"
24 android:layout_height="wrap_content"
25 android:orientation="vertical"
Adam Powellba48a392012-10-12 14:41:04 -070026 android:gravity="center"
Jim Miller0ff7f012012-10-11 20:40:01 -070027 android:layout_gravity="center_horizontal"
Svetoslav Ganovc4842c12012-10-31 14:33:32 -070028 android:layout_alignParentBottom="true"
29 android:clickable="true">
Jim Miller3af630c2012-09-26 14:29:18 -070030
Jim Miller5ecd8112013-01-09 18:50:26 -080031 <com.android.keyguard.CarrierText
John Spurlock95a6fdf2013-03-20 15:38:18 -040032 android:id="@+id/carrier_text"
Jim Miller3af630c2012-09-26 14:29:18 -070033 android:layout_width="wrap_content"
34 android:layout_height="wrap_content"
35 android:singleLine="true"
36 android:ellipsize="marquee"
37 android:textAppearance="?android:attr/textAppearanceMedium"
38 android:textSize="@dimen/kg_status_line_font_size"
Jim Miller3af630c2012-09-26 14:29:18 -070039 android:textColor="?android:attr/textColorSecondary"/>
40
Jim Miller0b728242012-10-28 19:42:30 -070041 <LinearLayout
42 android:layout_width="match_parent"
Jim Miller3af630c2012-09-26 14:29:18 -070043 android:layout_height="wrap_content"
Jim Miller0b728242012-10-28 19:42:30 -070044 android:layout_marginTop="-10dip"
45 style="?android:attr/buttonBarStyle"
46 android:orientation="horizontal"
47 android:gravity="center"
48 android:weightSum="2">
49
Jim Miller5ecd8112013-01-09 18:50:26 -080050 <com.android.keyguard.EmergencyButton
Jim Miller0b728242012-10-28 19:42:30 -070051 android:id="@+id/emergency_call_button"
52 android:layout_width="0dip"
53 android:layout_height="wrap_content"
54 android:layout_weight="1"
Jim Miller5ecd8112013-01-09 18:50:26 -080055 android:drawableLeft="@drawable/lockscreen_emergency_button"
Jim Miller0b728242012-10-28 19:42:30 -070056 android:text="@string/kg_emergency_call_label"
57 style="?android:attr/buttonBarButtonStyle"
58 android:textAppearance="?android:attr/textAppearanceMedium"
59 android:textSize="@dimen/kg_status_line_font_size"
60 android:textColor="?android:attr/textColorSecondary"
61 android:drawablePadding="8dip" />
62
63 <Button android:id="@+id/forgot_password_button"
64 android:layout_width="0dip"
65 android:layout_height="wrap_content"
66 android:layout_weight="1"
Jim Miller5ecd8112013-01-09 18:50:26 -080067 android:drawableLeft="@drawable/lockscreen_forgot_password_button"
Jim Miller0b728242012-10-28 19:42:30 -070068 style="?android:attr/buttonBarButtonStyle"
69 android:textSize="@dimen/kg_status_line_font_size"
70 android:textColor="?android:attr/textColorSecondary"
71 android:textAppearance="?android:attr/textAppearanceMedium"
72 android:drawablePadding="8dip"
73 android:visibility="gone"/>
74 </LinearLayout>
Jim Miller3af630c2012-09-26 14:29:18 -070075
John Spurlock52452482013-03-21 08:27:58 -040076</com.android.keyguard.EmergencyCarrierArea>