20160112
2016-01-12 10:02
429 查看
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
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
相关文章推荐
- Android 对话框(Dialog)大全 建立你自己的对话框
- linux hosts&dns
- select2
- STS+Maven+Git+Velocity
- 公证员要学一些心理学知识和技能
- 经典大数据架构案例:酷狗音乐的大数据平台重构
- ClusterControl DB 集群测试
- 设计模式笔记--抽象工厂模式
- Gradle安装
- CSS控制文本超出指定宽度后用省略号代替,CSS控制文本不换行
- Mac OS 使用Git
- [POJ 3295]Tautology[构造][DFS]
- sql中替换函数(replace(),STUFF())的用法
- 自然博物馆记
- Android图片加载与缓存开源框架:Android Glide
- ios推送:本地通知UILocalNotification
- Java - Get object size
- 基于开源框架Glide加载Gif资源图到Android ImageView中
- 【第八章】 对ORM的支持 之 8.1 概述 ——跟我学spring3
- win7和XP安装SQL Server 2008安装教程,及下载地址