您的位置:首页 > 其它

20160112

2016-01-12 10:02 375 查看
3、Gradle整改编译体制
http://stormzhang.com/devtools/2014/12/18/android-studio-tutorial4/
4、android开发的可以看下这个人的博客,性能优化方面很全面。http://hukai.me/android-dev-patterns/
6、广播中添加permission
http://blog.csdn.net/shineflowers/article/details/40426361
7、file.getPath() getAbsolutePath() getCanonicalPath()区别
http://www.cnblogs.com/xulianbo/archive/2011/08/26/2154027.html
8、如何区分开人为点击和setChecked()方法
http://www.iteye.com/problems/102119
9、前不久编过一个so文件,现在又全忘了

// View layoutThumb = inflate.inflate(R.layout.layout_thumb, null, false);
// txtThumbTime = (TextView) layoutThumb.findViewById(R.id.txt_thumb_time);
// layoutThumb.setDrawingCacheEnabled(true);
// Bitmap bitmap = layoutThumb.getDrawingCache();
// if(bitmap == null){
// TVLog.e(TAG, "bitmap == null!");
// }
// thumbSeek = new BitmapDrawable(null, bitmap);

Rect thumbRect = bar.getThumb().getBounds();
int position = thumbRect.centerX();
txtThumbTime = (TextView) layoutThumb.findViewById(R.id.txt_thumb_time);
txtThumbTime.setText(stringForTime(mPlayer.getCurrentPosition()));
RelativeLayout.LayoutParams lp = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT, RelativeLayout.LayoutParams.WRAP_CONTENT);
lp.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM);
lp.setMargins(position - 53, 0, 0, dip2px(context, 60));
layoutThumb.setLayoutParams(lp);
layoutThumb.invalidate();

http://google.github.io/ExoPlayer/doc/reference/

圆形进度条
http://www.360doc.com/content/13/1212/12/5600807_336560582.shtml
刚开始使用图片旋转,结果添加无尽旋转效果后图片没办法隐藏
后面改成圆形进度条

Cursor的moveToFirst和moveToNext .
http://blog.csdn.net/chenjinyu_tang/article/details/6589123
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: