码迷,mamicode.com
首页 > 其他好文 > 详细

20160112

时间:2016-01-12 11:30:40      阅读:145      评论:0      收藏:0      [点我收藏+]

标签:

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

20160112

标签:

原文地址:http://www.cnblogs.com/leihupqrst/p/5123414.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!