diff options
author | Michael Jurka <mikejurka@google.com> | 2012-11-06 21:08:31 -0800 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2012-11-07 00:00:11 -0800 |
commit | a487bca4700a9dbd5d5d72913d0265ae86815edf (patch) | |
tree | f4dc5740e9a4438b495e67689b97104cb6bb8dd2 /res/layout | |
parent | c0fb8a399be0b3e4b365682c681ff24264bbef14 (diff) | |
download | packages_apps_Settings-a487bca4700a9dbd5d5d72913d0265ae86815edf.zip packages_apps_Settings-a487bca4700a9dbd5d5d72913d0265ae86815edf.tar.gz packages_apps_Settings-a487bca4700a9dbd5d5d72913d0265ae86815edf.tar.bz2 |
Updated layouts for keyguard widget picker
Bug: 7381803
Change-Id: I9a6a8fe3216002b486e7b6ddf7544d9fc4e73de8
Diffstat (limited to 'res/layout')
-rwxr-xr-x | res/layout/keyguard_appwidget_item.xml | 6 | ||||
-rw-r--r-- | res/layout/keyguard_appwidget_picker_layout.xml (renamed from res/layout/keyguard_appwidget_pick_layout.xml) | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/res/layout/keyguard_appwidget_item.xml b/res/layout/keyguard_appwidget_item.xml index ed17bcf..de0c855 100755 --- a/res/layout/keyguard_appwidget_item.xml +++ b/res/layout/keyguard_appwidget_item.xml @@ -24,8 +24,8 @@ android:background="@drawable/appwidget_item_bg" android:layout_marginTop="2dip" android:layout_marginBottom="2dip" - android:layout_marginLeft="8dip" - android:layout_marginRight="8dip" + android:layout_marginLeft="2dip" + android:layout_marginRight="2dip" android:paddingLeft="16dip" android:paddingRight="16dip" android:paddingTop="16dip" @@ -37,11 +37,11 @@ android:scaleType="center" /> <TextView android:id="@+id/label" + style="@style/KeyguardAppWidgetItem" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingLeft="24dip" android:paddingBottom="8dip" - android:textAppearance="?android:attr/textAppearanceMedium" android:gravity="left|bottom" /> </LinearLayout> </FrameLayout> diff --git a/res/layout/keyguard_appwidget_pick_layout.xml b/res/layout/keyguard_appwidget_picker_layout.xml index 85667f6..b678925 100644 --- a/res/layout/keyguard_appwidget_pick_layout.xml +++ b/res/layout/keyguard_appwidget_picker_layout.xml @@ -18,12 +18,16 @@ android:id="@+id/layout_root" android:layout_width="match_parent" android:layout_height="match_parent" + android:layout_marginLeft="@dimen/keyguard_appwidget_picker_margin_left" + android:layout_marginRight="@dimen/keyguard_appwidget_picker_margin_right" android:paddingTop="2dip" android:paddingBottom="2dip" android:orientation="vertical" > <GridView android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" + android:numColumns="@integer/keyguard_appwidget_picker_cols" + android:layout_gravity="center_horizontal" android:listSelector="@android:color/transparent" android:id="@+id/widget_list" /> </LinearLayout> |