JR-CoordinatorLayout:CoordinatorLayout + AppBarLayout + NestedScrollView组合使用实现地图背景,滑动悬停华丽效果。

时间:2024-03-30 20:16:25
【文件属性】:
文件名称:JR-CoordinatorLayout:CoordinatorLayout + AppBarLayout + NestedScrollView组合使用实现地图背景,滑动悬停华丽效果。
文件大小:436KB
文件格式:ZIP
更新时间:2024-03-30 20:16:25
Java JR协调器布局 CoordinatorLayout + AppBarLayout + NestedScrollView组合使用实现地图背景,滑动悬停华丽效果。 CoordinatorLayout即加强版FrameLayout,适合作为应用程序布局的布局(必须是根部局),提供交互行为通过给子视图设置行为可以实现他们的交互性为。侧滑菜单,可滑动删除的UI元素,视图之间跟随移动。常用支持滑动效果的子视图有:那种RecyclerView,NestedScrollView,TabLayout等切记ScrollView是无效的! AppBarLayout是一个垂直的LinearLayout,其子视图应通过setScrollFlags(int)或者xmL中的app:layout_scrollFlags来提供他们的行为。 AppBarLayout下面的滑​​动控件,放在RecyclerView,Nes
【文件预览】:
JR-CoordinatorLayout-master
----gradlew.bat(2KB)
----gradlew(5KB)
----gradle.properties(781B)
----LICENSE(1KB)
----app()
--------proguard-rules.pro(751B)
--------src()
--------.gitignore(7B)
--------build.gradle(2KB)
----gradle()
--------wrapper()
----.idea()
--------codeStyles()
--------assetWizardSettings.xml(1KB)
--------gradle.xml(811B)
--------runConfigurations.xml(564B)
--------misc.xml(4KB)
--------jarRepositories.xml(2KB)
--------vcs.xml(180B)
--------compiler.xml(170B)
--------inspectionProfiles()
----.gitignore(177B)
----README.md(19KB)
----settings.gradle(15B)
----build.gradle(715B)

网友评论