1 |
1, android 设置ExpandableListView 系统默认箭头到右边 |
1
2
3
4
5
6 |
<br> if (android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.JELLY_BEAN_MR2) { //< android 4.3 elv.setIndicatorBounds(width - 10 - 50, width - 10); //width 为控件宽度 } else { elv.setIndicatorBoundsRelative(width - 10 - 50, width - 10); //API 18 =4.3 } |
android开发中的问题集锦(慢慢搬运...),布布扣,bubuko.com
原文:http://www.cnblogs.com/don-insist/p/3624810.html