OSDN Git Service

Increase SearchView touch targets to meet GAR3.
authorAurimas Liutikas <aurimas@google.com>
Fri, 15 Apr 2016 20:55:53 +0000 (13:55 -0700)
committerAurimas Liutikas <aurimas@google.com>
Fri, 15 Apr 2016 20:59:39 +0000 (13:59 -0700)
commitc8fd00a046b6228095f8bb440be5d6ce1c260f6e
tree2575f2893ccfda9a11293e7b9da95f9f4a2617ac
parent82a0ccac6a74b17b6499bc06bb7eb0e5f942887a
Increase SearchView touch targets to meet GAR3.

- Allow SearchView to expand to 48dp height if possible.
- Make the search clear button have 48dp height if possible.
- Expand the search TextView touch target height to 48dp is possible.

Framework version of patch ag/912646

Bug: 19479861
Change-Id: Ibaaef2afa20b8c05eaac8f028df4f616f2f96eb1
core/java/android/widget/SearchView.java
core/res/res/layout/search_view.xml
core/res/res/values/dimens.xml
core/res/res/values/symbols.xml