summaryrefslogtreecommitdiffstats
path: root/res/layout/crypt_keeper_emergency_button.xml
diff options
context:
space:
mode:
authorPaul Lawrence <paullawrence@google.com>2014-08-11 14:05:33 -0700
committerPaul Lawrence <paullawrence@google.com>2014-08-11 15:00:00 -0700
commit4fd2e5f39836f0f6d5f3461eb6785a78f82b2350 (patch)
tree8d7bafc1a4a4529dd20dcc710f3afe2148cb0d53 /res/layout/crypt_keeper_emergency_button.xml
parentd58f0bd64f1554a4c15b812bcd90fc52f00860b6 (diff)
downloadpackages_apps_Settings-4fd2e5f39836f0f6d5f3461eb6785a78f82b2350.zip
packages_apps_Settings-4fd2e5f39836f0f6d5f3461eb6785a78f82b2350.tar.gz
packages_apps_Settings-4fd2e5f39836f0f6d5f3461eb6785a78f82b2350.tar.bz2
Fix UI to mocks
Bug: 16034329 Change-Id: I6746baeee3f49ad1df2524d690c870f49afedb48
Diffstat (limited to 'res/layout/crypt_keeper_emergency_button.xml')
-rw-r--r--res/layout/crypt_keeper_emergency_button.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/res/layout/crypt_keeper_emergency_button.xml b/res/layout/crypt_keeper_emergency_button.xml
new file mode 100644
index 0000000..d0004de
--- /dev/null
+++ b/res/layout/crypt_keeper_emergency_button.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+**
+** Copyright 2014, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License")
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<!-- Emergency call button.
+ Text is set by CryptKeeper.updateEmergencyCallButtonState() -->
+<Button
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/emergencyCallButton"
+ android:layout_width="wrap_content"
+ android:layout_height="0dp"
+ android:layout_gravity="center_horizontal"
+ android:textSize="14sp"
+ android:fontFamily="sans-serif"
+ android:textColor="#FFFFFF"
+ android:layout_weight="1"
+ android:gravity="bottom"
+ style="?android:attr/borderlessButtonStyle" />