Merge "Disable sliceView scrolling in the homepage."

This commit is contained in:
TreeHugger Robot
2018-10-12 05:05:03 +00:00
committed by Android (Google) Code Review
2 changed files with 13 additions and 0 deletions

View File

@@ -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);