List of usage examples for android.app DialogFragment STYLE_NO_TITLE
int STYLE_NO_TITLE
To view the source code for android.app DialogFragment STYLE_NO_TITLE.
Click Source Link
From source file:com.bangqu.eshow.util.ESDialogUtil.java
/** * //from w ww. j ava 2 s .co m * ???. * @param view * @param gravity ? * @param style * @param onCancelListener? * @return */ public static ESSampleDialogFragment showDialog(View view, int gravity, int style, DialogInterface.OnCancelListener onCancelListener) { FragmentActivity activity = (FragmentActivity) view.getContext(); // Create and show the dialog. ESSampleDialogFragment newFragment = ESSampleDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, style, gravity); newFragment.setContentView(view); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.setOnCancelListener(onCancelListener); newFragment.show(ft, dialogTag); return newFragment; }
From source file:cn.org.eshow.framwork.util.AbDialogUtil.java
/** * /*from ww w.ja v a 2 s . c om*/ * ???. * @param view * @param gravity ? * @param style * @param onCancelListener? * @return */ public static AbSampleDialogFragment showDialog(View view, int gravity, int style, DialogInterface.OnCancelListener onCancelListener) { FragmentActivity activity = (FragmentActivity) view.getContext(); // Create and show the dialog. AbSampleDialogFragment newFragment = AbSampleDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, style, gravity); newFragment.setContentView(view); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.setOnCancelListener(onCancelListener); newFragment.show(ft, dialogTag); return newFragment; }
From source file:com.ab.util.AbDialogUtil.java
/** * //w w w. j a v a2 s.c o m * ???(). * @param view * @param animEnter * @param animExit * @param animPopEnter * @param animPopExit * @param gravity ? * @return */ public static AbSampleDialogFragment showDialog(View view, int animEnter, int animExit, int animPopEnter, int animPopExit, int gravity) { FragmentActivity activity = (FragmentActivity) view.getContext(); // Create and show the dialog. AbSampleDialogFragment newFragment = AbSampleDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, android.R.style.Theme_Holo_Light_Dialog, gravity); newFragment.setContentView(view); // FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); ft.setCustomAnimations(animEnter, animExit, animPopEnter, animPopExit); newFragment.show(ft, mDialogTag); return newFragment; }
From source file:com.pszh.ablibrary.util.AbDialogUtil.java
/** * //from w w w . j av a 2 s . com * ???(). * @param view * @param animEnter * @param animExit * @param animPopEnter * @param animPopExit * @param gravity ? * @return */ public static AbSampleDialogFragment showDialog(View view, int animEnter, int animExit, int animPopEnter, int animPopExit, int gravity) { FragmentActivity activity = (FragmentActivity) view.getContext(); // Create and show the dialog. AbSampleDialogFragment newFragment = AbSampleDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, android.R.style.Theme_Holo_Light_Dialog, gravity); newFragment.setContentView(view); // FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); ft.setCustomAnimations(animEnter, animExit, animPopEnter, animPopExit); newFragment.show(ft, mDialogTag); return newFragment; }
From source file:com.tony.selene.util.AbDialogUtil.java
/** * /*from w w w. ja va 2 s . co m*/ * ???. * * @param view * @param gravity * ? * @param style * @param onCancelListener * ? * @return */ public static AbSampleDialogFragment showDialog(View view, int gravity, int style, DialogInterface.OnCancelListener onCancelListener) { FragmentActivity activity = (FragmentActivity) view.getContext(); // Create and show the dialog. AbSampleDialogFragment newFragment = AbSampleDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, style, gravity); newFragment.setContentView(view); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.setOnCancelListener(onCancelListener); newFragment.show(ft, dialogTag); return newFragment; }
From source file:ab.util.AbDialogUtil.java
/** * //w w w . j av a2 s . c om * ???(). * * @param view * @param gravity * ? * @return */ public static AbSampleDialogFragment showDialog(View view, int gravity) { FragmentActivity activity = (FragmentActivity) view.getContext(); // Create and show the dialog. AbSampleDialogFragment newFragment = AbSampleDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, android.R.style.Theme_Holo_Light_Dialog, gravity); newFragment.setContentView(view); 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
/** * // www.j a va 2s .co m * ???(). * @param view * @param gravity ? * @param onCancelListener? * @return */ public static AbSampleDialogFragment showDialog(View view, int gravity, DialogInterface.OnCancelListener onCancelListener) { FragmentActivity activity = (FragmentActivity) view.getContext(); // Create and show the dialog. AbSampleDialogFragment newFragment = AbSampleDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, android.R.style.Theme_Holo_Light_Dialog, gravity); newFragment.setContentView(view); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.setOnCancelListener(onCancelListener); newFragment.show(ft, mDialogTag); return newFragment; }
From source file:ab.util.AbDialogUtil.java
/** * //from w ww .ja v a2 s . c om * ???(). * * @param view * @param animEnter * @param animExit * @param animPopEnter * @param animPopExit * @param gravity * ? * @return */ public static AbSampleDialogFragment showDialog(View view, int animEnter, int animExit, int animPopEnter, int animPopExit, int gravity) { FragmentActivity activity = (FragmentActivity) view.getContext(); // Create and show the dialog. AbSampleDialogFragment newFragment = AbSampleDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, android.R.style.Theme_Holo_Light_Dialog, gravity); newFragment.setContentView(view); // FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); ft.setCustomAnimations(animEnter, animExit, animPopEnter, animPopExit); newFragment.show(ft, mDialogTag); return newFragment; }
From source file:com.bangqu.eshow.util.ESDialogUtil.java
/** * /* w w w .ja v a 2 s .c om*/ * ???. * @param view * @param animEnter * @param animExit * @param animPopEnter * @param animPopExit * @param gravity * @param onCancelListener * @return */ public static ESSampleDialogFragment showDialog(View view, int animEnter, int animExit, int animPopEnter, int animPopExit, int gravity, int style, DialogInterface.OnCancelListener onCancelListener) { FragmentActivity activity = (FragmentActivity) view.getContext(); // Create and show the dialog. ESSampleDialogFragment newFragment = ESSampleDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, style, gravity); newFragment.setContentView(view); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); ft.setCustomAnimations(animEnter, animExit, animPopEnter, animPopExit); newFragment.setOnCancelListener(onCancelListener); newFragment.show(ft, dialogTag); return newFragment; }
From source file:cn.org.eshow.framwork.util.AbDialogUtil.java
/** * //from ww w.jav a 2 s . co m * ???. * @param view * @param animEnter * @param animExit * @param animPopEnter * @param animPopExit * @param gravity * @param onCancelListener * @return */ public static AbSampleDialogFragment showDialog(View view, int animEnter, int animExit, int animPopEnter, int animPopExit, int gravity, int style, DialogInterface.OnCancelListener onCancelListener) { FragmentActivity activity = (FragmentActivity) view.getContext(); // Create and show the dialog. AbSampleDialogFragment newFragment = AbSampleDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, style, gravity); newFragment.setContentView(view); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); ft.setCustomAnimations(animEnter, animExit, animPopEnter, animPopExit); newFragment.setOnCancelListener(onCancelListener); newFragment.show(ft, dialogTag); return newFragment; }