Android
FxBilly
人生在世,开心就好
展开
-
AndroidStudio配置androidannotations注解教程,Android开发赖人神器,提高开发效率
关于androidannotations注解github地址:https://github.com/androidannotations/androidannotations关于androidannotations的使用视频,请见:https://www.imooc.com/learn/431前面的使用视频是早期IDEA/AndroidStudio的配置方法,新版的AndroidS...原创 2019-06-26 17:40:37 · 310 阅读 · 0 评论 -
Android动态加载布局(xml)AddView()时LinearLayout中View的layout_weight属性无效的解决方法
#问题描述在如下一段代码中,布局layoutResId中有使用LinearLayout的layout_weight属性,大概布局是一个listView,然后最底部显示一个合计行,因此在ListView中使用了layout_weight="1",layout_height="0dp",如果直接使用setContentView(layoutResId)来加载这个布局,显示没有任何问题,但是通过in...原创 2019-08-19 20:03:17 · 3900 阅读 · 3 评论