public final void setCardViewElevation ( final int elevation ) { Condition . INSTANCE . ensureAtLeast ( elevation , 0 , "The elevation must be at least 0" ) ; Condition . INSTANCE . ensureAtMaximum ( elevation , ElevationUtil . MAX_ELEVATION , "The elevation must be at maximum " + ElevationUtil . MAX_ELEVATION ) ; this . cardViewElevation = elevation ; adaptCardViewElevation ( ) ; }
Sets the elevation of the card view which contains the currently shown prefernce fragment when using the split screen layout .