From 564a1203ea3a401f9f24b04c5e8436184460dcd5 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Fri, 18 Mar 2022 23:54:57 +0000 Subject: [PATCH] Add a spinner for singleDevice Introduce a new singleDevice spinner with RelativeLayout. Test: atest CtsCompanionDeviceManagerCoreTestCases atest CtsCompanionDeviceManagerUiAutomationTestCases atest CtsOsTestCases:CompanionDeviceManagerTest Fix: 224798445 Bug: 225174174 Change-Id: I91e4182f47a644e659360ab262a93bf51a70b58c --- .../res/layout/activity_confirmation.xml | 219 ++++++++++-------- .../res/values/styles.xml | 7 + .../CompanionDeviceActivity.java | 18 +- 3 files changed, 137 insertions(+), 107 deletions(-) diff --git a/packages/CompanionDeviceManager/res/layout/activity_confirmation.xml b/packages/CompanionDeviceManager/res/layout/activity_confirmation.xml index c37054e9e98dd..c0e6c09d69ed0 100644 --- a/packages/CompanionDeviceManager/res/layout/activity_confirmation.xml +++ b/packages/CompanionDeviceManager/res/layout/activity_confirmation.xml @@ -12,120 +12,135 @@ See the License for the specific language governing permissions and limitations under the License. --> + - - - - - - - + android:layout_height="wrap_content" + android:layout_gravity="center" + android:minWidth="340dp"> - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +