WebAPP模式下mui.openWindow 的waiting 等待失效
berryPan
- 发布:2016-09-14 18:48
- 更新:2016-09-20 18:36
- 阅读:1852
3 个回复
Trust - 少说废话
waiting框采用的是5+nativeUI部分的API,浏览器中不支持5+,所以不会调用。
berryPan (作者)
不是游览器,是在5+SDK上运行的。
berryPan (作者)
在资源文件下也添加了以下内容:
Drawable目录下
longding_bg.xml
Drawable-hdpi目录下
dcloud_snow_black_progress.xml
dcloud_snow_white_progress.xml
layout目录下
dcloud_loadingview.xml
loadingview.xml
还需要检查Rinfomation.java文件中是否添加
public static int LAYOUT_DIALOG_LAYOUT_LOADING_DCLOUD = R.layout.dcloud_loadingview;
public static int ID_TEXT_LOADING_DCLOUD = R.id.dcloud_tv_loading;
public static int ID_PROGRESSBAR_LOADING_DCLOUD = R.id.dcloud_pb_loading;
public static int ID_IMAGE_LOADING_DCLOUD = R.id.dcloud_iv_loading;
public static int DRAWBLE_PROGRESSBAR_BLACK_DCLOUD = R.drawable.dcloud_snow_black_progress;
public static int DRAWBLE_PROGRESSBAR_WHITE_DCLOUD = R.drawable.dcloud_snow_white_progress;
public static int ID_WAITING_SEPARATOR_DCLOUD = R.id.dcloud_view_seaparator;
plus.nativeUI.showWaiting还是不显示