@ SuppressWarnings ( "unused" ) // Public API public void setAutoScaleEnabled ( boolean isAutoScaleEnabled ) { this . isAutoScaleEnabled = isAutoScaleEnabled ; for ( int i = 0 , size = foldableItemsMap . size ( ) ; i < size ; i ++ ) { foldableItemsMap . valueAt ( i ) . setAutoScaleEnabled ( isAutoScaleEnabled ) ; } }
Sets whether view should scale down to fit moving part into screen .