Added auto-fill tests for Spinner.
Bug: 33550221
Bug: 33802548
Test: CtsAutoFillServiceTestCases pass
Change-Id: I2fa03e2b079a9763c22c677a94da09764f2e1d4e
diff --git a/tests/autofillservice/res/layout/checkout_activity.xml b/tests/autofillservice/res/layout/checkout_activity.xml
index bfa814b..4197e43 100644
--- a/tests/autofillservice/res/layout/checkout_activity.xml
+++ b/tests/autofillservice/res/layout/checkout_activity.xml
@@ -51,9 +51,9 @@
android:layout_height="wrap_content"
android:text="Expiration" />
- <EditText
+ <Spinner
android:id="@+id/cc_expiration"
- android:layout_width="match_parent"
+ android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout>
@@ -90,9 +90,9 @@
<CheckBox
android:id="@+id/save_cc"
- android:text="Save CC?"
android:layout_width="match_parent"
- android:layout_height="wrap_content"/>
+ android:layout_height="wrap_content"
+ android:text="Save CC?" />
<LinearLayout
android:layout_width="match_parent"