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:com.orange.ocara.ui.dialog.AudioRecorderDialog.java

public static AudioRecorderDialog newInstance(String recordFilename) {
    AudioRecorderDialog dialog = new AudioRecorderDialog_();
    Bundle args = new Bundle();
    args.putString("recordFilename", recordFilename);
    dialog.setStyle(DialogFragment.STYLE_NO_TITLE | DialogFragment.STYLE_NORMAL, 0);
    dialog.setArguments(args);/*from w w w .j  a  va 2 s . c  o m*/
    return dialog;
}

From source file:im.vector.fragments.MessageDetailsFragment.java

public static MessageDetailsFragment newInstance(String text) {
    MessageDetailsFragment f = new MessageDetailsFragment();
    Bundle args = new Bundle();
    args.putString(ARG_TEXT, text);/* w  w w . j a v  a  2s  .  c o  m*/
    f.setArguments(args);

    f.setStyle(DialogFragment.STYLE_NO_TITLE, 0);
    return f;
}

From source file:ch.prokopovi.ui.main.AboutFragment.java

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

From source file:com.orange.ocara.ui.dialog.AudioPlayerDialog.java

public static AudioPlayerDialog newInstance(String uri, int x, int y) {
    AudioPlayerDialog dialog = new AudioPlayerDialog_();
    Bundle args = new Bundle();
    args.putString("uri", uri);
    if (x >= 0) {
        args.putInt("x", x);
    }/*from  w w  w .  ja  va2  s  .c  om*/
    if (y >= 0) {
        args.putInt("y", y);
    }
    dialog.setStyle(DialogFragment.STYLE_NO_TITLE | DialogFragment.STYLE_NORMAL, 0);
    dialog.setArguments(args);
    return dialog;
}

From source file:bf.io.openshop.ux.dialogs.LicensesDialogFragment.java

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

From source file:com.bilibili.magicasakurademo.dialog.ProgressCheckDialog.java

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

From source file:net.gsantner.opoc.ui.FilesystemDialog.java

public static FilesystemDialog newInstance(FilesystemDialogData.Options options) {
    FilesystemDialog f = new FilesystemDialog();
    f.setStyle(DialogFragment.STYLE_NO_TITLE, 0);
    options.listener.onFsDialogConfig(options);
    f.setDialogOptions(options);/*from  w w w .  j  av  a2s . co  m*/
    return f;
}

From source file:prince.app.sphotos.AlbumProperties.java

public static AlbumProperties newInstance(int position) {
    Bundle args = new Bundle();
    args.putInt(POSITION, position);/*from   ww  w  .  j av  a 2  s.co  m*/
    final AlbumProperties mNewDetails = new AlbumProperties();
    mNewDetails.setArguments(args);
    mNewDetails.setStyle(DialogFragment.STYLE_NO_TITLE, android.R.style.Theme_Holo_Light_Dialog);
    return mNewDetails;
}

From source file:com.ming.slove.mvnew.common.widgets.dialog.CardPickerDialog.java

@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setStyle(DialogFragment.STYLE_NO_TITLE, R.style.ThemeDialog);
    mCurrentTheme = ThemeHelper.getTheme(getActivity());
}

From source file:br.com.iworkout.dialog.SerieDialog.java

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