<?xml version="1.0" encoding="utf-8"?>
|
<cn.flightfeather.thirdapp.view.HeadZoomScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:background="@drawable/bg_pic_grey">
|
|
<android.support.constraint.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:descendantFocusability="blocksDescendants">
|
<RelativeLayout
|
android:id="@+id/RL_title_progress"
|
android:layout_width="0dp"
|
android:layout_height="0dp"
|
app:layout_constraintDimensionRatio="H,16:9"
|
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
android:minHeight="@dimen/title_height"
|
android:background="@drawable/bg_title_1"
|
android:padding="@dimen/dimen4"
|
android:elevation="@dimen/dimen8"
|
tools:targetApi="lollipop">
|
|
<ImageView
|
android:id="@+id/IV_task_progress"
|
android:layout_width="60dp"
|
android:layout_height="60dp"
|
android:layout_gravity="center"
|
android:layout_alignParentBottom="true"
|
android:src="@drawable/icon_task_progress" />
|
|
<TextView
|
android:id="@+id/TV_task_progress"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="@dimen/dimen4"
|
android:layout_toEndOf="@id/IV_task_progress"
|
android:layout_alignParentBottom="true"
|
android:text="@string/taskProgress"
|
android:textColor="@color/white"
|
android:textSize="@dimen/title_text_size_1" />
|
|
</RelativeLayout>
|
|
|
<android.support.v7.widget.RecyclerView
|
android:id="@+id/RV_task_progress"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:paddingLeft="@dimen/padding_all"
|
android:paddingRight="@dimen/padding_all"
|
app:layout_constraintTop_toBottomOf="@id/RL_title_progress"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintVertical_bias="0"
|
app:layout_constrainedHeight="true"/>
|
</android.support.constraint.ConstraintLayout>
|
|
|
</cn.flightfeather.thirdapp.view.HeadZoomScrollView>
|