More fix for bug #8505156 WiFi properties dialog is having some issues in RTL mode
- use setPaddingRelative() instead of setPadding() - add missing android:textAlignment="viewStart" Change-Id: I8b981fb64686067de5998e4e218b04126bf2b2f8
This commit is contained in:
@@ -1086,7 +1086,7 @@ public class WifiSettings extends SettingsPreferenceFragment
|
||||
float titleHeight = resources.getFraction(R.dimen.setup_title_height, 1, 1);
|
||||
float sideMargin = resources.getFraction(R.dimen.setup_border_width, 1, 1);
|
||||
int bottom = resources.getDimensionPixelSize(R.dimen.setup_margin_bottom);
|
||||
setPadding(
|
||||
setPaddingRelative(
|
||||
(int) (parentWidth * sideMargin),
|
||||
0,
|
||||
(int) (parentWidth * sideMargin),
|
||||
|
Reference in New Issue
Block a user