09 2015 档案
android 页面停几秒后跳转
摘要:1 new Handler().postDelayed(new Runnable() { 2 @Override 3 public void run() { 4 Intent intent ... 阅读全文
posted @ 2015-09-30 13:51 大米稀饭 阅读(807) 评论(0) 推荐(0) 编辑
二、Android应用的界面编程(二)布局管理器
摘要:一、线性布局所有布局都可以作为容器类使用,因此可以调用多个重载的addView()向布局管理器中添加组件。实际上,我们完全可以用一个布局管理器嵌套到其他布局管理器中---因为布局管理器也继承了View,也可以作为普通UI组件使用。【LinearLayout的常用XML属性及相关方法】android:... 阅读全文
posted @ 2015-09-11 16:17 大米稀饭 阅读(551) 评论(0) 推荐(0) 编辑
ProgressBar 进度条设置百分比显示
摘要:rawable/progressbar 1 2 3 4 5 6 7 13 14 15 16 17 18 ... 阅读全文
posted @ 2015-09-11 11:04 大米稀饭 阅读(5131) 评论(0) 推荐(0) 编辑
自定义控件 --- 加载旋转图标
摘要:1 import android.annotation.TargetApi; 2 import android.content.Context; 3 import android.content.res.Resources; 4 import android.content.res.T... 阅读全文
posted @ 2015-09-10 17:25 大米稀饭 阅读(627) 评论(0) 推荐(0) 编辑