Switch the order of lock and home screen tabs in image preview
Fixes: 157864788
Test: Manual
Change-Id: Ia9c5c149ea572846e29996ad198e57b70b49eeab
diff --git a/res/layout/fragment_image_preview_v2.xml b/res/layout/fragment_image_preview_v2.xml
index 204f614..62cc5df 100644
--- a/res/layout/fragment_image_preview_v2.xml
+++ b/res/layout/fragment_image_preview_v2.xml
@@ -107,10 +107,20 @@
android:layout_height="wrap_content"
android:background="@color/fullscreen_preview_background"
android:orientation="horizontal">
+ <TextView
+ android:id="@+id/home"
+ android:layout_width="0dp"
+ android:layout_height="64dp"
+ android:layout_weight="1"
+ android:background="?android:attr/selectableItemBackgroundBorderless"
+ android:paddingTop="20dp"
+ android:paddingBottom="20dp"
+ android:gravity="center"
+ android:text="@string/home_screen_message" />
<TextView
android:id="@+id/lock"
- android:layout_width="wrap_content"
+ android:layout_width="0dp"
android:layout_height="64dp"
android:layout_weight="1"
android:background="?android:attr/selectableItemBackgroundBorderless"
@@ -119,16 +129,6 @@
android:gravity="center"
android:text="@string/lock_screen_message" />
- <TextView
- android:id="@+id/home"
- android:layout_width="wrap_content"
- android:layout_height="64dp"
- android:layout_weight="1"
- android:background="?android:attr/selectableItemBackgroundBorderless"
- android:paddingTop="20dp"
- android:paddingBottom="20dp"
- android:gravity="center"
- android:text="@string/home_screen_message" />
</LinearLayout>
</LinearLayout>
</FrameLayout>