Adjust layout for Slice InputRange
-Make title to slider aligned -Add test cases Bug: 147462114 Test: make -j50 RunSettingsRoboTests Change-Id: Ib1d076f77eae75e4f861a80873117b6254729fe5
This commit is contained in:
@@ -30,6 +30,8 @@ import java.util.List;
|
||||
*/
|
||||
public interface PanelContent extends Instrumentable {
|
||||
|
||||
int VIEW_TYPE_SLIDER = 1;
|
||||
|
||||
/**
|
||||
* @return a icon for the title of the Panel.
|
||||
*/
|
||||
@@ -101,4 +103,11 @@ public interface PanelContent extends Instrumentable {
|
||||
* @param callback the callback to add.
|
||||
*/
|
||||
default void registerCallback(PanelContentCallback callback) {}
|
||||
|
||||
/**
|
||||
* @return a view type to customized it. 0 for default layout.
|
||||
*/
|
||||
default int getViewType() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user