2013年4月19日

android listview的item 设置小技巧

摘要: 我以前习惯插一个图片作为listview文字底纹比如我有一个文件是listitem.xml 作为加载到listview的layout以imageview加载一个底纹 <ImageView android:id="@+id/listitem_bg" android:layout_width="match_parent" android:layout_height="180dp" android:layout_alignParentLeft="true" android:layout_alignParentTop 阅读全文

posted @ 2013-04-19 20:21 幻之神翼 阅读(140) 评论(0) 推荐(0)

2012年12月6日

获取android系统版本并转化为float型(带一位小数)

摘要: 一行代码Float ver = Float.parseFloat(android.os.Build.VERSION.RELEASE.substring(0,3)即可 阅读全文

posted @ 2012-12-06 23:35 幻之神翼 阅读(244) 评论(0) 推荐(0)

导航