当前位置:网站首页>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 !!!!
边栏推荐
- 功能安全之故障(fault),错误(error),失效(failure)
- IPv6 comprehensive experiment
- Caused by:org.gradle.api.internal.plugins . PluginApplicationException: Failed to apply plugin
- H3C S5820V2_5830V2交换机IRF2堆叠后升级方法
- C language learning notes (mind map)
- [Baiwen smart home] first day of the course_ Learn Embedded and understand the development mode of bare metal and RTOS
- Fault, error, failure of functional safety
- LeetCode 739. 每日温度
- isam2运行流程
- 华为路由器忘记密码怎么恢复
猜你喜欢
Configuring OSPF GR features for Huawei devices
养了只小猫咪
Hongliao Technology: Liu qiangdong's "heavy hand"
Usage of test macro of GTEST
Application du Groupe Li dans gtsam
P问题、NP问题、NPC问题、NP-hard问题详解
How Huawei routers configure static routes
LeetCode 732. 我的日程安排表 III
(5) Explanation of yolo-v3 core source code (3)
H3C V7 switch configuration IRF
随机推荐
養了只小猫咪
Luogu p1460 [usaco2.1] healthy Holstein cows
A complete collection of necessary learning websites for office programmers
H3C V7 switch configuration IRF
Construction of yolox based on paste framework
[C language syntax] the difference between typedef struct and struct
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
About PHP startup, mongodb cannot find the specified module
2022 software testing workflow to know
Hypothesis testing learning notes
Web service connector: Servlet
對數據安全的思考(轉載)
Leetcode 701 insertion operation in binary search tree -- recursive method and iterative method
[Baiwen smart home] first day of the course_ Learn Embedded and understand the development mode of bare metal and RTOS
(5) Explanation of yolo-v3 core source code (3)
PAT(乙级)2022年夏季考试
Seven imperceptible truths in software testing
LeetCode 732. 我的日程安排表 III
Caused by:org.gradle.api.internal.plugins . PluginApplicationException: Failed to apply plugin
公司視頻加速播放