From cd3fbba9b70ec0486539ee896c3c159e810c9418 Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Fri, 22 May 2015 11:59:43 -0700 Subject: [PATCH] [WifiSetup] Align to mac address to locale start Set the textDirection of the mac address view to "locale" instead of the inherited default of "firstStrong", so that the address itself is always aligned with the label. Bug: 21396886 Change-Id: I143ec069bde56d34484e8839c60386de268bb930 --- res/layout/setup_wifi_mac_address.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/res/layout/setup_wifi_mac_address.xml b/res/layout/setup_wifi_mac_address.xml index 8f5703b3428..60f321261a8 100644 --- a/res/layout/setup_wifi_mac_address.xml +++ b/res/layout/setup_wifi_mac_address.xml @@ -21,7 +21,8 @@ android:gravity="center_vertical" android:orientation="vertical" android:paddingStart="?android:attr/listPreferredItemPaddingStart" - android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"> + android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" + android:textDirection="locale">