Android ModalDialogTest.7z

上传者: LovelyPenguin | 上传时间: 2021-02-28 16:01:29 | 文件大小: 844KB | 文件类型: 7Z
严格来说,Android并没有如Windows OS那样的模式对话框(阻塞式对话框,等到用户关闭窗口才继续下一行代码)。这个源代码demo演示了如何在Android上间接实现类Windows的模式对话框。

文件下载

资源详情

[{"title":"( 64 个子文件 844KB ) Android ModalDialogTest.7z","children":[{"title":"ModalDialogTest","children":[{"title":"ModalDialogTest.IMD <span style='color:#111;'> 368B </span>","children":null,"spread":false},{"title":".project <span style='color:#111;'> 851B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"ModalDialogTest.WK3 <span style='color:#111;'> 15.90KB </span>","children":null,"spread":false},{"title":"ModalDialogTest.PR <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"thtfit","children":[{"title":"ModalDialogTest","children":[{"title":"MainActivity.java <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"PasswordInputDialog.java <span style='color:#111;'> 7.24KB </span>","children":null,"spread":false},{"title":"PasswordInputDialog2.java <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false},{"title":"DialogEx.java <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 892B </span>","children":null,"spread":false},{"title":"ModalDialogTest.PO <span style='color:#111;'> 776B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 332B </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"activity_main.xml <span style='color:#111;'> 257B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"pwd_input_dlg.xml <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 856B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 455B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 695B </span>","children":null,"spread":false}],"spread":false},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 389B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"ModalDialogTest.PFI <span style='color:#111;'> 12B </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"ModalDialogTest.PS <span style='color:#111;'> 13.27KB </span>","children":null,"spread":false},{"title":"Android.mk <span style='color:#111;'> 230B </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"thtfit","children":[{"title":"ModalDialogTest","children":[{"title":"BuildConfig.java <span style='color:#111;'> 168B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 376.65KB </span>","children":null,"spread":false}],"spread":false},{"title":"ModalDialogTest.PRI <span style='color:#111;'> 6.43KB </span>","children":null,"spread":false},{"title":"ModalDialogTest.IAB <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"ModalDialogTest.IAD <span style='color:#111;'> 368B </span>","children":null,"spread":false},{"title":"ModalDialogTest.IMB <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"resources.ap_ <span style='color:#111;'> 23.07KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"thtfit","children":[{"title":"ModalDialogTest","children":[{"title":"R$layout.class <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"PasswordInputDialog2$CancelBtnOnClickListener.class <span style='color:#111;'> 4.16KB </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 561B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"PasswordInputDialog.class <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false},{"title":"DialogEx$OkBtnOnClickListener.class <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"PasswordInputDialog2.class <span style='color:#111;'> 6.35KB </span>","children":null,"spread":false},{"title":"PasswordInputDialog2$OkBtnOnClickListener.class <span style='color:#111;'> 4.17KB </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"PasswordInputDialog2$DialogResult.class <span style='color:#111;'> 3.89KB </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"DialogEx.class <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"DialogEx$CancelBtnOnClickListener.class <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"DialogEx$DialogResult.class <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"ModalDialogTest.apk <span style='color:#111;'> 176.98KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 892B </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v4-e0a2c68a25ca3f2ade56d1c8ac972497.jar <span style='color:#111;'> 146.26KB </span>","children":null,"spread":false},{"title":"annotations-9db0716be9ceb5590cf0a7b7ffa5f040.jar <span style='color:#111;'> 943B </span>","children":null,"spread":false}],"spread":false},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":null,"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"classes.dex <span style='color:#111;'> 573.11KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明