Multi-line titles supporting RTL
In order to support multi-line titles in an RTL configuration we have to override the androidx preferences library and manually set the text direction of the list view to be locale Bug: 279880739 Test: Manual Change-Id: I1f837a14a289e2ced8f8f3655f5ce061b37baa74
This commit is contained in:
1 parent
052045907c
commit
0aae6049e2
1 file changed
+2
@@ -249,6 +249,8 @@ public class SettingsActivity extends FragmentActivity
|
||||
bottomPadding + insets.getSystemWindowInsetBottom());
|
||||
return insets.consumeSystemWindowInsets();
|
||||
});
|
||||
// Overriding Text Direction in the Androidx preference library to support RTL
|
||||
view.setTextDirection(View.TEXT_DIRECTION_LOCALE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user