From df1eda8ef7c9b8ede9e125777d6adc67e0585c9b Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Wed, 7 Aug 2013 20:14:44 -0700 Subject: [PATCH] Developer option to force RTL layout direction Sets a global setting and system property and forces a config change when developer selects to force RTL screen layout direction. Bug: 10244047 Change-Id: Id91e52be5e492515ff1eef3cbccfb08e944bfc92 --- res/values/strings.xml | 5 +++++ res/xml/development_prefs.xml | 5 +++++ .../android/settings/DevelopmentSettings.java | 20 +++++++++++++++++++ 3 files changed, 30 insertions(+) diff --git a/res/values/strings.xml b/res/values/strings.xml index 6b9cf74e417..a4e51e05bc8 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -4155,6 +4155,11 @@ Show clip bounds, margins, etc. + + Force RTL layout direction + + Force screen layout direction to RTL for all locales + Show CPU usage diff --git a/res/xml/development_prefs.xml b/res/xml/development_prefs.xml index db003d30b14..3a473bb8303 100644 --- a/res/xml/development_prefs.xml +++ b/res/xml/development_prefs.xml @@ -130,6 +130,11 @@ android:title="@string/debug_layout" android:summary="@string/debug_layout_summary"/> + +