123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- <?xml version="1.0" encoding="utf-8"?>
- <layout 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"
- tools:ignore="ResourceName">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@mipmap/icon_uniform_background">
- <LinearLayout
- android:id="@+id/layoutHead"
- android:layout_width="@dimen/divider_195px"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <androidx.appcompat.widget.AppCompatImageView
- android:layout_width="@dimen/divider_48px"
- android:layout_height="@dimen/divider_43px"
- android:layout_marginStart="@dimen/divider_65px"
- android:layout_marginTop="@dimen/divider_35px"
- android:background="@mipmap/bg_home" />
- <androidx.appcompat.widget.AppCompatTextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/divider_14px"
- android:layout_marginTop="@dimen/divider_38px"
- android:text="@string/home_pager"
- android:textColor="@android:color/white"
- android:textSize="@dimen/divider_28px"
- android:textStyle="bold" />
- </LinearLayout>
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/rvTrainType"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_marginStart="@dimen/divider_37px"
- android:layout_marginTop="@dimen/divider_110px"
- android:layout_marginEnd="@dimen/divider_36px"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/layoutHead" />
- <androidx.cardview.widget.CardView
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_marginStart="@dimen/divider_38px"
- android:layout_marginTop="@dimen/divider_18px"
- android:layout_marginEnd="@dimen/divider_18px"
- android:layout_marginBottom="@dimen/divider_18px"
- app:cardBackgroundColor="@android:color/white"
- app:cardCornerRadius="@dimen/divider_38px"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toRightOf="@id/rvTrainType"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <androidx.appcompat.widget.AppCompatTextView
- android:id="@+id/tvTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/divider_31px"
- android:text="@string/all_training"
- android:textColor="@color/color_FF4A76FF"
- android:textSize="@dimen/divider_42px"
- android:textStyle="bold"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <com.scwang.smartrefresh.layout.SmartRefreshLayout
- android:id="@+id/freeTrainSwipe"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/tvTitle">
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/rvTrain"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginStart="@dimen/divider_16px"
- android:layout_marginTop="@dimen/divider_8px"
- android:layout_marginBottom="@dimen/divider_8px" />
- </com.scwang.smartrefresh.layout.SmartRefreshLayout>
- <LinearLayout
- android:id="@+id/emptyLayout"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:orientation="vertical"
- android:visibility="gone"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/tvTitle"
- tools:ignore="MissingConstraints">
- <androidx.appcompat.widget.AppCompatImageView style="@style/empty_image_view_style" />
- <androidx.appcompat.widget.AppCompatTextView style="@style/empty_text_view_style" />
- </LinearLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
- </androidx.constraintlayout.widget.ConstraintLayout>
- </layout>
|