Add dismiss option for hotseat items

Bug: 145556909
Test:Manual
Change-Id: Ia40d22226b5cf9482f19f82ef08e399d294be6da
This commit is contained in:
Samuel Fufa
2019-12-02 16:01:05 -08:00
parent 993aef828a
commit a18eb686d0
5 changed files with 46 additions and 13 deletions
@@ -86,6 +86,13 @@ public class NotificationItemView {
}
}
/**
* Sets width for notification footer and spaces out items evenly
*/
public void setFooterWidth(int footerWidth) {
mFooter.setWidth(footerWidth);
}
public void removeFooter() {
if (mContainer.indexOfChild(mFooter) >= 0) {
mContainer.removeView(mFooter);