Add dismiss option for hotseat items
Bug: 145556909 Test:Manual Change-Id: Ia40d22226b5cf9482f19f82ef08e399d294be6da
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user