Jim Miller | 3af630c | 2012-09-26 14:29:18 -0700 | [diff] [blame] | 1 | <?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 Spurlock | 5245248 | 2013-03-21 08:27:58 -0400 | [diff] [blame] | 21 | <com.android.keyguard.EmergencyCarrierArea |
Jim Miller | 3af630c | 2012-09-26 14:29:18 -0700 | [diff] [blame] | 22 | xmlns:android="http://schemas.android.com/apk/res/android" |
Jorim Jaggi | 2580793 | 2014-04-24 23:29:46 +0200 | [diff] [blame] | 23 | xmlns:androidprv="http://schemas.android.com/apk/res-auto" |
Jim Miller | 3af630c | 2012-09-26 14:29:18 -0700 | [diff] [blame] | 24 | android:layout_width="match_parent" |
| 25 | android:layout_height="wrap_content" |
| 26 | android:orientation="vertical" |
Adam Powell | ba48a39 | 2012-10-12 14:41:04 -0700 | [diff] [blame] | 27 | android:gravity="center" |
Jim Miller | 0ff7f01 | 2012-10-11 20:40:01 -0700 | [diff] [blame] | 28 | android:layout_gravity="center_horizontal" |
Svetoslav Ganov | c4842c1 | 2012-10-31 14:33:32 -0700 | [diff] [blame] | 29 | android:layout_alignParentBottom="true" |
| 30 | android:clickable="true"> |
Jim Miller | 3af630c | 2012-09-26 14:29:18 -0700 | [diff] [blame] | 31 | |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 32 | <com.android.keyguard.CarrierText |
John Spurlock | 95a6fdf | 2013-03-20 15:38:18 -0400 | [diff] [blame] | 33 | android:id="@+id/carrier_text" |
Jim Miller | 3af630c | 2012-09-26 14:29:18 -0700 | [diff] [blame] | 34 | android:layout_width="wrap_content" |
| 35 | android:layout_height="wrap_content" |
Jim Miller | 3af630c | 2012-09-26 14:29:18 -0700 | [diff] [blame] | 36 | android:ellipsize="marquee" |
| 37 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 38 | android:textSize="@dimen/kg_status_line_font_size" |
Jorim Jaggi | 2580793 | 2014-04-24 23:29:46 +0200 | [diff] [blame] | 39 | android:textColor="?android:attr/textColorSecondary" |
Jorim Jaggi | 40a0b38 | 2014-05-27 21:12:27 +0200 | [diff] [blame] | 40 | android:visibility="gone" |
Jorim Jaggi | 2580793 | 2014-04-24 23:29:46 +0200 | [diff] [blame] | 41 | androidprv:allCaps="@bool/kg_use_all_caps" /> |
Jim Miller | 3af630c | 2012-09-26 14:29:18 -0700 | [diff] [blame] | 42 | |
Jorim Jaggi | 68e6fa7 | 2014-09-05 14:59:51 +0200 | [diff] [blame] | 43 | <com.android.keyguard.EmergencyButton |
| 44 | android:id="@+id/emergency_call_button" |
| 45 | android:layout_width="wrap_content" |
Jim Miller | 3af630c | 2012-09-26 14:29:18 -0700 | [diff] [blame] | 46 | android:layout_height="wrap_content" |
Jorim Jaggi | 68e6fa7 | 2014-09-05 14:59:51 +0200 | [diff] [blame] | 47 | android:layout_weight="1" |
Jim Miller | ca71f48 | 2013-10-22 15:25:44 -0700 | [diff] [blame] | 48 | android:layout_marginTop="@dimen/eca_overlap" |
Jorim Jaggi | 68e6fa7 | 2014-09-05 14:59:51 +0200 | [diff] [blame] | 49 | android:text="@string/kg_emergency_call_label" |
| 50 | style="?android:attr/buttonBarButtonStyle" |
| 51 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 52 | android:textSize="@dimen/kg_status_line_font_size" |
| 53 | android:textColor="?android:attr/textColorSecondary" |
Jorim Jaggi | 68e6fa7 | 2014-09-05 14:59:51 +0200 | [diff] [blame] | 54 | android:textAllCaps="@bool/kg_use_all_caps" /> |
Jim Miller | 3af630c | 2012-09-26 14:29:18 -0700 | [diff] [blame] | 55 | |
John Spurlock | 5245248 | 2013-03-21 08:27:58 -0400 | [diff] [blame] | 56 | </com.android.keyguard.EmergencyCarrierArea> |