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