CoordinatorLayout 和 AppBarLayout 实现折叠效果 底部带阴影的处理方法
生活随笔
收集整理的這篇文章主要介紹了
CoordinatorLayout 和 AppBarLayout 实现折叠效果 底部带阴影的处理方法
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
底部有 陰影如下
這個處理方法很簡單
在AppBarLayout 布局里面設(shè)置?elevation 為0dp
<com.google.android.material.appbar.AppBarLayoutandroid:layout_width="match_parent"android:layout_height="wrap_content"app:elevation="0dp">
?
總結(jié)
以上是生活随笔為你收集整理的CoordinatorLayout 和 AppBarLayout 实现折叠效果 底部带阴影的处理方法的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: RecyclerView 判断滑动到顶部
- 下一篇: 田螺怎么养才不会死?