summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/wifi
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2013-01-17 16:33:25 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-01-17 16:33:25 +0000
commitfd50438e8ed3dad5e9355bd6e34d7d419aaa553c (patch)
tree5115dc0c513416f877fd40a7018875fe18a22956 /src/com/android/settings/wifi
parentb791c4b11de828f6a14e0ececcd77aefcade1ded (diff)
parentb27223f139248f92637997378d7a38d7d24f6b02 (diff)
downloadpackages_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.java2
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(