summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorGus Prevas <kprevas@google.com>2018-10-11 11:24:23 -0400
committerGus Prevas <kprevas@google.com>2018-10-15 09:42:06 -0400
commit9cc966012f55e4ceb561f4648642ed4ef80dc127 (patch)
tree7c893e020c61d504e9e028f4933e288269265cab /tools/aapt2/java/JavaClassGenerator_test.cpp
parent47e33057f7f8e947a2700fe7a48ce66c8396584b (diff)
Fixes touch ripples on media buttons.
This change makes touch ripples appear correctly on the action buttons on media notifications. This involves the following changes: - NotificationViewWrapper.onReinflated() sets the notification content root's background to transparent rather than null when transferring the background color to the NotificationBackgroundView. This gives the ripples a surface to draw on. - The RemoteViews for the media templates are changed to use a fixed set of buttons instead of removing and re-adding them on every update. This prevents the update caused by whatever action the tap invokes from interrupting the ripples. - A method is added to RemoteViews allowing the ripple color to be specified. This allows us to change the ripple color to match the foreground color of the controls, which is necessary for the ripples to show up against a dark background. Test: manual Change-Id: I907f9a1a75efb48da496133ad357fc5150de4410 Fixes: 35856702
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions