Browse Source

将对话框功能抽出,display-client直接依赖ipu-alertdialog

linh 8 years ago
parent
commit
b703dd6efa

+ 3 - 3
display-client/assets/mobile-action.xml

46
	<action name="openSlidingMenu" class="com.wade.mobile.func.MobileUI" method="openSlidingMenu"/>
46
	<action name="openSlidingMenu" class="com.wade.mobile.func.MobileUI" method="openSlidingMenu"/>
47
	<action name="closeSlidingMenu" class="com.wade.mobile.func.MobileUI" method="closeSlidingMenu"/>
47
	<action name="closeSlidingMenu" class="com.wade.mobile.func.MobileUI" method="closeSlidingMenu"/>
48
	<action name="showNotification" class="com.wade.mobile.func.MobileUI" method="showNotification"/>
48
	<action name="showNotification" class="com.wade.mobile.func.MobileUI" method="showNotification"/>
49
	<action name="alert" class="com.wade.mobile.func.MobileUIWithSAD" method="alert"/>
50
	<action name="confirm" class="com.wade.mobile.func.MobileUIWithSAD" method="confirm"/>
51
	<action name="loading" class="com.wade.mobile.func.MobileUIWithSAD" method="loading"/>
49
	<action name="alert" class="com.ai.ipu.alertdialog.func.MobileUIWithSAD" method="alert"/>
50
	<action name="confirm" class="com.ai.ipu.alertdialog.func.MobileUIWithSAD" method="confirm"/>
51
	<action name="loading" class="com.ai.ipu.alertdialog.func.MobileUIWithSAD" method="loading"/>
52
	<!-- SoftKeyBoard -->
52
	<!-- SoftKeyBoard -->
53
	<action name="showKeyBoard" class="com.wade.mobile.func.SoftKeyBoard" method="showKeyBoard"/>
53
	<action name="showKeyBoard" class="com.wade.mobile.func.SoftKeyBoard" method="showKeyBoard"/>
54
	<action name="hideKeyBoard" class="com.wade.mobile.func.SoftKeyBoard" method="hideKeyBoard"/>
54
	<action name="hideKeyBoard" class="com.wade.mobile.func.SoftKeyBoard" method="hideKeyBoard"/>

BIN
ipu-alertdialog/libs/wade-mobile.jar


+ 3 - 1
wade-mobile-func/src/com/wade/mobile/func/MobileUIWithSAD.java

1
package com.wade.mobile.func;
1
package com.ai.ipu.alertdialog.func;
2
import org.json.JSONArray;
2
import org.json.JSONArray;
3
import org.json.JSONObject;
3
import org.json.JSONObject;
4

4
import android.graphics.Color;
5
import android.graphics.Color;
5
import android.os.CountDownTimer;
6
import android.os.CountDownTimer;
6
import cn.pedant.SweetAlert.SweetAlertDialog;
7
import cn.pedant.SweetAlert.SweetAlertDialog;
8

7
import com.wade.mobile.frame.IWadeMobile;
9
import com.wade.mobile.frame.IWadeMobile;
8
import com.wade.mobile.frame.plugin.Plugin;
10
import com.wade.mobile.frame.plugin.Plugin;
9
/**
11
/**

BIN
wade-mobile-common/libs/wade-mobile-func.jar