scrollView嵌套recyclerView 显示不全
16lz
2021-12-04
scrollView嵌套recyclerView 显示不全可以将recyclerView使用RelativeLayout包起来,就可以全部撑开
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:id="@+id/recyclerview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginBottom="15dp"
android:layout_marginTop="15dp"/>
recyclerView设置不能滑动:
recyclerView.setNestedScrollingEnabled(false);
更多相关文章
- android GestureDetector 基于webview的手势滑动实现
- 丰富多彩的Android(安卓)onTouch事件
- [摘]android:windowSoftInputMode属性使用
- RadioGroup+RadioButton嵌套实现多行单选效果
- Android(安卓)onTouch事件
- android 备忘
- Android(安卓)clipChildren用法
- android的ViewFlipper
- 《Android(安卓)群英传》 阅读笔记 第四章~第六章