private void obtainDialogWindowBackground ( @ NonNull final TypedArray typedArray ) { int resourceId = typedArray . getResourceId ( R . styleable . DialogPreference_dialogWindowBackground , - 1 ) ; if ( resourceId != - 1 ) { setDialogWindowBackground ( resourceId ) ; } }
Obtains the window background of the dialog which is shown by the preference from a specific typed array .