private void obtainDialogButtonTextColor ( @ NonNull final TypedArray typedArray ) { ColorStateList colorStateList = typedArray . getColorStateList ( R . styleable . DialogPreference_dialogButtonTextColor ) ; if ( colorStateList != null ) { setDialogButtonTextColor ( colorStateList ) ; } }
Obtains the button text color of the dialog which is shown by the preference from a specific typed array .