diff options
| author | kaiyiz <kaiyiz@codeaurora.org> | 2014-10-15 10:00:25 +0800 |
|---|---|---|
| committer | Xiaojing Zhang <zhangx@codeaurora.org> | 2014-11-04 20:38:29 -0800 |
| commit | 57261ec71cf73b073cc0cd2858730d60d3c4cad3 (patch) | |
| tree | 774f400af59de92565cb9c514e4c0683b3017098 /res/layout-port | |
| parent | 767f128a9b34e0c46aa7c9db5ce04ea2b164f2f4 (diff) | |
| download | android_packages_apps_Gallery2-57261ec71cf73b073cc0cd2858730d60d3c4cad3.tar.gz android_packages_apps_Gallery2-57261ec71cf73b073cc0cd2858730d60d3c4cad3.tar.bz2 android_packages_apps_Gallery2-57261ec71cf73b073cc0cd2858730d60d3c4cad3.zip | |
Gallery2: Reginal requirement for RTL
Convert left/right layout properties to start/end properties.
Change-Id: Icaa0388cafbf1133fb37933f0ca1452d8d20968b
Diffstat (limited to 'res/layout-port')
| -rw-r--r-- | res/layout-port/camera_controls.xml | 2 | ||||
| -rw-r--r-- | res/layout-port/keyguard_widget.xml | 8 | ||||
| -rw-r--r-- | res/layout-port/review_module_control.xml | 4 | ||||
| -rw-r--r-- | res/layout-port/switcher_popup.xml | 6 |
4 files changed, 10 insertions, 10 deletions
diff --git a/res/layout-port/camera_controls.xml b/res/layout-port/camera_controls.xml index 5f89830c5..e3ad8c152 100644 --- a/res/layout-port/camera_controls.xml +++ b/res/layout-port/camera_controls.xml @@ -31,7 +31,7 @@ android:layout_height="64dip" android:layout_gravity="bottom|right" android:layout_marginBottom="6dip" - android:layout_marginRight="-5dip" /> + android:layout_marginEnd="-5dip" /> <com.android.camera.ui.PieMenuButton android:id="@+id/menu" diff --git a/res/layout-port/keyguard_widget.xml b/res/layout-port/keyguard_widget.xml index 28b59c44d..40a601f57 100644 --- a/res/layout-port/keyguard_widget.xml +++ b/res/layout-port/keyguard_widget.xml @@ -32,15 +32,15 @@ <include layout="@layout/menu_indicators_keyguard" android:layout_width="64dip" android:layout_height="64dip" - android:layout_toRightOf="@id/shutter" + android:layout_toEndOf="@id/shutter" android:layout_alignParentBottom="true" android:layout_marginBottom="6dip" - android:layout_marginRight="-5dip" /> + android:layout_marginEnd="-5dip" /> <ImageView android:id="@+id/camera_switcher" style="@style/SwitcherButton" - android:layout_toLeftOf="@id/shutter" + android:layout_toStartOf="@id/shutter" android:layout_alignParentBottom="true" android:layout_marginBottom="2dip" android:scaleType="center" @@ -50,7 +50,7 @@ <ImageView android:id="@+id/camera_switcher_ind" style="@style/SwitcherButton" - android:layout_toLeftOf="@id/shutter" + android:layout_toStartOf="@id/shutter" android:layout_alignParentBottom="true" android:layout_marginBottom="2dip" android:scaleType="center" diff --git a/res/layout-port/review_module_control.xml b/res/layout-port/review_module_control.xml index 3c4280ed2..c7b04f79a 100644 --- a/res/layout-port/review_module_control.xml +++ b/res/layout-port/review_module_control.xml @@ -23,7 +23,7 @@ android:contentDescription="@string/accessibility_review_ok" android:visibility="gone" android:scaleType="center" - android:layout_gravity="right|bottom" + android:layout_gravity="end|bottom" android:background="@drawable/bg_pressed" android:src="@drawable/ic_menu_done_holo_light" /> @@ -42,7 +42,7 @@ android:contentDescription="@string/accessibility_review_cancel" android:visibility="gone" android:scaleType="center" - android:layout_gravity="left|bottom" + android:layout_gravity="start|bottom" android:background="@drawable/bg_pressed" android:src="@drawable/ic_menu_cancel_holo_light" /> </com.android.camera.ui.RotatableLayout> diff --git a/res/layout-port/switcher_popup.xml b/res/layout-port/switcher_popup.xml index 8fe09a361..609f869db 100644 --- a/res/layout-port/switcher_popup.xml +++ b/res/layout-port/switcher_popup.xml @@ -19,10 +19,10 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom|left" - android:layout_marginLeft="8dip" + android:layout_marginStart="8dip" android:layout_marginBottom="8dip" - android:paddingLeft="16dip" - android:paddingRight="16dip" + android:paddingStart="16dip" + android:paddingEnd="16dip" android:paddingTop="8dip" android:paddingBottom="8dip" android:background="#80000000" /> |
