Disable sliceView scrolling in the homepage.
Set isScrollable() to false so as to have the "see more" option. Fixes: 117626982 Test: robotest Change-Id: Ie0b8a207fb0c1eff41a98cc897e5f8cf29ccce0a
This commit is contained in:
@@ -82,6 +82,7 @@ public class SliceContextualCardRenderer implements ContextualCardRenderer,
|
||||
return;
|
||||
}
|
||||
|
||||
cardHolder.sliceView.setScrollable(false);
|
||||
cardHolder.sliceView.setTag(uri);
|
||||
//TODO(b/114009676): We will soon have a field to decide what slice mode we should set.
|
||||
cardHolder.sliceView.setMode(SliceView.MODE_LARGE);
|
||||
|
Reference in New Issue
Block a user