summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPetr Cermak <petrcermak@google.com>2018-01-29 10:36:07 +0000
committerPetr Cermak <petrcermak@google.com>2018-02-16 17:30:45 +0000
commit102431d5ebb138c1c0c6ebb4f5cae4032f7b41ad (patch)
tree908e75579dcd1640e3c65a78da5124194202b3cb /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent1cfc06a1e501f60f2573306f48d6fcff3f85c237 (diff)
Custom SmartReplyView layout
Implement SmartReplyView#onMeasure and SmartReplyView#onLayout according to the redlines in go/p-notifications: * Smart reply buttons can have at most 2 lines of text. * Squeeze buttons to 2 lines of text when necessary to fit more buttons. * Don't show buttons which have more than 2 lines of text or don't fit within the notification width. * Update button background and text color. Screenshot: https://screenshot.googleplex.com/cSM6Ve7qjb3.png Bug: 67765414 Test: atest SmartReplyViewTest Change-Id: Ia161c7f5669e7aef1b8c3480a8836784f0bde055
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions