<LinearLayout        android:layout_width="match_parent"        android:layout_height="match_parent"        android:orientation="vertical"        app:layout_behavior="@string/appbar_scrolling_view_behavior">        <com.ogaclejapan.smarttablayout.SmartTabLayout xmlns:android="http://schemas.android.com/apk/res/android"            xmlns:app="http://schemas.android.com/apk/res-auto"            android:id="@+id/courseDetailTab"            android:layout_width="match_parent"            android:layout_height="48dp"            android:paddingBottom="4dp"            app:stl_defaultTabTextColor="@color/selected_unselected"            app:stl_distributeEvenly="true"            app:stl_indicatorColor="@color/colorPrimary"            app:stl_indicatorCornerRadius="1.5dp"            app:stl_indicatorInterpolation="smart"            app:stl_indicatorThickness="3dp"            app:stl_underlineColor="@color/white" />        <androidx.viewpager.widget.ViewPager            android:id="@+id/videoViewpager"            android:layout_width="match_parent"            android:layout_height="match_parent"            android:layout_below="@id/courseDetailTab" />    LinearLayout>

解决问题关键语句

app:layout_behavior="@string/appbar_scrolling_view_behavior">

更多相关文章

  1. Android中的那些sql语句
  2. Android怎么在控制台输出语句
  3. 《Expert Android》关键点摘录之二
  4. Android 关键字 收集
  5. Android WebView文件上传(关键代码)
  6. [Java][Android][Process] 暴力的服务可以解决一切,暴力的方式执

随机推荐

  1. android中LayoutInflater的使用
  2. Android(安卓)studio获取sha1(调试版和发
  3. android的UI系统分析
  4. Android(安卓)开发学习小结(七)
  5. Android(安卓)模拟器的认识
  6. android sdk API level对应关系及下载地
  7. 我的Android进阶之旅------>Android利用
  8. android:contentDescription 的用途
  9. Android基本功:Handler消息传送机制
  10. Android之——代码混淆