diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2014-06-17 18:29:26 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2014-06-17 18:52:11 -0700 |
commit | 21ddce6969056d2e7464a6d8079c2a74379d53bd (patch) | |
tree | febb8c25ffc2200d2dd520cb12575d148a442a90 /res/layout/device_admin_item.xml | |
parent | 0106a2efd265e1452108a33a72d66048a84b1205 (diff) | |
download | packages_apps_Settings-21ddce6969056d2e7464a6d8079c2a74379d53bd.tar.gz packages_apps_Settings-21ddce6969056d2e7464a6d8079c2a74379d53bd.tar.bz2 packages_apps_Settings-21ddce6969056d2e7464a6d8079c2a74379d53bd.zip |
Fix Security Settings padding
- for OwnerInfo / Trust Agent / Trusted Credentials / Device Admin
- fix also scrollbars position
- also layout code formatting
See bug: #15384992 Setting Dashboard - padding updates
Change-Id: Ib840c6dea62d7cead671b2ca8744502a7ecb435a
Diffstat (limited to 'res/layout/device_admin_item.xml')
-rw-r--r-- | res/layout/device_admin_item.xml | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/res/layout/device_admin_item.xml b/res/layout/device_admin_item.xml index 56be346c9..102cc1603 100644 --- a/res/layout/device_admin_item.xml +++ b/res/layout/device_admin_item.xml @@ -22,24 +22,21 @@ android:layout_height="wrap_content" android:minHeight="?android:attr/listPreferredItemHeight" android:orientation="horizontal" - android:paddingEnd="6dip" - android:paddingStart="6dip" android:gravity="center_vertical" > <LinearLayout android:layout_width="wrap_content" - android:layout_height="match_parent" - android:minWidth="64dip" + android:layout_height="wrap_content" android:gravity="center" - android:padding="8dip" android:orientation="horizontal"> + <ImageView android:id="@+id/icon" android:layout_width="@android:dimen/app_icon_size" android:layout_height="@android:dimen/app_icon_size" android:layout_gravity="center_vertical" - android:contentDescription="@null" - /> + android:contentDescription="@null" /> + </LinearLayout> <RelativeLayout @@ -70,12 +67,11 @@ </RelativeLayout> - <CheckBox xmlns:android="http://schemas.android.com/apk/res/android" + <CheckBox android:id="@+id/checkbox" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_vertical" - android:layout_marginEnd="16dip" android:layout_marginStart="16dip" android:focusable="false" android:clickable="false" /> |