public void setSplitterPositionPercent ( float position ) { mSplitterPosition = Integer . MIN_VALUE ; mSplitterPositionPercent = clamp ( position , 0 , 1 ) ; remeasure ( ) ; notifySplitterPositionChanged ( false ) ; }
Sets the current position of the splitter as a percentage of the layout .