summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorJulia Reynolds <juliacr@google.com>2014-06-26 19:15:07 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-06-26 18:35:29 +0000
commit4ea24ecfbf4b8e085704b08e3cc961bf2dcead01 (patch)
tree0758ea4ae5f72e4138a21f9a2ab1f422e36dd733 /res/layout
parent33212394e9656d78aa192f766c1a779421a316dc (diff)
parent2c53933e8d35ba50d0791a29e46fa3156e9cab7c (diff)
downloadpackages_apps_Settings-4ea24ecfbf4b8e085704b08e3cc961bf2dcead01.zip
packages_apps_Settings-4ea24ecfbf4b8e085704b08e3cc961bf2dcead01.tar.gz
packages_apps_Settings-4ea24ecfbf4b8e085704b08e3cc961bf2dcead01.tar.bz2
Merge "Use user restriction instead of pin to guard factory reset in Settings."
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/master_clear_disallowed_screen.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/res/layout/master_clear_disallowed_screen.xml b/res/layout/master_clear_disallowed_screen.xml
new file mode 100644
index 0000000..80326ca
--- /dev/null
+++ b/res/layout/master_clear_disallowed_screen.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+ * Copyright (C) 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.
+ */
+-->
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/listContainer"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <ListView android:id="@android:id/list"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:drawSelectorOnTop="false"
+ android:scrollbarStyle="insideOverlay"
+ android:background="@android:color/white"
+ android:cacheColorHint="@android:color/white"
+ android:fadingEdgeLength="16dip" />
+
+ <TextView android:id="@android:id/empty"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:text="@string/master_clear_not_available"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+</FrameLayout> \ No newline at end of file