Newer
Older
CasicSmartWell / app / src / main / res / layout / activity_order_overtime.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/rootView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/mainBackColor"
    android:orientation="vertical">

    <com.pengxh.kt.lite.widget.TitleBarView
        android:id="@+id/titleView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/mainThemeColor"
        app:tbv_left_image="@drawable/ic_title_left"
        app:tbv_only_show_title="false"
        app:tbv_show_left_image="true"
        app:tbv_show_right_image="false"
        app:tbv_text="超时工单"
        app:tbv_text_color="@color/white"
        app:tbv_text_size="@dimen/sp_18" />

    <com.google.android.material.tabs.TabLayout
        android:id="@+id/overTimeTabLayout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:tabIndicatorColor="@color/mainThemeColor"
        app:tabIndicatorFullWidth="false"
        app:tabIndicatorHeight="3dp"
        app:tabSelectedTextColor="@color/mainThemeColor"
        app:tabTextColor="@color/mainTextColor" />

    <View
        android:layout_width="match_parent"
        android:layout_height="@dimen/lineViewSize"
        android:background="@color/hintTextColor" />

    <androidx.viewpager.widget.ViewPager
        android:id="@+id/overTimeViewPager"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1" />
</LinearLayout>