summaryrefslogtreecommitdiffstats
path: root/res/layout/wifi_setup_custom_list_item_1.xml
diff options
context:
space:
mode:
authorDaisuke Miyakawa <dmiyakawa@google.com>2011-01-26 18:37:10 -0800
committerDaisuke Miyakawa <dmiyakawa@google.com>2011-01-28 14:22:48 -0800
commit7893447987debb6bde72f4efb6b07f6e0d5b4f6f (patch)
treea82f3eac6b3bc5b3a1216aa60d02e26c24145653 /res/layout/wifi_setup_custom_list_item_1.xml
parenta71551418cfeeb6da335bbc83fca80de4a82fa07 (diff)
downloadpackages_apps_Settings-7893447987debb6bde72f4efb6b07f6e0d5b4f6f.zip
packages_apps_Settings-7893447987debb6bde72f4efb6b07f6e0d5b4f6f.tar.gz
packages_apps_Settings-7893447987debb6bde72f4efb6b07f6e0d5b4f6f.tar.bz2
Enlarge texts and fit the other elements
Basically set text size to 18sp and change layouts along with the new design. - Add custom list item xml for Wi-Fi security field rename existing "custom_list_item.xml" to appropriate name so that we won't be confused with their naming. - Use the custom xml just in SetupWizard. Bug: 3364731 Change-Id: I014903277a03c359ea193dd0f0a37c84ade19fa1
Diffstat (limited to 'res/layout/wifi_setup_custom_list_item_1.xml')
-rw-r--r--res/layout/wifi_setup_custom_list_item_1.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/res/layout/wifi_setup_custom_list_item_1.xml b/res/layout/wifi_setup_custom_list_item_1.xml
new file mode 100644
index 0000000..355490e
--- /dev/null
+++ b/res/layout/wifi_setup_custom_list_item_1.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 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.
+-->
+
+<!-- Based on simple_list_item_1.xml in framework -->
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@android:id/text1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:textSize="20sp"
+ android:gravity="center_vertical"
+ android:paddingLeft="10dip"
+ android:minHeight="48dip"
+/>