List of usage examples for android.app DialogFragment STYLE_NORMAL
int STYLE_NORMAL
To view the source code for android.app DialogFragment STYLE_NORMAL.
Click Source Link
From source file:com.bangqu.eshow.util.ESDialogUtil.java
/** * ??./*from w ww .j ava 2s . c o m*/ * @param view * @return */ public static ESSampleDialogFragment showFullScreenDialog(View view) { FragmentActivity activity = (FragmentActivity) view.getContext(); // Create and show the dialog. ESSampleDialogFragment newFragment = ESSampleDialogFragment.newInstance(DialogFragment.STYLE_NORMAL, android.R.style.Theme_Black_NoTitleBar_Fullscreen); newFragment.setContentView(view); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.show(ft, dialogTag); return newFragment; }
From source file:cn.org.eshow.framwork.util.AbDialogUtil.java
/** * ??.//www. ja va2 s .c o m * @param view * @return */ public static AbSampleDialogFragment showFullScreenDialog(View view) { FragmentActivity activity = (FragmentActivity) view.getContext(); // Create and show the dialog. AbSampleDialogFragment newFragment = AbSampleDialogFragment.newInstance(DialogFragment.STYLE_NORMAL, android.R.style.Theme_Black_NoTitleBar_Fullscreen); newFragment.setContentView(view); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.show(ft, dialogTag); return newFragment; }
From source file:com.tony.selene.util.AbDialogUtil.java
/** * ??./*from w w w. j ava 2 s. c o m*/ * * @param view * @return */ public static AbSampleDialogFragment showFullScreenDialog(View view) { FragmentActivity activity = (FragmentActivity) view.getContext(); // Create and show the dialog. AbSampleDialogFragment newFragment = AbSampleDialogFragment.newInstance(DialogFragment.STYLE_NORMAL, android.R.style.Theme_Black_NoTitleBar_Fullscreen); newFragment.setContentView(view); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.show(ft, dialogTag); return newFragment; }
From source file:com.ab.util.AbDialogUtil.java
/** * ??/* ww w .j ava2 s . c o m*/ * @param view * @return */ public static AbSampleDialogFragment showFullScreenDialog(View view) { FragmentActivity activity = (FragmentActivity) view.getContext(); // Create and show the dialog. AbSampleDialogFragment newFragment = AbSampleDialogFragment.newInstance(DialogFragment.STYLE_NORMAL, android.R.style.Theme_Black_NoTitleBar_Fullscreen); newFragment.setContentView(view); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.show(ft, mDialogTag); return newFragment; }
From source file:com.elkriefy.android.apps.authenticationexample.fingerprintdialog.FingerprintAuthenticationDialogFragment.java
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Do not create a new Fragment when the Activity is re-created such as orientation changes. setRetainInstance(true);//from w w w.j a v a2 s . co m setStyle(DialogFragment.STYLE_NORMAL, android.R.style.Theme_Material_Light_Dialog); }
From source file:com.fingerprint.sampsonjoliver.fingerprintcryptospike.FingerprintScanDialog.java
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Do not create a new Fragment when the Activity is re-created such as orientation changes. setRetainInstance(true);//from w w w. ja v a 2 s.c o m setStyle(DialogFragment.STYLE_NORMAL, android.R.style.Theme_Material_Light_Dialog); fingerprintHelper = new FingerprintUtils.FingerprintHelper(this, getContext()); }
From source file:ab.util.AbDialogUtil.java
/** * ??// w w w .j a va 2 s . co m * * @param view * @return */ public static AbSampleDialogFragment showFullScreenDialog(View view) { FragmentActivity activity = (FragmentActivity) view.getContext(); // Create and show the dialog. AbSampleDialogFragment newFragment = AbSampleDialogFragment.newInstance(DialogFragment.STYLE_NORMAL, android.R.style.Theme_Black_NoTitleBar_Fullscreen); newFragment.setContentView(view); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.show(ft, mDialogTag); return newFragment; }
From source file:eu.intermodalics.tango_ros_streamer.activities.RunningActivity.java
private void showSaveMapDialog() { FragmentManager manager = getFragmentManager(); SaveMapDialog saveMapDialog = new SaveMapDialog(); saveMapDialog.setStyle(DialogFragment.STYLE_NORMAL, R.style.CustomDialog); saveMapDialog.show(manager, "SaveMapDialog"); }
From source file:eu.intermodalics.tango_ros_streamer.activities.RunningActivity.java
private void showLoadOccupancyGridDialog(boolean firstTry, java.util.ArrayList<java.lang.String> nameList) { FragmentManager manager = getFragmentManager(); LoadOccupancyGridDialog loadOccupancyGridDialog = new LoadOccupancyGridDialog(); Bundle bundle = new Bundle(); bundle.putBoolean(getString(R.string.show_load_occupancy_grid_empty_key), nameList.isEmpty()); bundle.putBoolean(getString(R.string.show_load_occupancy_grid_error_key), !firstTry); bundle.putStringArrayList(getString(R.string.list_names_occupancy_grid_key), nameList); loadOccupancyGridDialog.setArguments(bundle); loadOccupancyGridDialog.setStyle(DialogFragment.STYLE_NORMAL, R.style.CustomDialog); loadOccupancyGridDialog.show(manager, "LoadOccupancyGridDialog"); }