123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?xml version="1.0" encoding="utf-8"?>
- <layout xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools">
-
- <data>
-
- </data>
-
- <androidx.constraintlayout.widget.ConstraintLayout
- android:id="@+id/layout_time"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/shape_rounder_12_white"
- android:padding="12dp">
-
- <com.google.android.material.tabs.TabLayout
- android:id="@+id/tab_layout_time"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:layout_constraintTop_toTopOf="parent"
- android:background="@drawable/shape_rounder_4_theme_a5"
- app:tabIndicatorHeight="0dp"
- app:tabGravity="fill"
- app:tabMode="fixed"
- app:tabRippleColor="@color/translation"
- app:tabTextColor="@color/gray_2"
- app:tabSelectedTextColor="@color/white"
- app:tabBackground="@drawable/select_statictis_time_tab_bg">
- <!-- <com.google.android.material.tabs.TabItem-->
- <!-- android:layout_width="wrap_content"-->
- <!-- android:layout_height="wrap_content"-->
- <!-- android:text="全部时间" />-->
- <!-- <com.google.android.material.tabs.TabItem-->
- <!-- android:layout_width="wrap_content"-->
- <!-- android:layout_height="wrap_content"-->
- <!-- android:text="今天"/>-->
- <!-- <com.google.android.material.tabs.TabItem-->
- <!-- android:layout_width="wrap_content"-->
- <!-- android:layout_height="wrap_content"-->
- <!-- android:text="本周"/>-->
- <!-- <com.google.android.material.tabs.TabItem-->
- <!-- android:layout_width="wrap_content"-->
- <!-- android:layout_height="wrap_content"-->
- <!-- android:text="本月"/>-->
- </com.google.android.material.tabs.TabLayout>
-
-
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/rv_time"
- android:layout_width="0dp"
- android:layout_height="0dp"
- app:layout_constraintTop_toBottomOf="@+id/tab_layout_time"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- android:paddingEnd="12dp" />
-
- </androidx.constraintlayout.widget.ConstraintLayout>
- </layout>
|