diff options
author | Camera Software Integration <camswint@localhost> | 2015-12-15 15:57:16 -0800 |
---|---|---|
committer | Camera Software Integration <camswint@localhost> | 2015-12-22 16:29:21 +0530 |
commit | e453838825ef3825479f1ccb4eafbe9cb4f5697e (patch) | |
tree | 81557255deb44fd656270feb1debdf4dc36923d4 /res/layout | |
parent | a08374dd5c4e256fefda7bfb66f54b81295c8951 (diff) | |
download | android_packages_apps_Snap-e453838825ef3825479f1ccb4eafbe9cb4f5697e.tar.gz android_packages_apps_Snap-e453838825ef3825479f1ccb4eafbe9cb4f5697e.tar.bz2 android_packages_apps_Snap-e453838825ef3825479f1ccb4eafbe9cb4f5697e.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/layout')
-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 c7bfa8684..fdf63f778 100644 --- a/res/layout/list_menu_item.xml +++ b/res/layout/list_menu_item.xml @@ -36,8 +36,8 @@ 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_marginRight="15dp" + android:layout_alignParentStart="true" + android:layout_marginEnd="15dp" android:gravity="center" /> <TextView @@ -45,7 +45,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignTop="@+id/list_image" - 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:shadowColor="@android:color/black" android:shadowDx="1" android:shadowDy="1" |