当前位置:网站首页>Coordinatorlayout+nestedscrollview+recyclerview pull up the bottom display is incomplete
Coordinatorlayout+nestedscrollview+recyclerview pull up the bottom display is incomplete
2022-07-06 06:09:00 【lichong951】
Borrow a sketch to illustrate :
The layout with incomplete display is as follows :
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" xmlns:tools="http://schemas.android.com/tools" android:background="#FFFFFF">
<android.support.design.widget.CoordinatorLayout android:layout_width="match_parent" android:layout_height="match_parent" android:background="#F7F7F7" android:layout_marginTop="71dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" >
....
<android.support.v4.widget.NestedScrollView android:id="@+id/nestedScrollView" android:layout_width="match_parent" android:layout_height="match_parent" android:fillViewport="true" app:layout_behavior="@string/appbar_scrolling_view_behavior">
<android.support.v7.widget.RecyclerView android:id="@+id/recycle_view" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginTop="20dp" android:background="#FFFFFFFF" android:nestedScrollingEnabled="false" android:paddingLeft="20dp" android:paddingRight="20dp" android:layout_marginBottom="30dp" app:layout_behavior="@string/appbar_scrolling_view_behavior" tools:itemCount="40" />
</android.support.v4.widget.NestedScrollView>
</android.support.design.widget.CoordinatorLayout>
....
</android.support.constraint.ConstraintLayout>
add to live.bingoogolapple.refreshlayout.BGARefreshLayout The display of components is normal
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" xmlns:tools="http://schemas.android.com/tools" android:background="#FFFFFF">
<android.support.design.widget.CoordinatorLayout android:layout_width="match_parent" android:layout_height="match_parent" android:background="#F7F7F7" android:layout_marginTop="71dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" >
....
<android.support.v4.widget.NestedScrollView android:id="@+id/nestedScrollView" android:layout_width="match_parent" android:layout_height="match_parent" android:fillViewport="true" app:layout_behavior="@string/appbar_scrolling_view_behavior">
<live.bingoogolapple.refreshlayout.BGARefreshLayout android:id="@+id/mRefreshLayout" android:layout_width="match_parent" android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior">
<android.support.v7.widget.RecyclerView android:id="@+id/recycle_view" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginTop="20dp" android:background="#FFFFFFFF" android:nestedScrollingEnabled="false" android:paddingLeft="20dp" android:paddingRight="20dp" android:layout_marginBottom="30dp" app:layout_behavior="@string/appbar_scrolling_view_behavior" tools:itemCount="40" />
</live.bingoogolapple.refreshlayout.BGARefreshLayout>
</android.support.v4.widget.NestedScrollView>
</android.support.design.widget.CoordinatorLayout>
....
</android.support.constraint.ConstraintLayout>
As for the reason, we haven't found . I hope to have the opportunity to go deep into the principle and analyze the reason !!!!
边栏推荐
- Software test interview questions - Test Type
- 【Postman】Collections-运行配置之导入数据文件
- 【论文代码】SML部分代码阅读
- 曼哈顿距离与曼哈顿矩形-打印回字型矩阵
- LTE CSFB process
- H3C V7 switch configuration IRF
- [paper reading] nflowjs: synthetic negative data intensive anomaly detection based on robust learning
- Baidu online AI competition - image processing challenge: the 8th program of handwriting erasure
- GTSAM中ISAM2和IncrementalFixedLagSmoother说明
- 養了只小猫咪
猜你喜欢
[paper reading] nflowjs: synthetic negative data intensive anomaly detection based on robust learning
局域网同一个网段通信过程
【微信小程序】搭建开发工具环境
Report on the competition status and investment decision recommendations of Guangxi hospital industry in China from 2022 to 2028
VINS-Mono: A Robust and Versatile Monocular Visual-Inertial State Estimator
H3C V7 switch configuration IRF
Leetcode 701 insertion operation in binary search tree -- recursive method and iterative method
IP day 16 VLAN MPLS configuration
华为路由器如何配置静态路由
c语言——冒泡排序
随机推荐
【Postman】Collections-运行配置之导入数据文件
Database: ODBC remote access SQL Server2008 in oracel
LeetCode 739. 每日温度
Seven imperceptible truths in software testing
Report on the competition status and investment decision recommendations of Guangxi hospital industry in China from 2022 to 2028
【无标题】
Analysis report on development trends and investment planning of China's methanol industry from 2022 to 2028
授予渔,从0开始搭建一个自己想要的网页
Bit operation rules
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
Query the standard text code corresponding to a work center (s) in the production order
[Thesis code] SML part code reading
Introduction to promql of # yyds dry goods inventory # Prometheus
Usage of test macro of GTEST
H3C firewall rbm+vrrp networking configuration
Luogu [Beginner Level 4] array p1427 number game of small fish
Buuctf-[[gwctf 2019] I have a database (xiaoyute detailed explanation)
How Huawei routers configure static routes
【课程笔记】编译原理
LeetCode 729. 我的日程安排表 I