use of com.aviary.android.feather.widget.IToast in project mobile-android by photo.
the class UIUtils method createModalLoaderToast.
public static IToast createModalLoaderToast() {
IToast mToastLoader = IToast.make(mContext, -1);
View view = getLayoutInflater().inflate(R.layout.feather_progress_view, null);
AnimatedRotateDrawable d = new AnimatedRotateDrawable(mContext.getResources(), R.drawable.feather_spinner_white_76, 12, 100);
ProgressBar progress = (ProgressBar) view.findViewById(R.id.progress);
progress.setIndeterminateDrawable(d);
mToastLoader.setView(view);
return mToastLoader;
}
Aggregations