Skip to content
Commit e7cf4983 authored by Milo Sredkov's avatar Milo Sredkov
Browse files

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
parent de2e5ce1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment