summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMilo Sredkov <miloslav@google.com>2018-04-09 15:08:26 +0100
committerMilo Sredkov <miloslav@google.com>2018-04-11 16:49:39 +0100
commite7cf498342b225953f5071457ded0bb995656ffe (patch)
treef1626782ae93a6fbd587d08db1e8e93e4d3bf217 /tools/aapt2/java/JavaClassGenerator.cpp
parentde2e5ce108693aec806eaeebdd810344aa8bd788 (diff)
Allow extra height for the smartreply buttons
Currently ExpandableNotificationRow assumes that notifications can be up to @dimen/notification_max_height big and propagates that value to NotificationContentView. However, when smart reply buttons are present the content could get bigger than that and cause content to be truncated in an undesirable way. Add a smart_reply_button_max_height dimension and add it in addition to notification_max_height when smart reply buttons are present. Screenshots: - before: https://screenshot.googleplex.com/MssT483YPd5.png - after: https://screenshot.googleplex.com/k5StCMhb74t.png Bug: 72360319 Bug: 73949609 Test: In Notify post a Messaging notification with Large chices Change-Id: Ib3e43cff927bb5ca6dd941705cd280dc85f14a08
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions