1. drawable/actionbar_compat_item.xml2.drawable/actionbar_compat_item_pressed.xml3.drawable/actionbar_compat_item_focused.xml4.public StateListDrawable setbg(Integer[] mImageIds) { StateListDrawable bg = new StateListDrawable(); Drawable normal = this.getResources().getDrawable(mImageI... Read More
posted @ 2013-12-25 18:19 等风来。。 Views(240) Comments(0) Diggs(0)
1.可以放置一个ImageView组件,然后将其设为分隔线的颜色或图形。分隔线View的定义代码如下: 2.在Android3.0及以上版本,LinearLayout支持直接显示分隔线。android:showDividers="end" android:divider="@drawable/divider_line" 除了需要设置android:showDividers属性外,还要设置android:divider属性,该属性表示分隔线的图像,需要一个Drawable IDandroid:showDividers属性可以设置如下4个值:none:不显示 Read More
posted @ 2013-12-25 15:54 等风来。。 Views(482) Comments(0) Diggs(0)
1. stackFromBottom,设置为ture你做好的列表就会显示你列表的最下面 2. transciptMode,通过设置的控件transcriptMode属性可以将Android平台的控件(支持ScrollBar)自动滑动到最底部。3.cacheColorHint,很多人希望能够改变一... Read More
posted @ 2013-12-25 15:05 等风来。。 Views(274) Comments(0) Diggs(0)
------------------------------------------------------------------------------------------------------------ --------------- 欢迎联系 x.guan.ling@gmail.com--------------- ------------------------------------------------------------------------------------------------------------