blob: 3018a022e763f853848aa7876f5d08c1fdb4a9d1 [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"
Adrian Roos28828b52015-05-25 18:48:14 -070029 android:layout_alignParentBottom="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"
Dan Sandler0c9b9ae2017-04-13 14:38:40 -040035 style="@style/Keyguard.TextView"
Lucas Dupin0e992fb2017-11-06 15:13:13 -080036 android:singleLine="true"
Jim Miller3af630c2012-09-26 14:29:18 -070037 android:ellipsize="marquee"
Jorim Jaggi40a0b382014-05-27 21:12:27 +020038 android:visibility="gone"
Lucas Dupin0e992fb2017-11-06 15:13:13 -080039 android:gravity="center"
Jorim Jaggi25807932014-04-24 23:29:46 +020040 androidprv:allCaps="@bool/kg_use_all_caps" />
Jim Miller3af630c2012-09-26 14:29:18 -070041
Jorim Jaggi68e6fa72014-09-05 14:59:51 +020042 <com.android.keyguard.EmergencyButton
43 android:id="@+id/emergency_call_button"
44 android:layout_width="wrap_content"
Jim Miller3af630c2012-09-26 14:29:18 -070045 android:layout_height="wrap_content"
Jorim Jaggi68e6fa72014-09-05 14:59:51 +020046 android:layout_weight="1"
Jim Millerca71f482013-10-22 15:25:44 -070047 android:layout_marginTop="@dimen/eca_overlap"
Adrian Roos7a1091f2015-04-13 15:42:48 -070048 android:text="@*android:string/lockscreen_emergency_call"
Dan Sandler0c9b9ae2017-04-13 14:38:40 -040049 style="@style/Keyguard.TextView.EmergencyButton"
Jorim Jaggi68e6fa72014-09-05 14:59:51 +020050 android:textAllCaps="@bool/kg_use_all_caps" />
Jim Miller3af630c2012-09-26 14:29:18 -070051
John Spurlock52452482013-03-21 08:27:58 -040052</com.android.keyguard.EmergencyCarrierArea>