summaryrefslogtreecommitdiffstats
path: root/res/layout-port/first_run_cling.xml
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2013-10-10 16:28:52 -0700
committerWinson Chung <winsonc@google.com>2013-10-10 17:18:53 -0700
commitf7e11e908090bd4f8ed1da4d6feb21e57e8bd9e0 (patch)
tree11ad08ab3bdf0ed2bb139111b4d3959a109f2766 /res/layout-port/first_run_cling.xml
parentd1e474a92e47171a985738144887e1f2e46c7768 (diff)
downloadandroid_packages_apps_Trebuchet-f7e11e908090bd4f8ed1da4d6feb21e57e8bd9e0.tar.gz
android_packages_apps_Trebuchet-f7e11e908090bd4f8ed1da4d6feb21e57e8bd9e0.tar.bz2
android_packages_apps_Trebuchet-f7e11e908090bd4f8ed1da4d6feb21e57e8bd9e0.zip
Fixing RTL issues with Clings. (Bug 11008488)
Change-Id: I78f891eabab53d6ded18f7c843504219d71e2883
Diffstat (limited to 'res/layout-port/first_run_cling.xml')
-rw-r--r--res/layout-port/first_run_cling.xml17
1 files changed, 11 insertions, 6 deletions
diff --git a/res/layout-port/first_run_cling.xml b/res/layout-port/first_run_cling.xml
index 9baee64b7..4830e5df8 100644
--- a/res/layout-port/first_run_cling.xml
+++ b/res/layout-port/first_run_cling.xml
@@ -54,11 +54,13 @@
<TextView
style="@style/ClingHintText"
android:id="@+id/search_bar_hint"
- android:layout_width="160dp"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top|end"
android:layout_marginEnd="10dp"
android:layout_marginTop="65dp"
+ android:gravity="center_horizontal"
+ android:maxWidth="160dp"
android:visibility="gone"
android:drawableTop="@drawable/cling_arrow_up"
android:drawablePadding="5dp"
@@ -66,23 +68,26 @@
<TextView
style="@style/ClingHintText"
android:id="@+id/custom_content_hint"
- android:layout_width="160dp"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_gravity="top"
+ android:layout_gravity="top|start"
android:layout_marginStart="10dp"
+ android:layout_marginEnd="10dp"
android:layout_marginTop="100dp"
+ android:maxWidth="160dp"
android:visibility="gone"
- android:drawableStart="@drawable/cling_arrow_left"
+ android:drawableStart="@drawable/cling_arrow_start"
android:drawablePadding="10dp"
android:text="@string/first_run_cling_custom_content_hint" />
<TextView
style="@style/ClingHintText"
- android:layout_width="160dp"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_marginEnd="10dp"
android:layout_marginBottom="85dp"
- android:drawableEnd="@drawable/cling_arrow_right"
+ android:maxWidth="180dp"
+ android:drawableEnd="@drawable/cling_arrow_end"
android:drawablePadding="5dp"
android:text="@string/first_run_cling_create_screens_hint" />
</FrameLayout>