List of usage examples for android.support.v4.app DialogFragment STYLE_NO_FRAME
int STYLE_NO_FRAME
To view the source code for android.support.v4.app DialogFragment STYLE_NO_FRAME.
Click Source Link
From source file:com.synox.android.ui.dialog.IndeterminateProgressDialog.java
/** * Public factory method to get dialog instances. * // w w w . ja v a2s . c om * @param messageId Resource id for a message to show in the dialog. * @param cancelable If 'true', the dialog can be cancelled by the user input (BACK button, touch outside...) * @return New dialog instance, ready to show. */ public static IndeterminateProgressDialog newInstance(int messageId, boolean cancelable) { IndeterminateProgressDialog fragment = new IndeterminateProgressDialog(); fragment.setStyle(DialogFragment.STYLE_NO_FRAME, R.style.synox_AlertDialog); Bundle args = new Bundle(); args.putInt(ARG_MESSAGE_ID, messageId); args.putBoolean(ARG_CANCELABLE, cancelable); fragment.setArguments(args); return fragment; }
From source file:com.cerema.cloud2.ui.dialog.IndeterminateProgressDialog.java
/** * Public factory method to get dialog instances. * /*from w w w .ja v a2 s. co m*/ * @param messageId Resource id for a message to show in the dialog. * @param cancelable If 'true', the dialog can be cancelled by the user input (BACK button, touch outside...) * @return New dialog instance, ready to show. */ public static IndeterminateProgressDialog newInstance(int messageId, boolean cancelable) { IndeterminateProgressDialog fragment = new IndeterminateProgressDialog(); fragment.setStyle(DialogFragment.STYLE_NO_FRAME, R.style.ownCloud_AlertDialog); Bundle args = new Bundle(); args.putInt(ARG_MESSAGE_ID, messageId); args.putBoolean(ARG_CANCELABLE, cancelable); fragment.setArguments(args); return fragment; }
From source file:org.fossasia.phimpme.share.nextcloud.IndeterminateProgressDialog.java
/** * Public factory method to get dialog instances. * /*from w w w.ja va2 s . co m*/ * @param messageId Resource id for a message to show in the dialog. * @param cancelable If 'true', the dialog can be cancelled by the user input (BACK button, touch outside...) * @return New dialog instance, ready to show. */ public static IndeterminateProgressDialog newInstance(int messageId, boolean cancelable) { IndeterminateProgressDialog fragment = new IndeterminateProgressDialog(); fragment.setStyle(DialogFragment.STYLE_NO_FRAME, R.style.ownCloud_Button); Bundle args = new Bundle(); args.putInt(ARG_MESSAGE_ID, messageId); args.putBoolean(ARG_CANCELABLE, cancelable); fragment.setArguments(args); return fragment; }
From source file:mc.xwidget.McDialog.java
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setStyle(DialogFragment.STYLE_NO_FRAME, R.style.ThemeDialog); }
From source file:org.videolan.vlc.gui.dialogs.JumpToTimeDialog.java
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setStyle(DialogFragment.STYLE_NO_FRAME, getArguments().getInt("theme")); }
From source file:com.google.android.apps.santatracker.presentquest.ui.PlayGameDialog.java
@Override public void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); setStyle(DialogFragment.STYLE_NO_FRAME, R.style.AppTheme_PresentQuest_DialogFragment); }
From source file:com.lillicoder.lib.uiwidgets.dialog.BaseDialogFragment.java
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Remove all dialog framing, we will completely style this dialog. this.setStyle(DialogFragment.STYLE_NO_FRAME, R.style.UiWidgets_Theme_Dialog); }
From source file:com.apptentive.android.sdk.module.messagecenter.view.AttachmentPreviewDialog.java
@Override public void onCreate(Bundle savedInstance) { super.onCreate(savedInstance); setStyle(DialogFragment.STYLE_NO_FRAME, R.style.ApptentiveTheme_Base_Versioned_TranslucentStatus_FullScreen); }
From source file:org.kesar.lazy.lazychat.presentation.module.chat.VoiceVolumeDialog.java
@Override public void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); int style = DialogFragment.STYLE_NO_FRAME; setStyle(style, 0);/*from w w w . j a va 2s . c om*/ }
From source file:org.videolan.vlc.gui.dialogs.PickTimeFragment.java
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setStyle(DialogFragment.STYLE_NO_FRAME, R.attr.advanced_options_style); }