From e3b3071086ca5bb3c32e0adf4eb1b74264dbccf9 Mon Sep 17 00:00:00 2001 From: Camera Software Integration Date: Tue, 15 Dec 2015 15:57:16 -0800 Subject: SnapdragonCamera: Fix camera layout issue in RTL The layout of setting menu is not placed properly in RTL. To fix the problem, replace 'left/right' layout properties with 'start/end'. Change-Id: Ib8d03ffa40712f1845fe7ab148b1a6f35fcc1124 CRs-fixed: 949931 --- res/layout/list_menu_item.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/res/layout/list_menu_item.xml b/res/layout/list_menu_item.xml index 025bb607d..d3cf15c2f 100644 --- a/res/layout/list_menu_item.xml +++ b/res/layout/list_menu_item.xml @@ -36,16 +36,16 @@ android:id="@+id/list_image" android:layout_width="@dimen/setting_item_icon_width" android:layout_height="@dimen/setting_item_icon_width" - android:layout_alignParentLeft="true" android:layout_centerVertical="true" - android:layout_marginRight="20dp" + android:layout_alignParentStart="true" + android:layout_marginEnd="20dp" android:gravity="center" /> @@ -55,7 +55,7 @@ android:layout_height="wrap_content" android:layout_below="@id/title" android:layout_marginTop="1dip" - android:layout_toRightOf="@+id/list_image" + android:layout_toEndOf="@+id/list_image" android:text="@string/crop_save" android:textColor="@color/white" android:textSize="10dip" -- cgit v1.2.3