android 自定义progressdialog

上传者: rohsuton | 上传时间: 2019-12-21 21:00:40 | 文件大小: 3.65MB | 文件类型: rar
有时我们在项目执行某些耗时的操作是需要在界面上给出等待之类的信息,在android里面可以使用progressbar或者progressdialog,但是前者在等待时可以操作界面上其他空间,不是我想要的,后者界面太丑,我希望定义自己的风格,所以需要自定义一个progressdialog,这个小例子试下了简单的自定义progressdialog

文件下载

资源详情

[{"title":"( 50 个子文件 3.65MB ) android 自定义progressdialog","children":[{"title":"MyProgressDialog","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 730B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"anim","children":[{"title":"progress_round.xml <span style='color:#111;'> 773B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"customprogressdialog.xml <span style='color:#111;'> 685B </span>","children":null,"spread":false},{"title":"main.xml <span style='color:#111;'> 327B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"progress_2.png <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"progress_4.png <span style='color:#111;'> 4.27KB </span>","children":null,"spread":false},{"title":"progress_3.png <span style='color:#111;'> 4.22KB </span>","children":null,"spread":false},{"title":"background.png <span style='color:#111;'> 954.30KB </span>","children":null,"spread":false},{"title":"progress_6.png <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"progress_8.png <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"progress_1.png <span style='color:#111;'> 4.24KB </span>","children":null,"spread":false},{"title":"progress_5.png <span style='color:#111;'> 4.24KB </span>","children":null,"spread":false},{"title":"progress_7.png <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 799B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"proguard.cfg <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"lxd","children":[{"title":"activity","children":[{"title":"MainFrame.java <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false}],"spread":true},{"title":"widgets","children":[{"title":"CustomProgressDialog.java <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"classes","children":[{"title":"com","children":[{"title":"lxd","children":[{"title":"activity","children":[{"title":"MainFrame.class <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 607B </span>","children":null,"spread":false},{"title":"R$anim.class <span style='color:#111;'> 392B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 432B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 334B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 437B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 428B </span>","children":null,"spread":false},{"title":"MainFrame$MainFrameTask.class <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 421B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 707B </span>","children":null,"spread":false}],"spread":true},{"title":"widgets","children":[{"title":"CustomProgressDialog.class <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"progress_2.png <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"progress_4.png <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"progress_3.png <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"background.png <span style='color:#111;'> 889.42KB </span>","children":null,"spread":false},{"title":"progress_6.png <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"progress_8.png <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"progress_1.png <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"progress_5.png <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"progress_7.png <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.87KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"classes.dex <span style='color:#111;'> 6.51KB </span>","children":null,"spread":false},{"title":"resources.ap_ <span style='color:#111;'> 913.09KB </span>","children":null,"spread":false},{"title":"MyProgressDialog.apk <span style='color:#111;'> 918.66KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 361B </span>","children":null,"spread":false},{"title":".project <span style='color:#111;'> 852B </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"lxd","children":[{"title":"activity","children":[{"title":"R.java <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • 骆驼峰上的小猴子 :
    正在学习,很实用
    2019-02-27
  • liuyansong :
    非常有用,十分感谢!
    2018-08-06
  • head_first545 :
    非常好用 感谢大神的东西
    2018-05-21
  • 熊爸爸的爸爸 :
    帮同事下载的,很棒
    2018-04-16
  • mylizh :
    正需要的呢
    2018-03-24

免责申明

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