diff options
author | Camera Software Integration <camswint@localhost> | 2015-12-15 15:57:16 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-08-21 18:46:32 -0700 |
commit | e3b3071086ca5bb3c32e0adf4eb1b74264dbccf9 (patch) | |
tree | 75bb54f92d473d3d4c2bc8e72246de0c1dfa0ca0 /res | |
parent | e3d36c451e9e66c7786c169248c3a8aa06b67de7 (diff) | |
download | android_packages_apps_Snap-e3b3071086ca5bb3c32e0adf4eb1b74264dbccf9.tar.gz android_packages_apps_Snap-e3b3071086ca5bb3c32e0adf4eb1b74264dbccf9.tar.bz2 android_packages_apps_Snap-e3b3071086ca5bb3c32e0adf4eb1b74264dbccf9.zip |
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
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/list_menu_item.xml | 8 |
1 files 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" /> <TextView android:id="@+id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_toRightOf="@+id/list_image" + android:layout_toEndOf="@+id/list_image" android:textColor="@android:color/white" android:textStyle="bold" /> @@ -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" |