From 6a305c039bd2d4d5c1e627333c1715ae33e10903 Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Tue, 18 Apr 2017 15:15:21 -0700 Subject: [PATCH] Force data usage bottom label to be LTR. The bottom label has to be LTR to be in sync with the main view above it, which does not support RTL. Change-Id: Ib5cccd1cccb249dad0badd36f4d491faf0bbb562 Fix: 37222561 Test: visual --- .../SettingsLib/res/layout/usage_view.xml | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/packages/SettingsLib/res/layout/usage_view.xml b/packages/SettingsLib/res/layout/usage_view.xml index 1d56668a82d0c..151d1ee3b8999 100644 --- a/packages/SettingsLib/res/layout/usage_view.xml +++ b/packages/SettingsLib/res/layout/usage_view.xml @@ -76,17 +76,23 @@ android:id="@+id/bottom_label_space" android:layout_width="@dimen/usage_graph_labels_width" android:layout_height="wrap_content"/> - - - + android:layout_weight="1" + android:orientation="horizontal" + android:layoutDirection="ltr"> + - + + +