会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
短暂的火光
博客园
首页
博问
闪存
新随笔
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
18
下一页
2015年10月9日
加载图片的几种方式
摘要: 1、volleyVolleyUtils.getLoader(context).get(datas.get(position), ImageLoader.getImageListener( holder.iv, R.drawable.ic_launcher, android.R.drawable...
阅读全文
posted @ 2015-10-09 08:25 毕哥
阅读(605)
评论(0)
推荐(0)
编辑
2015年10月8日
缩放图片
摘要: //使用Bitmap加Matrix来缩放 public static Drawable resizeImage(Bitmap bitmap, int w, int h) { Bitmap BitmapOrg = bitmap; int width =...
阅读全文
posted @ 2015-10-08 21:41 毕哥
阅读(183)
评论(0)
推荐(0)
编辑
Volley下载图片存放在data/data下 networkImageView lrucache
摘要: networkImageView 设置图片的方法 (有效) imageView.setImageUrl("https://www.baidu.com/img/bd_logo1.png", imageLoader); (暂时无效的方法) /* imageLoader.get( ...
阅读全文
posted @ 2015-10-08 21:35 毕哥
阅读(269)
评论(0)
推荐(0)
编辑
2015年10月3日
类实现Parcelable接口在Intent中传递
摘要: 类实现了Parcelable接口就可以在Intent中传递 只要在类的定义中实现Parcelable接口代码 1 package entity; 2 3 import android.os.Parcel; 4 import android.os.Parcelable; 5 6 public cl...
阅读全文
posted @ 2015-10-03 16:42 毕哥
阅读(398)
评论(0)
推荐(0)
编辑
2015年9月30日
基本控件设置边角图片 drawableleft
摘要: btn.setCompoundDrawablesWithIntrinsicBounds(R.drawable.icon_galley_comment, 0, 0,0);四个参数分别是左上右下四个方向的图片全设为0则为不设图片设置布局文件 点击图片选择器文字颜色选择器风格设定 1 2 3 ...
阅读全文
posted @ 2015-09-30 14:31 毕哥
阅读(492)
评论(0)
推荐(0)
编辑
2015年9月29日
屏幕全屏之类的问题
摘要: getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);requestWindowFeature(Window.FEATURE_NO_TI
阅读全文
posted @ 2015-09-29 21:32 毕哥
阅读(152)
评论(0)
推荐(0)
编辑
关于点击按钮分享
摘要: case R.id.ib_zixundetail_fenxiang: String txt= "给您分享一个不错的内容:title(http://www.baidu.com)"; Intent intent=new Intent(Intent.ACTION_SEND); intent.s...
阅读全文
posted @ 2015-09-29 19:56 毕哥
阅读(149)
评论(0)
推荐(0)
编辑
2015年9月28日
万能适配器的一些问题
摘要: 不用万能适配器volley都能搞定如果用万能适配器则不能用volley(因为万能适配器里边有自己的settag)可以用NUtils在NUtils里边自定义三级缓存每次设图片时都去访问三级缓存 1 package com.example.wannengadapter; 2 3 import java...
阅读全文
posted @ 2015-09-28 19:40 毕哥
阅读(246)
评论(0)
推荐(0)
编辑
自定义控件高级
摘要: http://blog.csdn.net/awangyunke/article/details/44223951
阅读全文
posted @ 2015-09-28 09:06 毕哥
阅读(180)
评论(0)
推荐(0)
编辑
2015年9月25日
Fragment 生命周期 全局变量的声明位置
摘要: public class Fragment_shouye extends Fragment { private List datas; private TopView top; @Override public void onCreate(Bundle savedInstan...
阅读全文
posted @ 2015-09-25 20:12 毕哥
阅读(725)
评论(0)
推荐(0)
编辑
上一页
1
···
11
12
13
14
15
16
17
18
下一页