blob: a083f89d42fac08c10428602ec5ed32e59872d8f [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"
Jorim Jaggi25807932014-04-24 23:29:46 +020023 xmlns:androidprv="http://schemas.android.com/apk/res-auto"
Jim Miller3af630c2012-09-26 14:29:18 -070024 android:layout_width="match_parent"
25 android:layout_height="wrap_content"
26 android:orientation="vertical"
Adam Powellba48a392012-10-12 14:41:04 -070027 android:gravity="center"
Jim Miller0ff7f012012-10-11 20:40:01 -070028 android:layout_gravity="center_horizontal"
Svetoslav Ganovc4842c12012-10-31 14:33:32 -070029 android:layout_alignParentBottom="true"
30 android:clickable="true">
Jim Miller3af630c2012-09-26 14:29:18 -070031
Jim Miller5ecd8112013-01-09 18:50:26 -080032 <com.android.keyguard.CarrierText
John Spurlock95a6fdf2013-03-20 15:38:18 -040033 android:id="@+id/carrier_text"
Jim Miller3af630c2012-09-26 14:29:18 -070034 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
Jim Miller3af630c2012-09-26 14:29:18 -070036 android:ellipsize="marquee"
37 android:textAppearance="?android:attr/textAppearanceMedium"
38 android:textSize="@dimen/kg_status_line_font_size"
Jorim Jaggi25807932014-04-24 23:29:46 +020039 android:textColor="?android:attr/textColorSecondary"
Jorim Jaggi40a0b382014-05-27 21:12:27 +020040 android:visibility="gone"
Jorim Jaggi25807932014-04-24 23:29:46 +020041 androidprv:allCaps="@bool/kg_use_all_caps" />
Jim Miller3af630c2012-09-26 14:29:18 -070042
Jorim Jaggi68e6fa72014-09-05 14:59:51 +020043 <com.android.keyguard.EmergencyButton
44 android:id="@+id/emergency_call_button"
45 android:layout_width="wrap_content"
Jim Miller3af630c2012-09-26 14:29:18 -070046 android:layout_height="wrap_content"
Jorim Jaggi68e6fa72014-09-05 14:59:51 +020047 android:layout_weight="1"
Jim Millerca71f482013-10-22 15:25:44 -070048 android:layout_marginTop="@dimen/eca_overlap"
Jorim Jaggi68e6fa72014-09-05 14:59:51 +020049 android:drawableLeft="@drawable/lockscreen_emergency_button"
50 android:text="@string/kg_emergency_call_label"
51 style="?android:attr/buttonBarButtonStyle"
52 android:textAppearance="?android:attr/textAppearanceMedium"
53 android:textSize="@dimen/kg_status_line_font_size"
54 android:textColor="?android:attr/textColorSecondary"
55 android:drawablePadding="8dip"
56 android:textAllCaps="@bool/kg_use_all_caps" />
Jim Miller3af630c2012-09-26 14:29:18 -070057
John Spurlock52452482013-03-21 08:27:58 -040058</com.android.keyguard.EmergencyCarrierArea>