save works
This commit is contained in:
@@ -24,10 +24,10 @@ function showLoginUI(){
|
||||
</frame>
|
||||
);
|
||||
|
||||
ui.login.click(() => {
|
||||
ui.login.on("click", () => {
|
||||
toast("您输入的用户名为" + ui.name.text() + " 密码为" + ui.password.text());
|
||||
});
|
||||
ui.register.click(() => showRegisterUI());
|
||||
ui.register.on("click", () => showRegisterUI());
|
||||
}
|
||||
|
||||
//显示注册界面
|
||||
@@ -41,7 +41,7 @@ function showRegisterUI(){
|
||||
</linear>
|
||||
<linear>
|
||||
<text w="56" gravity="center" color="#111111" size="16">密码</text>
|
||||
<input w="*" h="40" inputType="password"/>
|
||||
<input w="*" h="40" password="true"/>
|
||||
</linear>
|
||||
<linear>
|
||||
<text w="56" gravity="center" color="#111111" size="16">邮箱</text>
|
||||
@@ -54,5 +54,5 @@ function showRegisterUI(){
|
||||
</vertical>
|
||||
</frame>
|
||||
);
|
||||
ui.cancel.click(() => showLoginUI());
|
||||
ui.cancel.on("click", () => showLoginUI());
|
||||
}
|
||||
@@ -9,7 +9,9 @@ import android.content.Intent;
|
||||
import android.os.Build;
|
||||
import android.os.Looper;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.view.WindowManager;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.Toast;
|
||||
|
||||
import com.stardust.app.GlobalAppContext;
|
||||
|
||||
Reference in New Issue
Block a user