diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2013-01-17 16:33:25 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-01-17 16:33:25 +0000 |
commit | fd50438e8ed3dad5e9355bd6e34d7d419aaa553c (patch) | |
tree | 5115dc0c513416f877fd40a7018875fe18a22956 /src/com/android/settings/wifi | |
parent | b791c4b11de828f6a14e0ececcd77aefcade1ded (diff) | |
parent | b27223f139248f92637997378d7a38d7d24f6b02 (diff) | |
download | packages_apps_Settings-fd50438e8ed3dad5e9355bd6e34d7d419aaa553c.tar.gz packages_apps_Settings-fd50438e8ed3dad5e9355bd6e34d7d419aaa553c.tar.bz2 packages_apps_Settings-fd50438e8ed3dad5e9355bd6e34d7d419aaa553c.zip |
Merge "Fix Switches padding for Settings app"
Diffstat (limited to 'src/com/android/settings/wifi')
-rw-r--r-- | src/com/android/settings/wifi/WifiSettings.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/wifi/WifiSettings.java b/src/com/android/settings/wifi/WifiSettings.java index 8007866e8..60f89b767 100644 --- a/src/com/android/settings/wifi/WifiSettings.java +++ b/src/com/android/settings/wifi/WifiSettings.java @@ -379,7 +379,7 @@ public class WifiSettings extends SettingsPreferenceFragment if (preferenceActivity.onIsHidingHeaders() || !preferenceActivity.onIsMultiPane()) { final int padding = activity.getResources().getDimensionPixelSize( R.dimen.action_bar_switch_padding); - actionBarSwitch.setPadding(0, 0, padding, 0); + actionBarSwitch.setPaddingRelative(0, 0, padding, 0); activity.getActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM, ActionBar.DISPLAY_SHOW_CUSTOM); activity.getActionBar().setCustomView(actionBarSwitch, new ActionBar.LayoutParams( |