Skip to content

适配edge-to-edge问题,如何实现列表可以沉浸到底部导航栏,但是“加载更多”视图不沉浸 #1607

@davidgerka

Description

@davidgerka

如下图所示:正常的时候,列表的内容可以沉浸到系统底部的导航栏位置。但是,当用户上拉列表,出现“上拉加载更多”视图时,该视图也沉浸到导航栏里了,这种体验不友好,有什么办法可以让它在导航栏的上面呢?我尝试过用clipToPadding=false,效果并不是我需要的。另外,如果列表没有“加载更多”视图时,我可以单独为我的RecyclerView来设置paddingBottom 和 clipToPadding=false 来实现。在最后面,补充一个我想要的效果的录屏,来自荣耀手机的应用市场app(暂时只发现这个app😅)
Image

Image
default.mp4
app.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions