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:cn.org.eshow.framwork.util.AbDialogUtil.java
/** * ??./*from w w w .j ava2 s . c om*/ * @param context the context * @param indeterminateDrawable * @param message the message * @param style */ public static AbRefreshDialogFragment showRefreshDialog(Context context, int indeterminateDrawable, String message, int style) { FragmentActivity activity = (FragmentActivity) context; AbRefreshDialogFragment newFragment = AbRefreshDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, style); newFragment.setIndeterminateDrawable(indeterminateDrawable); newFragment.setMessage(message); newFragment.setAbDialogOnLoadListener(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
/** * ??.//from w w w .j a v a 2 s. co m * @param context the context * @param indeterminateDrawable * @param message the message * @param abDialogOnRefreshListener */ public static AbLoadDialogFragment showLoadPanel(Context context, int indeterminateDrawable, String message, AbDialogOnLoadListener abDialogOnLoadListener) { FragmentActivity activity = (FragmentActivity) context; AbLoadDialogFragment newFragment = AbLoadDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, android.R.style.Theme_Light_Panel); newFragment.setIndeterminateDrawable(indeterminateDrawable); newFragment.setMessage(message); newFragment.setAbDialogOnLoadListener(abDialogOnLoadListener); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.show(ft, mDialogTag); return newFragment; }
From source file:ab.util.AbDialogUtil.java
/** * ??.//from w w w . j a v a2s .co m * * @param context * the context * @param indeterminateDrawable * @param message * the message */ public static AbLoadDialogFragment showLoadDialog(Context context, int indeterminateDrawable, String message) { FragmentActivity activity = (FragmentActivity) context; AbLoadDialogFragment newFragment = AbLoadDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, android.R.style.Theme_Holo_Light_Dialog); newFragment.setIndeterminateDrawable(indeterminateDrawable); newFragment.setMessage(message); 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
/** * ??./*from ww w . j av a2 s.co m*/ * @param context * @param indeterminateDrawable * @param message * @param style * @param abDialogOnRefreshListener * @return */ public static ESRefreshDialogFragment showRefreshDialog(Context context, int indeterminateDrawable, String message, int style, AbDialogOnLoadListener abDialogOnLoadListener) { FragmentActivity activity = (FragmentActivity) context; ESRefreshDialogFragment newFragment = ESRefreshDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, style); newFragment.setIndeterminateDrawable(indeterminateDrawable); newFragment.setMessage(message); newFragment.setAbDialogOnLoadListener(abDialogOnLoadListener); 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
/** * ??./*w w w. j av a 2 s . c o m*/ * @param context * @param indeterminateDrawable * @param message * @param style * @param abDialogOnLoadListener * @return */ public static AbRefreshDialogFragment showRefreshDialog(Context context, int indeterminateDrawable, String message, int style, AbDialogOnLoadListener abDialogOnLoadListener) { FragmentActivity activity = (FragmentActivity) context; AbRefreshDialogFragment newFragment = AbRefreshDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, style); newFragment.setIndeterminateDrawable(indeterminateDrawable); newFragment.setMessage(message); newFragment.setAbDialogOnLoadListener(abDialogOnLoadListener); 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 www.j av a 2 s . c om*/ * * @param context * the context * @param indeterminateDrawable * @param message * the message * @param style */ public static AbRefreshDialogFragment showRefreshDialog(Context context, int indeterminateDrawable, String message, int style) { FragmentActivity activity = (FragmentActivity) context; AbRefreshDialogFragment newFragment = AbRefreshDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, style); newFragment.setIndeterminateDrawable(indeterminateDrawable); newFragment.setMessage(message); newFragment.setAbDialogOnLoadListener(null); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.show(ft, dialogTag); return newFragment; }
From source file:com.pszh.ablibrary.util.AbDialogUtil.java
/** * ??./*from w w w. j av a2 s . c om*/ * @param context the context * @param indeterminateDrawable * @param message the message * @param abDialogOnLoadListener */ public static AbLoadDialogFragment showLoadPanel(Context context, int indeterminateDrawable, String message, AbDialogFragment.AbDialogOnLoadListener abDialogOnLoadListener) { FragmentActivity activity = (FragmentActivity) context; AbLoadDialogFragment newFragment = AbLoadDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, android.R.style.Theme_Light_Panel); newFragment.setIndeterminateDrawable(indeterminateDrawable); newFragment.setMessage(message); newFragment.setAbDialogOnLoadListener(abDialogOnLoadListener); 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
/** * ??./*from w w w . j a va 2 s .c om*/ * @param context the context * @param indeterminateDrawable * @param message the message * @param abDialogOnRefreshListener */ public static AbRefreshDialogFragment showRefreshDialog(Context context, int indeterminateDrawable, String message) { FragmentActivity activity = (FragmentActivity) context; AbRefreshDialogFragment newFragment = AbRefreshDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, android.R.style.Theme_Holo_Light_Dialog); newFragment.setIndeterminateDrawable(indeterminateDrawable); newFragment.setMessage(message); newFragment.setAbDialogOnLoadListener(null); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.show(ft, mDialogTag); return newFragment; }
From source file:ab.util.AbDialogUtil.java
/** * ??./*from ww w . ja v a 2 s. c o m*/ * * @param context * the context * @param indeterminateDrawable * @param message * the message */ public static AbLoadDialogFragment showLoadDialog(Context context, int indeterminateDrawable, String message, AbDialogOnLoadListener abDialogOnLoadListener) { FragmentActivity activity = (FragmentActivity) context; AbLoadDialogFragment newFragment = AbLoadDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, android.R.style.Theme_Holo_Light_Dialog); newFragment.setIndeterminateDrawable(indeterminateDrawable); newFragment.setMessage(message); newFragment.setAbDialogOnLoadListener(abDialogOnLoadListener); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.show(ft, mDialogTag); return newFragment; }
From source file:com.tony.selene.util.AbDialogUtil.java
/** * ??./*w w w. j a v a2 s.c o m*/ * * @param context * @param indeterminateDrawable * @param message * @param style * @param abDialogOnRefreshListener * @return */ public static AbRefreshDialogFragment showRefreshDialog(Context context, int indeterminateDrawable, String message, int style, AbDialogOnLoadListener abDialogOnLoadListener) { FragmentActivity activity = (FragmentActivity) context; AbRefreshDialogFragment newFragment = AbRefreshDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, style); newFragment.setIndeterminateDrawable(indeterminateDrawable); newFragment.setMessage(message); newFragment.setAbDialogOnLoadListener(abDialogOnLoadListener); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.show(ft, dialogTag); return newFragment; }