119 lines
4.8 KiB
XML
119 lines
4.8 KiB
XML
<?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:context=".activity.DailyTasksActivity">
|
||
|
||
<data>
|
||
|
||
</data>
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent"
|
||
android:background="@color/color_F8E3C8">
|
||
|
||
<com.xscm.moduleutil.widget.CustomTopBar
|
||
android:id="@+id/top_bar"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:orientation="vertical"
|
||
app:layout_constraintTop_toBottomOf="@id/top_bar">
|
||
|
||
|
||
<RelativeLayout
|
||
android:id="@+id/rl_top"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginStart="@dimen/dp_16"
|
||
android:layout_marginTop="@dimen/dp_9"
|
||
android:layout_marginEnd="@dimen/dp_16"
|
||
android:background="@mipmap/task_t"
|
||
>
|
||
|
||
<TextView
|
||
android:id="@+id/tv_title"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_alignParentTop="true"
|
||
android:layout_marginStart="@dimen/dp_25"
|
||
android:layout_marginTop="@dimen/dp_23"
|
||
android:textColor="@color/white"
|
||
tools:text="今日累计获取金币:20" />
|
||
|
||
<androidx.recyclerview.widget.RecyclerView
|
||
android:id="@+id/rv_task"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="@dimen/dp_231"
|
||
android:layout_below="@+id/tv_title"
|
||
android:layout_marginTop="@dimen/dp_8"
|
||
android:background="@drawable/bg_r16_fff"
|
||
android:padding="@dimen/dp_16" />
|
||
|
||
|
||
</RelativeLayout>
|
||
|
||
<androidx.recyclerview.widget.RecyclerView
|
||
android:id="@+id/rv_task_today"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent"
|
||
android:layout_marginTop="@dimen/dp_12"
|
||
android:paddingStart="@dimen/dp_16"
|
||
android:paddingEnd="@dimen/dp_16" />
|
||
|
||
|
||
|
||
</LinearLayout>
|
||
<!-- <LinearLayout-->
|
||
<!-- android:layout_width="match_parent"-->
|
||
<!-- android:layout_height="match_parent"-->
|
||
<!-- android:layout_marginTop="@dimen/dp_12"-->
|
||
<!-- android:orientation="vertical"-->
|
||
<!-- android:layout_below="@+id/rv_task">-->
|
||
|
||
|
||
<!-- <androidx.recyclerview.widget.RecyclerView-->
|
||
<!-- android:id="@+id/rv_task_today"-->
|
||
<!-- android:layout_width="match_parent"-->
|
||
<!-- android:layout_height="match_parent"-->
|
||
<!-- android:layout_marginTop="@dimen/dp_12"-->
|
||
<!-- android:paddingStart="@dimen/dp_16"-->
|
||
<!-- android:paddingEnd="@dimen/dp_16" />-->
|
||
<!-- </LinearLayout>-->
|
||
|
||
<ImageView
|
||
android:id="@+id/im_gz"
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:src="@mipmap/task_gz"
|
||
android:layout_marginTop="@dimen/dp_65"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
app:layout_constraintTop_toTopOf="parent" />
|
||
|
||
<RelativeLayout
|
||
android:id="@+id/cool_wait_view"
|
||
android:visibility="gone"
|
||
android:clickable="true"
|
||
android:focusable="true"
|
||
app:layout_constraintTop_toTopOf="parent"
|
||
app:layout_constraintBottom_toBottomOf="parent"
|
||
app:layout_constraintStart_toStartOf="parent"
|
||
app:layout_constraintEnd_toEndOf="parent"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent">
|
||
<app.dinus.com.loadingdrawable.LoadingView
|
||
android:layout_width="@dimen/dp_100"
|
||
android:layout_height="@dimen/dp_100"
|
||
android:layout_centerInParent="true"
|
||
android:background="@drawable/ps_ic_shadow_bg"
|
||
app:loading_renderer="CoolWaitLoadingRenderer" />
|
||
</RelativeLayout>
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
||
</layout> |