private void obtainDialogGravity ( @ NonNull final TypedArray typedArray ) { int gravity = typedArray . getInteger ( R . styleable . DialogPreference_dialogGravity , - 1 ) ; setDialogGravity ( gravity ) ; }
Obtains the gravity of the preference s dialog from a specific typed array .