Add Icon at the start of the first row for all contextualcards
- set Icon as a title item rather than an end item in slice builders - call showTitleItems in renderer Test: robotest Bug: 119639527 Change-Id: I043173968ceb3d34e38c2e43ad824b923e647d47
This commit is contained in:
@@ -132,6 +132,7 @@ public class SliceContextualCardRenderer implements ContextualCardRenderer,
|
||||
cardHolder.sliceView.setOnSliceActionListener(this);
|
||||
|
||||
// Customize slice view for Settings
|
||||
cardHolder.sliceView.showTitleItems(true);
|
||||
if (card.isLargeCard()) {
|
||||
cardHolder.sliceView.showHeaderDivider(true);
|
||||
cardHolder.sliceView.showActionDividers(true);
|
||||
|
Reference in New Issue
Block a user