private void obtainHeightHint ( @ NonNull final TypedArray typedArray ) { CharSequence obtainedHint = typedArray . getText ( R . styleable . ResolutionPreference_heightHint ) ; if ( obtainedHint == null ) { obtainedHint = getContext ( ) . getText ( R . string . resolution_preference_height_hint ) ; } setHeightHint ( obtainedHint ) ; }
Obtains the hint of the edit text widget which allows to enter the height of the resolution from a specific typed array .