2014年11月4日

摘要: 菜单项配置文件menu.xml activitypublic class PopupMenuTest exte... 阅读全文
posted @ 2014-11-04 17:47 弗不是佛 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 一:activity 中添加菜单可以复写public boolean onCreateOptionsMenu(Menu menu);public boolean onCreateOptionsMenu(Menu menu) { // -------------向menu中添加子菜... 阅读全文
posted @ 2014-11-04 17:23 弗不是佛 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 当一个输入框需要填写时间或者日期是可以调用日期设置//此为日期按钮的监听器,点击出现如下图所示dateBn.setOnClickListener(new OnClickListener() { @Override public void on... 阅读全文
posted @ 2014-11-04 16:30 弗不是佛 阅读(1557) 评论(0) 推荐(0) 编辑
摘要: main.xml //主布局文件 1 2 7 8 13 14 20 21 27 28 34 35 41 42 48 49 55 login.xml 登录对话框的布局文件 1 2 8 9 15 16 23 24 25 ... 阅读全文
posted @ 2014-11-04 16:06 弗不是佛 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 1 public class NotificationTest extends Activity 2 { 3 static final int NOTIFICATION_ID = 0x123; 4 NotificationManager nm; 5 6 @Override... 阅读全文
posted @ 2014-11-04 14:54 弗不是佛 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 转载地址:http://www.cnblogs.com/qiengo/archive/2012/05/03/2480386.htmlAndroid AnimationContents:AnimationsTween AnimationsAnimationSetInterpolatorFrame-By... 阅读全文
posted @ 2014-11-04 11:57 弗不是佛 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * Description: 3 * site: crazyit.org 4 * Copyright (C), 2001-2012, Yeeku.H.Lee 5 * This program is protected by copyright laws. 6 ... 阅读全文
posted @ 2014-11-04 11:00 弗不是佛 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 转载地址:http://blog.csdn.net/playboyanta123/article/details/7934789普通圆形ProgressBar该类型进度条也就是一个表示运转的过程,例如发送短信,连接网络等等,表示一个过程正在执行中。一般只要在XML布局中定义就可以了。此时,没有设置它... 阅读全文
posted @ 2014-11-04 10:51 弗不是佛 阅读(258) 评论(0) 推荐(0) 编辑
摘要: my_bar.xml //配置进度条的图片@drawable/ok @drawable/no 为图片保存在drawable文件夹中布局文件中进度条配置 android:id="@+id/bar" android:layout_width="fill_pare... 阅读全文
posted @ 2014-11-04 10:25 弗不是佛 阅读(1598) 评论(0) 推荐(0) 编辑

导航