commit | 7acbb778c48cd9df072c2610ecbdeb5f3255ba09 | [log] [tgz] |
---|---|---|
author | Anthony Chen <ajchen@google.com> | Fri Apr 07 16:45:25 2017 -0700 |
committer | Anthony Chen <ajchen@google.com> | Thu Apr 20 15:41:58 2017 -0700 |
tree | 8812f19ccf698ad3e30417d2dfb277a1bdc4d36d | |
parent | a59e95a0479a4fb3f9dcf049470b87a1a3890c7b [diff] |
Allow notifications to be smaller in width than its container. Add a width dimension that the children of the NotificationStackScrollLayout can use to make a separate MeasureSpec for its children. Also, adjust the translation of the row so that the row can be swiped off screen without any clipping if the width is smaller than the notification panel itself. Test: booted on phone and Android Auto headunit Bug: 36692077 Change-Id: Ic8bb8a707c4d91f4e38d5ee3461b406bf14d0042