Make Settings Slider Slices one row
To unify all Settings slices into one row, we change Settings Slider from user a header and a input range to only using an Input Range. Change-Id: I61715a45b29b6a52a47711811e5c6b2c83d50901 Fixes: 80430118 Test: robotests
This commit is contained in:
@@ -287,11 +287,10 @@ public class SliceBuilderUtils {
|
||||
|
||||
return new ListBuilder(context, sliceData.getUri(), ListBuilder.INFINITY)
|
||||
.setAccentColor(color)
|
||||
.setHeader(builder -> builder
|
||||
.addInputRange(builder -> builder
|
||||
.setTitle(sliceData.getTitle())
|
||||
.setSubtitle(subtitleText)
|
||||
.setPrimaryAction(primaryAction))
|
||||
.addInputRange(builder -> builder
|
||||
.setPrimaryAction(primaryAction)
|
||||
.setMax(sliderController.getMaxSteps())
|
||||
.setValue(sliderController.getSliderPosition())
|
||||
.setInputAction(actionIntent))
|
||||
|
Reference in New Issue
Block a user