- 博客(3)
- 资源 (5)
- 收藏
- 关注
转载 ImageView中android:adjustViewBounds属性
public voidsetAdjustViewBounds(boolean adjustViewBounds)Since: API Level 1Set this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable.Rel
2016-01-11 13:10:08 562
转载 数组集合、对象转Json方法
此类是手工方法将对象、数组转为Json表示的格式,但是类型是String,只需将string转为JSON。或者使用Json包直接返回json对象:JSONObject jo=JSONObject.fromObject(object);String ob=jo.toString(); import java.beans.IntrospectionExcept
2016-01-09 14:59:50 514
转载 android view的生命周期
android view有以下14个周期:1、onFinishInflate() 当View中所有的子控件均被映射成xml后触发 。2、onMeasure( int , int ) 确定所有子元素的大小 。3、onLayout( boolean , int , int , int , int ) 当View分配所有的子元素的大小和位置时触发 。4、onSizeChanged( in
2016-01-01 18:10:49 581
《 Android内核剖析》柯元旦
2015-12-29
GoogleIO2013 Android快速联网框架Volley
2015-12-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人