资源简介
有时我们在项目执行某些耗时的操作是需要在界面上给出等待之类的信息,在android里面可以使用progressbar或者progressdialog,但是前者在等待时可以操作界面上其他空间,不是我想要的,后者界面太丑,我希望定义自己的风格,所以需要自定义一个progressdialog,这个小例子试下了简单的自定义progressdialog
代码片段和文件信息
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.lxd.activity;
public final class R {
public static final class anim {
public static final int progress_round=0x7f040000;
}
public static final class attr {
}
public static final class drawable {
public static final int background=0x7f020000;
public static final int ic_launcher=0x7f020001;
public static final int progress_1=0x7f020002;
public static final int progress_2=0x7f020003;
public static final int progress_3=0x7f020004;
public static final int progress_4=0x7f020005;
public static final int progress_5=0x7f020006;
public static final int progress_6=0x7f020007;
public static final int progress_7=0x7f020008;
public static final int progress_8=0x7f020009;
}
public static final class id {
public static final int id_tv_loadingmsg=0x7f070001;
public static final int loadingImageView=0x7f070000;
}
public static final class layout {
public static final int customprogressdialog=0x7f030000;
public static final int main=0x7f030001;
}
public static final class string {
public static final int app_name=0x7f060001;
public static final int hello=0x7f060000;
}
public static final class style {
public static final int CustomDialog=0x7f050000;
public static final int CustomProgressDialog=0x7f050001;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 364 2012-04-27 17:23 MyProgressDialog\.classpath
文件 852 2012-04-27 17:23 MyProgressDialog\.project
文件 730 2012-04-27 17:43 MyProgressDialog\AndroidManifest.xm
文件 1711 2012-04-27 17:45 MyProgressDialog\bin\classes\com\lxd\activity\Mainfr
文件 2068 2012-04-27 17:45 MyProgressDialog\bin\classes\com\lxd\activity\Mainfr
文件 392 2012-04-27 17:44 MyProgressDialog\bin\classes\com\lxd\activity\R$anim.class
文件 334 2012-04-27 17:44 MyProgressDialog\bin\classes\com\lxd\activity\R$attr.class
文件 707 2012-04-27 17:44 MyProgressDialog\bin\classes\com\lxd\activity\R$drawable.class
文件 428 2012-04-27 17:44 MyProgressDialog\bin\classes\com\lxd\activity\R$id.class
文件 432 2012-04-27 17:44 MyProgressDialog\bin\classes\com\lxd\activity\R$layout.class
文件 421 2012-04-27 17:44 MyProgressDialog\bin\classes\com\lxd\activity\R$string.class
文件 437 2012-04-27 17:44 MyProgressDialog\bin\classes\com\lxd\activity\R$st
文件 607 2012-04-27 17:44 MyProgressDialog\bin\classes\com\lxd\activity\R.class
文件 2207 2012-04-27 17:28 MyProgressDialog\bin\classes\com\lxd\widgets\CustomProgressDialog.class
文件 6664 2012-04-27 17:45 MyProgressDialog\bin\classes.dex
文件 940707 2012-04-27 17:45 MyProgressDialog\bin\MyProgressDialog.apk
文件 3966 2012-04-27 17:33 MyProgressDialog\bin\res\drawable-hdpi\ic_launcher.png
文件 1537 2012-04-27 17:33 MyProgressDialog\bin\res\drawable-ldpi\ic_launcher.png
文件 910768 2012-04-27 17:41 MyProgressDialog\bin\res\drawable-mdpi\background.png
文件 2200 2012-04-27 17:33 MyProgressDialog\bin\res\drawable-mdpi\ic_launcher.png
文件 1228 2012-04-27 17:33 MyProgressDialog\bin\res\drawable-mdpi\progress_1.png
文件 1269 2012-04-27 17:33 MyProgressDialog\bin\res\drawable-mdpi\progress_2.png
文件 1250 2012-04-27 17:33 MyProgressDialog\bin\res\drawable-mdpi\progress_3.png
文件 1284 2012-04-27 17:33 MyProgressDialog\bin\res\drawable-mdpi\progress_4.png
文件 1284 2012-04-27 17:33 MyProgressDialog\bin\res\drawable-mdpi\progress_5.png
文件 1264 2012-04-27 17:33 MyProgressDialog\bin\res\drawable-mdpi\progress_6.png
文件 1255 2012-04-27 17:33 MyProgressDialog\bin\res\drawable-mdpi\progress_7.png
文件 1256 2012-04-27 17:33 MyProgressDialog\bin\res\drawable-mdpi\progress_8.png
文件 935009 2012-04-27 17:44 MyProgressDialog\bin\resources.ap_
文件 1657 2012-04-27 17:44 MyProgressDialog\gen\com\lxd\activity\R.java
............此处省略51个文件信息
- 上一篇:NTP 服务器
- 下一篇:原创商业合同管理系统JSP
评论
共有 条评论