上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: package com.example.titleprogressbar; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.v... 阅读全文
posted @ 2014-08-25 14:33 Yvettey 阅读(175) 评论(0) 推荐(0)
摘要: 只里面用到了线程,handler的知识。 阅读全文
posted @ 2014-08-25 11:41 Yvettey 阅读(185) 评论(0) 推荐(0)
摘要: 功能和上一课的差不多,代码同样很容易理解。 阅读全文
posted @ 2014-08-24 19:27 Yvettey 阅读(333) 评论(0) 推荐(0)
摘要: package com.example.adapterviewfilipper; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import androi... 阅读全文
posted @ 2014-08-24 17:10 Yvettey 阅读(260) 评论(0) 推荐(0)
摘要: 虽然Gallery已经过时了,但是既然书上讲了,我还要学习一下。。产生的效果很好。。。 阅读全文
posted @ 2014-08-24 15:52 Yvettey 阅读(203) 评论(0) 推荐(0)
摘要: 今天学习一下Spinner 阅读全文
posted @ 2014-08-23 12:21 Yvettey 阅读(175) 评论(0) 推荐(0)
摘要: AbsListView.LayoutParams lp=new AbsListView.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,64);这句话的意思是 创建一个布局(LayoutParams)的实例 lp。AbsListView.Layout 阅读全文
posted @ 2014-08-22 23:59 Yvettey 阅读(231) 评论(0) 推荐(0)
摘要: 今天学习的是GridView组件,利用的部分只是还是Adapter、imageView的知识,制作了简单图片浏览器 这个图片浏览器,确实很基本。只是利用事件监听,将gridView里面的图片显示在imageview里,进而显示出图片浏览器效果。 阅读全文
posted @ 2014-08-22 16:05 Yvettey 阅读(343) 评论(0) 推荐(0)
摘要: BaseAdapter创建这么一个对象,需要些四个方法。 int getCount(); Object getItem(int position); long getItemId(int position);View getView(int position, View convertView, V 阅读全文
posted @ 2014-08-19 23:30 Yvettey 阅读(176) 评论(0) 推荐(0)
摘要: SimpleAdapter一点也不简单,他的参数就带了5个,天哪,晕了。。 今天学的这个适配器, public SimpleAdapter(Context context, List<? extends Map<String, ?>> data, int resource, String[] fro 阅读全文
posted @ 2014-08-18 23:59 Yvettey 阅读(175) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 下一页