Example usage for android.support.v4.app DialogFragment STYLE_NORMAL

List of usage examples for android.support.v4.app DialogFragment STYLE_NORMAL

Introduction

In this page you can find the example usage for android.support.v4.app DialogFragment STYLE_NORMAL.

Prototype

int STYLE_NORMAL

To view the source code for android.support.v4.app DialogFragment STYLE_NORMAL.

Click Source Link

Document

Style for #setStyle(int,int) : a basic, normal dialog.

Usage

From source file:de.atomfrede.android.scc.about.AboutDialogFragment.java

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setStyle(DialogFragment.STYLE_NORMAL, android.R.style.Theme_Holo_Light_Dialog);
}

From source file:com.keylesspalace.tusky.ViewMediaFragment.java

@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setStyle(DialogFragment.STYLE_NORMAL, R.style.Dialog_FullScreen);
}

From source file:de.enlightened.peris.PreviewDialogFragment.java

@Override
public void onCreate(final Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    this.opensans = Typeface.createFromAsset(getActivity().getAssets(), "fonts/opensans.ttf");
    final SharedPreferences appPreferences = getActivity().getSharedPreferences("prefs", 0);
    this.useShading = appPreferences.getBoolean("use_shading", false);
    this.useOpenSans = appPreferences.getBoolean("use_opensans", true);
    this.fontSize = appPreferences.getInt("font_size", DEFAULT_FONT_SIZE);
    this.setStyle(DialogFragment.STYLE_NORMAL, getTheme());
}

From source file:th.in.ffc.app.FFCIntentDiaglog.java

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    setStyle(DialogFragment.STYLE_NORMAL, android.R.style.Theme_Holo_Light_Dialog_NoActionBar);
    if (savedInstanceState != null)
        mIntent = savedInstanceState.getParcelable("intent");
}

From source file:com.fingerprint.FingerprintAuthenticationDialogFragment.java

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setStyle(DialogFragment.STYLE_NORMAL, android.R.style.Theme_Material_Light_Dialog);
    setRetainInstance(true);//from  w  w w.ja v  a  2s.  com
}

From source file:com.lloydtorres.stately.login.SwitchNationDialog.java

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
        setStyle(DialogFragment.STYLE_NORMAL, RaraHelper.getThemeLollipopDialog(getContext()));
    } else {//from   w  w w.ja v  a  2  s. c  o  m
        setStyle(DialogFragment.STYLE_NORMAL, RaraHelper.getThemeMaterialDialog(getContext()));
    }
}

From source file:com.schautup.fragments.AboutDialogFragment.java

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setCancelable(true);//from  www .  j  a  v a2s.com
    setStyle(DialogFragment.STYLE_NORMAL, R.style.Theme_AppCompat_Light_Dialog);
}

From source file:cc.metapro.openct.customviews.DuringDialog.java

@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setStyle(DialogFragment.STYLE_NORMAL, android.R.style.Theme_Holo_Light_Dialog_MinWidth);
}

From source file:sk.ab.herbs.billingmodule.skulist.AcquireFragment.java

@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setStyle(DialogFragment.STYLE_NORMAL, R.style.AppTheme);
}

From source file:com.fingerprint.PasswordAuthenticationDialogFragment.java

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    setRetainInstance(true);/*from   w ww  .  jav  a2 s .c  om*/
    setStyle(DialogFragment.STYLE_NORMAL, android.R.style.Theme_Material_Light_Dialog);
}