List of usage examples for android.app FragmentTransaction TRANSIT_FRAGMENT_OPEN
int TRANSIT_FRAGMENT_OPEN
To view the source code for android.app FragmentTransaction TRANSIT_FRAGMENT_OPEN.
Click Source Link
From source file:com.android.mail.ui.OnePaneController.java
@Override protected void showWaitForInitialization() { super.showWaitForInitialization(); replaceFragment(getWaitFragment(), FragmentTransaction.TRANSIT_FRAGMENT_OPEN, TAG_WAIT, R.id.content_pane); }
From source file:com.tony.selene.dialog.AbDialogUtil.java
/** * ?String./*from ww w . j a va 2 s . c om*/ * * @param context * @param title * ? */ public static TCAlertDialogFragment showAlertDialog(Context context, String message) { FragmentActivity activity = (FragmentActivity) context; TCAlertDialogFragment newFragment = TCAlertDialogFragment.newInstance(0, null, message, null, null); 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
/** * ?View./*from ww w . ja v a 2s . c o m*/ * @param view ? */ public static AbAlertDialogFragment showAlertDialog(View view) { FragmentActivity activity = (FragmentActivity) view.getContext(); AbAlertDialogFragment newFragment = AbAlertDialogFragment.newInstance(0, null, null, view, null); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.show(ft, mDialogTag); return newFragment; }
From source file:com.bangqu.eshow.util.ESDialogUtil.java
/** * ???dialog View./*w w w. j a v a 2s . c om*/ * @param icon * @param title ? * @param view ??? */ public static ESAlertDialogFragment showAlertDialog(int icon, String title, View view) { FragmentActivity activity = (FragmentActivity) view.getContext(); ESAlertDialogFragment newFragment = ESAlertDialogFragment.newInstance(icon, title, null, view, null); 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
/** * ???dialog View./*from ww w . j ava 2 s . com*/ * @param icon * @param title ? * @param view ??? */ public static AbAlertDialogFragment showAlertDialog(int icon, String title, View view) { FragmentActivity activity = (FragmentActivity) view.getContext(); AbAlertDialogFragment newFragment = AbAlertDialogFragment.newInstance(icon, title, null, view, null); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.show(ft, dialogTag); return newFragment; }
From source file:ab.util.AbDialogUtil.java
/** * ?string?./*from www. ja v a 2 s . c o m*/ * * @param context * @param icon * @param title * ? * @param message * ??? * @param onClickListener * ? */ public static AbAlertDialogFragment showAlertDialog(Context context, int icon, String title, String message, AbDialogOnClickListener onClickListener) { FragmentActivity activity = (FragmentActivity) context; AbAlertDialogFragment newFragment = AbAlertDialogFragment.newInstance(icon, title, message, null, onClickListener); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.show(ft, mDialogTag); return newFragment; }
From source file:com.ab.util.AbDialogUtil.java
/** * ?String.//from ww w . j ava2 s .c om * @param context * @param title ? */ public static AbAlertDialogFragment showAlertDialog(Context context, String message) { FragmentActivity activity = (FragmentActivity) context; AbAlertDialogFragment newFragment = AbAlertDialogFragment.newInstance(0, null, message, null, null); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.show(ft, mDialogTag); return newFragment; }
From source file:com.tony.selene.dialog.AbDialogUtil.java
/** * ???dialog View.//from w ww . jav a2 s . c om * * @param icon * @param title * ? * @param view * ??? */ public static TCAlertDialogFragment showAlertDialog(int icon, String title, View view) { FragmentActivity activity = (FragmentActivity) view.getContext(); TCAlertDialogFragment newFragment = TCAlertDialogFragment.newInstance(icon, title, null, view, null); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.show(ft, dialogTag); return newFragment; }
From source file:com.bangqu.eshow.util.ESDialogUtil.java
/** * ?View?./*from w w w. j a v a 2 s. c o m*/ * @param icon * @param title ? * @param view ??? * @param onClickListener ? */ public static ESAlertDialogFragment showAlertDialog(int icon, String title, View view, AbDialogOnClickListener onClickListener) { FragmentActivity activity = (FragmentActivity) view.getContext(); ESAlertDialogFragment newFragment = ESAlertDialogFragment.newInstance(icon, title, null, view, onClickListener); 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
/** * ?View?./*from w ww .j a v a2 s . c o m*/ * @param icon * @param title ? * @param view ??? * @param onClickListener ? */ public static AbAlertDialogFragment showAlertDialog(int icon, String title, View view, AbDialogOnClickListener onClickListener) { FragmentActivity activity = (FragmentActivity) view.getContext(); AbAlertDialogFragment newFragment = AbAlertDialogFragment.newInstance(icon, title, null, view, onClickListener); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.show(ft, dialogTag); return newFragment; }