private void obtainDialogMessageColor(@NonNull final TypedArray typedArray) {
        setDialogMessageColor(
                typedArray.getColor(R.styleable.DialogPreference_dialogMessageColor, -1));
    }
private void obtainDialogMessageColor ( @ NonNull final TypedArray typedArray ) { setDialogMessageColor ( typedArray . getColor ( R . styleable . DialogPreference_dialogMessageColor , - 1 ) ) ; }
Obtains the message color of the dialog, which is shown by the preference, from a specific
typed array.

@param typedArray
The typed array, the message color should be obtained from, as an instance of the
class {@link TypedArray}. The typed array may not be null