record_activity.xml 1.9 KB
<?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"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/record_bg"
    android:orientation="vertical"
    tools:context="com.studymachine.www.ui.activity.RecordActivity">

    <com.hjq.bar.TitleBar
        style="@style/ActionBarStyle"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:barStyle="transparent"
        app:leftIconWidth="@dimen/dp_22"
        app:titleIcon="@drawable/record_title"
        app:titleIconWidth="@dimen/dp_79" />


    <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/rv_time"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:fadingEdgeLength="@dimen/dp_30"
        android:orientation="horizontal"
        android:overScrollMode="ifContentScrolls"
        android:requiresFadingEdge="horizontal"
        app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
        tools:listitem="@layout/record_time_item" />


    <com.studymachine.www.widget.StatusLayout
        android:id="@+id/hl_status_hint"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        >

        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/rv_list"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical"
            android:scrollbarThumbVertical="@drawable/scrollbar_thumb"
            app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
            tools:listitem="@layout/record_item" />

    </com.studymachine.www.widget.StatusLayout>


</LinearLayout>