diff options
author | Kevin <kevhan@google.com> | 2019-04-29 15:15:17 -0700 |
---|---|---|
committer | Kevin <kevhan@google.com> | 2019-04-29 15:21:08 -0700 |
commit | dd165d2d7cac289df4de379cc8bad98d60773cc0 (patch) | |
tree | f09f80ad4fab03885bf2b2810677345c9e4c200a /go/quickstep/res/values | |
parent | 384a0aade02b06d161a14ba04cbe840cd3762286 (diff) | |
download | packages_apps_Trebuchet-dd165d2d7cac289df4de379cc8bad98d60773cc0.tar.gz packages_apps_Trebuchet-dd165d2d7cac289df4de379cc8bad98d60773cc0.tar.bz2 packages_apps_Trebuchet-dd165d2d7cac289df4de379cc8bad98d60773cc0.zip |
Align layout to dp grid for landscape
Set a fixed width for the recyclerview and center it for landscape mode.
In addition, put a margin below the clear all button as we no longer
have the nav bar padding the area below.
Bug: 131610834
Test: Manual; See recents UI in landscape mode
Change-Id: I8c74d2d7cc363a76c4c978befdc975693d700f86
Diffstat (limited to 'go/quickstep/res/values')
-rw-r--r-- | go/quickstep/res/values/dimens.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/go/quickstep/res/values/dimens.xml b/go/quickstep/res/values/dimens.xml index 0be5ee625..60e997a84 100644 --- a/go/quickstep/res/values/dimens.xml +++ b/go/quickstep/res/values/dimens.xml @@ -15,6 +15,8 @@ limitations under the License. --> <resources> + <dimen name="recents_list_width">320dp</dimen> + <dimen name="task_item_height">60dp</dimen> <dimen name="task_item_top_margin">16dp</dimen> <dimen name="task_thumbnail_icon_horiz_margin">16dp</dimen> @@ -23,5 +25,6 @@ <dimen name="clear_all_item_view_height">36dp</dimen> <dimen name="clear_all_item_view_top_margin">20dp</dimen> + <dimen name="clear_all_item_view_landscape_bottom_margin">20dp</dimen> <dimen name="clear_all_button_width">106dp</dimen> </resources>
\ No newline at end of file |