任务一 : 完善DashboardFragment界面的TabLs的背景色与colorPrimary一致
实现结果:
实现代码:fragment_dashboard.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".DashboardFragment"
android:orientation="vertical">
<com.google.android.material.tabs.TabLayout
android:id="@+id/tabs_dashboard"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:ignore="