diff options
author | Amith Yamasani <yamasani@google.com> | 2012-05-29 15:49:29 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2012-05-29 15:49:29 -0700 |
commit | 77859dfa79c57b814734e788bfdc0e003b3a5cdb (patch) | |
tree | 7f3147234e4a8386928bd6d0342e13c09ea044f4 /res | |
parent | a5ac7ce5149ea3f6f4b27259cd9fd4a23b7ac47a (diff) | |
download | packages_apps_settings-77859dfa79c57b814734e788bfdc0e003b3a5cdb.zip packages_apps_settings-77859dfa79c57b814734e788bfdc0e003b3a5cdb.tar.gz packages_apps_settings-77859dfa79c57b814734e788bfdc0e003b3a5cdb.tar.bz2 |
Adjust layout to avoid clipping.
Fixes the WiFi AP dialogs getting clipped at the right edge.
Bug: 6525128
Change-Id: Ic1c5c682d51e1492fe3c739c01255db886a90518
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/wifi_dialog.xml | 2 | ||||
-rw-r--r-- | res/values-sw600dp/styles.xml | 6 | ||||
-rw-r--r-- | res/values/styles.xml | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/res/layout/wifi_dialog.xml b/res/layout/wifi_dialog.xml index 0e6d63a..5103e8b 100644 --- a/res/layout/wifi_dialog.xml +++ b/res/layout/wifi_dialog.xml @@ -19,7 +19,7 @@ android:layout_height="wrap_content"> <LinearLayout - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> diff --git a/res/values-sw600dp/styles.xml b/res/values-sw600dp/styles.xml index 058afb9..2b01d7f 100644 --- a/res/values-sw600dp/styles.xml +++ b/res/values-sw600dp/styles.xml @@ -21,11 +21,11 @@ </style> <style name="wifi_item"> - <item name="android:layout_width">560dip</item> + <item name="android:layout_width">match_parent</item> <item name="android:layout_height">wrap_content</item> <item name="android:layout_marginTop">8dip</item> - <item name="android:layout_marginLeft">32dip</item> - <item name="android:layout_marginRight">32dip</item> + <item name="android:layout_marginLeft">16dip</item> + <item name="android:layout_marginRight">16dip</item> <item name="android:orientation">horizontal</item> <item name="android:gravity">center_vertical</item> </style> diff --git a/res/values/styles.xml b/res/values/styles.xml index 8723982..42f2837 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -107,7 +107,7 @@ </style> <style name="wifi_item"> - <item name="android:layout_width">200dip</item> + <item name="android:layout_width">match_parent</item> <item name="android:layout_height">wrap_content</item> <item name="android:layout_marginTop">8dip</item> <item name="android:layout_marginLeft">16dip</item> |