当前位置:网站首页>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 !!!!
边栏推荐
猜你喜欢
Network protocol model
LTE CSFB process
Baidu online AI competition - image processing challenge: the 8th program of handwriting erasure
【Postman】Monitors 监测API可定时周期运行
Sqlmap tutorial (III) practical skills II
数字三角形模型 AcWing 1015. 摘花生
Usage of test macro of GTEST
【微信小程序】搭建开发工具环境
[ram IP] introduction and experiment of ram IP core
误差的基本知识
随机推荐
[untitled]
Cognitive introspection
Cannot build artifact 'test Web: War expanded' because it is included into a circular depend solution
Application du Groupe Li dans gtsam
H3C firewall rbm+vrrp networking configuration
J'ai un chaton.
VINS-Mono: A Robust and Versatile Monocular Visual-Inertial State Estimator
2022 software testing workflow to know
Wib3.0 leapfrogging, in leapfrogging (ง • ̀_•́) ง
Title 1093: character reverse order
假设检验学习笔记
数学三大核心领域概述:几何
Amazon Engineer: eight important experiences I learned in my career
Construction of yolox based on paste framework
曼哈顿距离与曼哈顿矩形-打印回字型矩阵
nodejs实现微博第三方登录
Function of contenttype
GTSAM中李群的运用
The usage and difference between strlen and sizeof
Function of activation function