OSDN Git Service

Minor UI adjustments to a11y button chooser
authorCasey Burkhardt <caseyburkhardt@google.com>
Mon, 17 Apr 2017 23:36:09 +0000 (16:36 -0700)
committerCasey Burkhardt <caseyburkhardt@google.com>
Mon, 17 Apr 2017 23:36:09 +0000 (16:36 -0700)
commit4c6436f880948a5c1bc85a9ee583df5156af1980
treec109e96093f42058308674865951e7125ed067ed
parent4fba6e62a1a81b27077a2f9b78251c87ca676050
Minor UI adjustments to a11y button chooser

- Allow scrim-touch or downward-drag to dismiss the chooser
- Ensure the bottom drawer takes up only as much space as it needs
  to prevent it from being draggable

Bug: 36871827
Test: Manual - verified appearance and behavior changes
Change-Id: I1779814a7ee386f4a32faed5c0eb799ebe4706e5
core/java/com/android/internal/app/AccessibilityButtonChooserActivity.java
core/res/res/layout/accessibility_button_chooser.xml