From eb815415da35c68ba05cc57c844b46c69be99b02 Mon Sep 17 00:00:00 2001 From: Kevin Date: Mon, 29 Apr 2019 11:25:16 -0700 Subject: [PATCH 1/3] Layout aligned to dp grid for portrait (1/3) This CL sets fixed dp values for the recents item views based off the UX spec. Vertical margins will be handled by an item decorator in the next CL to handle special cases. Bug: 131610834 Test: Builds Change-Id: Ieb7936bd24933552844a6bd1bdb9e3101b8cdca4 --- go/quickstep/res/layout/clear_all_button.xml | 8 +++----- go/quickstep/res/layout/task_item_view.xml | 6 ++---- go/quickstep/res/values/dimens.xml | 6 ++++++ .../src/com/android/quickstep/views/IconRecentsView.java | 1 + 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/go/quickstep/res/layout/clear_all_button.xml b/go/quickstep/res/layout/clear_all_button.xml index be76d53661..85ccb88ca8 100644 --- a/go/quickstep/res/layout/clear_all_button.xml +++ b/go/quickstep/res/layout/clear_all_button.xml @@ -18,14 +18,12 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/clear_all_item_view" android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="@dimen/clear_all_item_view_height">