OSDN Git Service

Stack fingerprint buttons on small screens
authorMaurice Lam <yukl@google.com>
Tue, 10 Apr 2018 18:43:21 +0000 (11:43 -0700)
committerMaurice Lam <yukl@google.com>
Tue, 10 Apr 2018 18:56:28 +0000 (18:56 +0000)
Test: Manual
Bug: 77827590
Change-Id: Icfe34d3740af2566be019c329b96b12033d33959

res/layout/fingerprint_enroll_finish_base_footer.xml
res/layout/fingerprint_enroll_introduction_footer.xml

index b3b9c74..4c257fa 100644 (file)
@@ -16,8 +16,9 @@
 -->
 
 <!-- TODO: Use aapt:attr when it is fixed (b/36809755) -->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-    style="@style/SuwGlifButtonBar"
+<com.android.setupwizardlib.view.ButtonBarLayout
+    xmlns:android="http://schemas.android.com/apk/res/android"
+    style="@style/SuwGlifButtonBar.Stackable"
     android:layout_width="match_parent"
     android:layout_height="wrap_content">
 
@@ -40,4 +41,4 @@
         android:layout_height="wrap_content"
         android:text="@string/security_settings_fingerprint_enroll_done" />
 
-</LinearLayout>
+</com.android.setupwizardlib.view.ButtonBarLayout>
index 17420fe..b2d6973 100644 (file)
@@ -16,8 +16,9 @@
 -->
 
 <!-- TODO: Use aapt:attr when it is fixed (b/36809755) -->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-    style="@style/SuwGlifButtonBar"
+<com.android.setupwizardlib.view.ButtonBarLayout
+    xmlns:android="http://schemas.android.com/apk/res/android"
+    style="@style/SuwGlifButtonBar.Stackable"
     android:layout_width="match_parent"
     android:layout_height="wrap_content">
 
@@ -40,4 +41,4 @@
         android:layout_height="wrap_content"
         android:text="@string/suw_next_button_label" />
 
-</LinearLayout>
+</com.android.setupwizardlib.view.ButtonBarLayout>