diff options
author | Kevin <kevhan@google.com> | 2019-04-29 17:38:04 -0700 |
---|---|---|
committer | Kevin <kevhan@google.com> | 2019-04-30 10:33:55 -0700 |
commit | d8144a63043edf7308f11a1055e5dc35dd2f43cf (patch) | |
tree | 336d6ef47337b7a7099003d6deae3f3ca9012fc2 /quickstep/tests | |
parent | 32d475bca46577d4482d083fc42f8a5e6f82fea0 (diff) | |
download | android_packages_apps_Trebuchet-d8144a63043edf7308f11a1055e5dc35dd2f43cf.tar.gz android_packages_apps_Trebuchet-d8144a63043edf7308f11a1055e5dc35dd2f43cf.tar.bz2 android_packages_apps_Trebuchet-d8144a63043edf7308f11a1055e5dc35dd2f43cf.zip |
Overlap insets with item margins
The system insets already create visual space for us, so there is no
need to add additional margin if we already have the insets acting as a
buffer. So we can just overlap them, preventing scenarios where we have
too much scrollable white space.
As a bonus, we get a more robust way of determining the clear all
button's bottom margins as we now base it directly off whether the
insets cover the space as opposed to using the orientation (which is
an indirect way of knowing the insets).
Bug: 131636735
Test: Test on 320x569 mdpi. Matches UX spec.
Change-Id: I6a3a3a5475ed303ed21bca3ed3cc363276c6e745
Diffstat (limited to 'quickstep/tests')
0 files changed, 0 insertions, 0 deletions