Output switcher panel requires large title icon for Slice slider style
-Add "VIEW_TYPE_SLIDER_LARGE_ICON" to be a new panel type which would enlarge its title icon -Set "VIEW_TYPE_SLIDER_LARGE_ICON" to MediaOutputPanel and MediaOutputGroupPanel -Extend slider style and add customized icon size -Add test cases Bug: 157208551 Test: make -j42 RunSettingsRoboTests Change-Id: I9b4de4aa552e8b26e766411f7eff93ea1a2d1910
This commit is contained in:
@@ -75,6 +75,8 @@ public class PanelSlicesAdapter
|
||||
View view;
|
||||
if (viewType == PanelContent.VIEW_TYPE_SLIDER) {
|
||||
view = inflater.inflate(R.layout.panel_slice_slider_row, viewGroup, false);
|
||||
} else if (viewType == PanelContent.VIEW_TYPE_SLIDER_LARGE_ICON) {
|
||||
view = inflater.inflate(R.layout.panel_slice_slider_row_large_icon, viewGroup, false);
|
||||
} else {
|
||||
view = inflater.inflate(R.layout.panel_slice_row, viewGroup, false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user