349e2285f933743829cdef1810106d62d0f1c4fc |
|
03-May-2018 |
Anthony Chen <ajchen@google.com> |
Expand the touch target size for supplemental icons. To accomplish this, use a TouchDelegate. This means that only the supplemental icon can have a TouchDelegate since all other views share a common parent. If there is a need for other views to also have an expanded touch target, that refactoring can happen at that time. Bug: 79108547 Test: car:connectedCheck Test: build sample app and check touch targets for TextListItemActivity and SeekbarListItemActivity. Change-Id: I588b48ae8691b2931a835323623c8cff3f3babf1
/frameworks/support/car/src/main/java/androidx/car/widget/MinTouchTargetHelper.java
|