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

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

Introduction

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

Prototype

int STYLE_NO_TITLE

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

Click Source Link

Document

Style for #setStyle(int,int) : don't include a title area.

Usage

From source file:mobile.tiis.appv2.fragments.FragmentImmunizations.java

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setRetainInstance(true);//w w w  . j a va 2  s  .c om
    setStyle(DialogFragment.STYLE_NO_TITLE, android.R.style.Theme_Holo_Light);
}

From source file:com.enadein.carlogbook.ui.AlertDialog.java

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setStyle(DialogFragment.STYLE_NO_TITLE, R.style.ConfirmDelete);
}

From source file:org.schabi.newpipe.download.DownloadDialog.java

public static DownloadDialog newInstance(Bundle args) {
    DownloadDialog dialog = new DownloadDialog();
    dialog.setArguments(args);/*from   w  ww. jav  a2  s .  co m*/
    dialog.setStyle(DialogFragment.STYLE_NO_TITLE, 0);
    return dialog;
}

From source file:de.grobox.liberario.fragments.HomePickerDialogFragment.java

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

    if (Preferences.darkThemeEnabled(getActivity())) {
        setStyle(DialogFragment.STYLE_NO_TITLE, R.style.SetHomeDialogTheme);
    } else {//from   ww w  . j  av a 2 s .c  o m
        setStyle(DialogFragment.STYLE_NO_TITLE, R.style.SetHomeDialogTheme_Light);
    }
}

From source file:edu.rosehulman.grocerydroid.ItemDialogFragment.java

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    int theme = 0;// R.style.Theme_Sherlock_Dialog;
    int style = DialogFragment.STYLE_NO_TITLE;
    setStyle(style, theme);/*from  w w w .  j av  a2 s.  c  o  m*/
}

From source file:de.grobox.liberario.favorites.trips.SpecialLocationFragment.java

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

    inject(((TransportrApplication) getActivity().getApplication()).getComponent());

    if (Preferences.darkThemeEnabled(getActivity())) {
        setStyle(DialogFragment.STYLE_NO_TITLE, R.style.SetHomeDialogTheme);
    } else {/*from www  .j  a  v a  2  s.co  m*/
        setStyle(DialogFragment.STYLE_NO_TITLE, R.style.SetHomeDialogTheme_Light);
    }
}

From source file:com.andrada.sitracker.ui.fragment.RatePublicationDialog.java

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setStyle(DialogFragment.STYLE_NO_TITLE, 0);
    //We have our fragment args here

}

From source file:com.visenze.visearch.camerademo.fragments.ImageFragment.java

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    Window window = getActivity().getWindow();
    window.setLayout(RelativeLayout.LayoutParams.MATCH_PARENT, RelativeLayout.LayoutParams.MATCH_PARENT);
    window.setGravity(Gravity.CENTER);/* w w w  . j  a  v  a  2 s  .c o m*/

    setStyle(android.support.v4.app.DialogFragment.STYLE_NO_TITLE, R.style.Theme_TransparentDark);

    //get parameters
    url = (String) getArguments().get("url");
}

From source file:com.inductivebiblestudyapp.ui.dialogs.SimpleTooltipDialog.java

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

    setStyle(DialogFragment.STYLE_NO_TITLE, R.style.SimpleToolTipDialog);
}

From source file:com.myinstagram.afinski.myinstgrmviewer.ui.ImageDetailFragment.java

/**
 * Populate image using a url from extras, use the convenience factory method
 * {@link ImageDetailFragment#newInstance(String)} to create this fragment.
 *//*from   w ww .  ja  va2 s . c  o m*/
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    this.setStyle(DialogFragment.STYLE_NO_TITLE, 0);
    mImageUrl = getArguments() != null ? getArguments().getString(IMAGE_DATA_EXTRA) : null;
    mImageWidth = getArguments() != null ? getArguments().getInt("Width") : null;
    mImageHeight = getArguments() != null ? getArguments().getInt("Height") : null;
}