android ScrollView嵌套RecyclerView只显示一条数据的解决办法
16lz
2022-06-16
在RecyclerView外层套上一层RelativeLayout即可。 如果列表中有edittext 不能写
android:descendantFocusability="blocksDescendants"
android:layout_width="match_parent" android:layout_height="match_parent"> android:id="@+id/recyclerview_order_goods" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#F5F5F5" android:overScrollMode="never" android:scrollbars="none"/>
更多相关文章
- Android软键盘不能正确显示
- android 访问网络不能在主线程中进行以及在线程中操作UI的解决方
- ScrollView属性fillViewport解决android布局不能撑满全屏的问题
- 我的Android进阶之旅------>Ubuntu下不能识别Android设备的解决
- 如何把android设备中的固件dump出来
- ListView 滑动出现黑色边际问题
- android studio 启动报nexpected exception during symbol build
- Android设置StatusBar颜色
- (Butterknife 注解配置)android studio 3.0 以上配置annotationPro