Android学习
文章平均质量分 53
Zc9741
这个作者很懒,什么都没留下…
展开
-
Android炫酷翻页效果Kotlin炫酷翻页效果ViewPager+TabLayout的运用
效果展示依赖库 compile 'com.android.support:appcompat-v7:26.0.0-alpha1' compile 'com.android.support:design:26.0.0-alpha1' 方法步骤1、创建两个Fragment(用于ViewPager)!!记得将Fragment和xml绑定!!具体方法见上一篇文章Android液态动态翻页效果Kotlin炫酷翻页效果ViewPager的运用2、主Activity的xml配置原创 2021-03-12 17:05:13 · 429 阅读 · 0 评论 -
Android液态动态翻页效果Kotlin炫酷翻页效果ViewPager的运用
效果展示依赖库implementation 'com.github.Chrisvin:LiquidSwipe:1.3'方法步骤1、创建Fragment配置好对应的xml将xml与Fragment绑定方式一class OnBoardingFragment1: Fragment() { override fun onCreateView( inflater: LayoutInflater, container: ViewGroup?,原创 2021-03-11 22:57:00 · 417 阅读 · 1 评论