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" |
| 23 | android:layout_width="match_parent" |
| 24 | android:layout_height="wrap_content" |
| 25 | android:orientation="vertical" |
Adam Powell | ba48a39 | 2012-10-12 14:41:04 -0700 | [diff] [blame] | 26 | android:gravity="center" |
Jim Miller | 0ff7f01 | 2012-10-11 20:40:01 -0700 | [diff] [blame] | 27 | android:layout_gravity="center_horizontal" |
Svetoslav Ganov | c4842c1 | 2012-10-31 14:33:32 -0700 | [diff] [blame] | 28 | android:layout_alignParentBottom="true" |
| 29 | android:clickable="true"> |
Jim Miller | 3af630c | 2012-09-26 14:29:18 -0700 | [diff] [blame] | 30 | |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 31 | <com.android.keyguard.CarrierText |
John Spurlock | 95a6fdf | 2013-03-20 15:38:18 -0400 | [diff] [blame] | 32 | android:id="@+id/carrier_text" |
Jim Miller | 3af630c | 2012-09-26 14:29:18 -0700 | [diff] [blame] | 33 | 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 Miller | 3af630c | 2012-09-26 14:29:18 -0700 | [diff] [blame] | 39 | android:textColor="?android:attr/textColorSecondary"/> |
| 40 | |
Jim Miller | 0b72824 | 2012-10-28 19:42:30 -0700 | [diff] [blame] | 41 | <LinearLayout |
| 42 | android:layout_width="match_parent" |
Jim Miller | 3af630c | 2012-09-26 14:29:18 -0700 | [diff] [blame] | 43 | android:layout_height="wrap_content" |
Jim Miller | 0b72824 | 2012-10-28 19:42:30 -0700 | [diff] [blame] | 44 | android:layout_marginTop="-10dip" |
| 45 | style="?android:attr/buttonBarStyle" |
| 46 | android:orientation="horizontal" |
| 47 | android:gravity="center" |
| 48 | android:weightSum="2"> |
| 49 | |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 50 | <com.android.keyguard.EmergencyButton |
Jim Miller | 0b72824 | 2012-10-28 19:42:30 -0700 | [diff] [blame] | 51 | android:id="@+id/emergency_call_button" |
| 52 | android:layout_width="0dip" |
| 53 | android:layout_height="wrap_content" |
| 54 | android:layout_weight="1" |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 55 | android:drawableLeft="@drawable/lockscreen_emergency_button" |
Jim Miller | 0b72824 | 2012-10-28 19:42:30 -0700 | [diff] [blame] | 56 | 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 Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 67 | android:drawableLeft="@drawable/lockscreen_forgot_password_button" |
Jim Miller | 0b72824 | 2012-10-28 19:42:30 -0700 | [diff] [blame] | 68 | 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 Miller | 3af630c | 2012-09-26 14:29:18 -0700 | [diff] [blame] | 75 | |
John Spurlock | 5245248 | 2013-03-21 08:27:58 -0400 | [diff] [blame] | 76 | </com.android.keyguard.EmergencyCarrierArea> |