diff options
| author | Andrew Sapperstein <asapperstein@google.com> | 2014-03-04 17:56:45 -0800 |
|---|---|---|
| committer | Andrew Sapperstein <asapperstein@google.com> | 2014-03-04 17:56:45 -0800 |
| commit | ae908d2985da811f8285314ad995390a8cfeecaf (patch) | |
| tree | dd44d8831e1db460e7a92f5200ef99687c4e831a /chips | |
| parent | 0c58c3707163765a65847d07ada963627eccb671 (diff) | |
| download | android_frameworks_ex-ae908d2985da811f8285314ad995390a8cfeecaf.tar.gz android_frameworks_ex-ae908d2985da811f8285314ad995390a8cfeecaf.tar.bz2 android_frameworks_ex-ae908d2985da811f8285314ad995390a8cfeecaf.zip | |
RTL - properly set text alignment and direction.
Fixes b/12569794.
Change-Id: I5c2bb4195f8073bb7778b98dcf332d3efbffb934
Diffstat (limited to 'chips')
| -rw-r--r-- | chips/res/values-sw600dp/styles.xml | 5 | ||||
| -rw-r--r-- | chips/res/values/styles.xml | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/chips/res/values-sw600dp/styles.xml b/chips/res/values-sw600dp/styles.xml index b6014ea..00988a9 100644 --- a/chips/res/values-sw600dp/styles.xml +++ b/chips/res/values-sw600dp/styles.xml @@ -13,7 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. --> -<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> +<resources xmlns:tools="http://schemas.android.com/tools" + xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <style name="RecipientEditTextView" parent="@android:attr/autoCompleteTextViewStyle"> <item name="android:paddingLeft">8dip</item> <item name="android:paddingRight">4dip</item> @@ -25,5 +26,7 @@ <item name="android:layout_width">match_parent</item> <item name="android:dropDownVerticalOffset">0dip</item> <item name="android:dropDownHorizontalOffset">-4dip</item> + <item name="android:textAlignment" tools:ignore="NewApi">viewStart</item> + <item name="android:textDirection" tools:ignore="NewApi">locale</item> </style> </resources> diff --git a/chips/res/values/styles.xml b/chips/res/values/styles.xml index 83f96b4..9b60cde 100644 --- a/chips/res/values/styles.xml +++ b/chips/res/values/styles.xml @@ -13,7 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. --> -<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> +<resources xmlns:tools="http://schemas.android.com/tools" + xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <style name="RecipientEditTextView" parent="@android:attr/autoCompleteTextViewStyle"> <item name="android:inputType">textEmailAddress|textMultiLine</item> <item name="android:imeOptions">actionNext|flagNoFullscreen</item> @@ -25,6 +26,8 @@ <item name="android:dropDownHorizontalOffset">-16dip</item> <item name="android:minHeight">48dip</item> <item name="android:lineSpacingExtra">@dimen/line_spacing_extra</item> + <item name="android:textAlignment" tools:ignore="NewApi">viewStart</item> + <item name="android:textDirection" tools:ignore="NewApi">locale</item> </style> <style name="ChipTitleStyle"> |
