summaryrefslogtreecommitdiffstats
path: root/res/layout/profile_list_header.xml
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2015-03-27 09:38:42 +0100
committerMichael Bestas <mikeioannina@gmail.com>2015-12-28 00:31:31 +0200
commit70c5fb749ca34cfe1e7a156d97f5bb32e81d5ddc (patch)
treed465d157e9f77eae106433c9249d1c65437e514f /res/layout/profile_list_header.xml
parent46353989a3fe58f839f2d32e8188566c5230fb0b (diff)
downloadpackages_apps_Settings-70c5fb749ca34cfe1e7a156d97f5bb32e81d5ddc.zip
packages_apps_Settings-70c5fb749ca34cfe1e7a156d97f5bb32e81d5ddc.tar.gz
packages_apps_Settings-70c5fb749ca34cfe1e7a156d97f5bb32e81d5ddc.tar.bz2
Improve profile setting layouts.
Make their look consistent to the stock preferences look. Change-Id: I4fca6ab57eb549c0d8f28e5d4f1462fcead47bef
Diffstat (limited to 'res/layout/profile_list_header.xml')
-rw-r--r--res/layout/profile_list_header.xml20
1 files changed, 8 insertions, 12 deletions
diff --git a/res/layout/profile_list_header.xml b/res/layout/profile_list_header.xml
index 7f43823..d4c7c2b 100644
--- a/res/layout/profile_list_header.xml
+++ b/res/layout/profile_list_header.xml
@@ -1,15 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/title"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingLeft="4dip"
- android:paddingTop="18dip"
- android:orientation="horizontal" >
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="16dip"
+ android:textAppearance="@style/TextAppearance.CategoryTitle"
+ android:paddingStart="?android:attr/listPreferredItemPaddingStart"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
+ android:paddingTop="16dip" />
- <TextView
- android:id="@+id/title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textAppearance="@style/TextAppearance.CategoryTitle" />
-
-</LinearLayout>