完成任务说明
This commit is contained in:
25
app/src/main/res/layout/activity_area_title.xml
Normal file
25
app/src/main/res/layout/activity_area_title.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:paddingTop="20dp"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:src="@drawable/ic_baseline_arrow"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:id="@+id/activity_area_finish"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="任务说明"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/colorBack"
|
||||
app:layout_constraintTop_toTopOf="@id/activity_area_finish"
|
||||
app:layout_constraintBottom_toBottomOf="@id/activity_area_finish"
|
||||
app:layout_constraintLeft_toRightOf="@id/activity_area_finish"/>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
42
app/src/main/res/layout/capacity_item.xml
Normal file
42
app/src/main/res/layout/capacity_item.xml
Normal file
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:id="@+id/iv_tas_capacity"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:scaleType="fitCenter"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/tas_capacity_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="111111111"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintTop_toTopOf="@id/iv_tas_capacity"
|
||||
app:layout_constraintBottom_toBottomOf="@id/iv_tas_capacity"
|
||||
app:layout_constraintLeft_toRightOf="@id/iv_tas_capacity"
|
||||
android:layout_marginLeft="10dp"/>
|
||||
<TextView
|
||||
android:id="@+id/tv_through"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="成绩:通过"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:layout_marginRight="8dp"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="去测评>"
|
||||
app:layout_constraintTop_toBottomOf="@id/tv_through"
|
||||
app:layout_constraintRight_toRightOf="@id/tv_through"/>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
50
app/src/main/res/layout/fragment_capacity_evaluation.xml
Normal file
50
app/src/main/res/layout/fragment_capacity_evaluation.xml
Normal file
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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"
|
||||
tools:context=".fragment.CapacityEvaluationFragment">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/rl_capacity_evaluation"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#fff"
|
||||
android:paddingTop="@dimen/top_pind_sp"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_evaluation_task_finish"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="45dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:src="@drawable/ic_baseline_arrow"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_find"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="45dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_toRightOf="@id/iv_find_task"
|
||||
android:gravity="center"
|
||||
android:text="能力测评"
|
||||
android:textColor="#000"
|
||||
android:textSize="17sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
<com.jcodecraeer.xrecyclerview.XRecyclerView
|
||||
android:id="@+id/capacity_evaluation_recycler"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/rl_capacity_evaluation" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
39
app/src/main/res/layout/fragment_capacity_evaluation2.xml
Normal file
39
app/src/main/res/layout/fragment_capacity_evaluation2.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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"
|
||||
tools:context=".fragment.CapacityEvaluationFragment2">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/rl_capacity2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/colorPrimaryBlue"
|
||||
android:paddingTop="@dimen/top_pind_sp"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_task_capacity2_finish"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="45dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:src="@drawable/ic_baseline_arrow"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<com.jcodecraeer.xrecyclerview.XRecyclerView
|
||||
android:id="@+id/task_capacity2_recycler"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintTop_toBottomOf="@+id/rl_capacity2"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -36,13 +36,21 @@
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="11为手机号码"
|
||||
android:paddingBottom="20dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:paddingTop="10dp"
|
||||
android:background="@null"
|
||||
android:textSize="15sp"
|
||||
android:textColorHint="@color/colorTransparent"
|
||||
android:textCursorDrawable="@drawable/text_color"
|
||||
android:theme="@style/MyEditText"
|
||||
app:layout_constraintLeft_toLeftOf="@id/forgetPaw_phone"
|
||||
app:layout_constraintTop_toBottomOf="@id/forgetPaw_phone" />
|
||||
<View
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/colorHui"
|
||||
app:layout_constraintTop_toBottomOf="@id/et_forgetPaw_phone"
|
||||
app:layout_constraintLeft_toLeftOf="@id/et_forgetPaw_phone"/>
|
||||
<TextView
|
||||
android:id="@+id/forgetPaw_note"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -57,16 +65,25 @@
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_forgetPaw_note"
|
||||
android:layout_width="300dp"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="6为短信验证"
|
||||
android:paddingBottom="20dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:paddingTop="10dp"
|
||||
android:background="@null"
|
||||
android:textSize="15sp"
|
||||
android:textColorHint="@color/colorTransparent"
|
||||
android:textCursorDrawable="@drawable/text_color"
|
||||
android:theme="@style/MyEditText"
|
||||
app:layout_constraintLeft_toLeftOf="@id/forgetPaw_note"
|
||||
app:layout_constraintTop_toBottomOf="@id/forgetPaw_note" />
|
||||
|
||||
<View
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/colorHui"
|
||||
app:layout_constraintTop_toBottomOf="@id/et_forgetPaw_note"
|
||||
app:layout_constraintLeft_toLeftOf="@id/et_forgetPaw_note"/>
|
||||
<TextView
|
||||
android:id="@+id/forgetPaw_get_note"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -77,8 +94,13 @@
|
||||
app:layout_constraintTop_toTopOf="@id/et_forgetPaw_note"
|
||||
app:layout_constraintBottom_toBottomOf="@id/et_forgetPaw_note"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:layout_marginRight="30dp"/>
|
||||
|
||||
android:layout_marginRight="40dp"/>
|
||||
<TextView
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="1dp"
|
||||
android:textColor="@color/colorWhite"
|
||||
app:layout_constraintTop_toBottomOf="@id/et_forgetPaw_note"
|
||||
app:layout_constraintLeft_toLeftOf="@id/et_forgetPaw_note"/>
|
||||
|
||||
|
||||
<TextView
|
||||
@@ -98,13 +120,21 @@
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="6-20位密码"
|
||||
android:paddingBottom="20dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:paddingTop="10dp"
|
||||
android:background="@null"
|
||||
android:textSize="15sp"
|
||||
android:textColorHint="@color/colorTransparent"
|
||||
android:textCursorDrawable="@drawable/text_color"
|
||||
android:theme="@style/MyEditText"
|
||||
app:layout_constraintLeft_toLeftOf="@id/forgetPaw_paw"
|
||||
app:layout_constraintTop_toBottomOf="@id/forgetPaw_paw"/>
|
||||
<View
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/colorHui"
|
||||
app:layout_constraintTop_toBottomOf="@id/et_forgetPaw_paw"
|
||||
app:layout_constraintLeft_toLeftOf="@id/et_forgetPaw_paw"/>
|
||||
<TextView
|
||||
android:id="@+id/forgetPaw_confirm_paw"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -122,13 +152,21 @@
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="请再次输入一遍密码"
|
||||
android:paddingBottom="20dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:paddingTop="10dp"
|
||||
android:background="@null"
|
||||
android:textSize="15sp"
|
||||
android:textColorHint="@color/colorTransparent"
|
||||
android:textCursorDrawable="@drawable/text_color"
|
||||
android:theme="@style/MyEditText"
|
||||
app:layout_constraintLeft_toLeftOf="@id/forgetPaw_confirm_paw"
|
||||
app:layout_constraintTop_toBottomOf="@id/forgetPaw_confirm_paw"/>
|
||||
<View
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/colorHui"
|
||||
app:layout_constraintTop_toBottomOf="@id/et_forgetPaw_confirm_paw"
|
||||
app:layout_constraintLeft_toLeftOf="@id/et_forgetPaw_confirm_paw"/>
|
||||
<TextView
|
||||
android:id="@+id/tv_forgetPaw"
|
||||
android:layout_width="300dp"
|
||||
@@ -143,4 +181,5 @@
|
||||
app:layout_constraintTop_toBottomOf="@id/et_forgetPaw_confirm_paw"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -49,13 +49,21 @@
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="11为手机号码"
|
||||
android:paddingBottom="20dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="@null"
|
||||
android:textSize="15sp"
|
||||
android:textColorHint="@color/colorTransparent"
|
||||
android:textCursorDrawable="@drawable/text_color"
|
||||
android:theme="@style/MyEditText"
|
||||
app:layout_constraintLeft_toLeftOf="@id/register_phone"
|
||||
app:layout_constraintTop_toBottomOf="@id/register_phone" />
|
||||
<View
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/colorHui"
|
||||
app:layout_constraintTop_toBottomOf="@id/et_register_phone"
|
||||
app:layout_constraintLeft_toLeftOf="@id/et_register_phone"/>
|
||||
<TextView
|
||||
android:id="@+id/register_note"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -70,16 +78,24 @@
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_register_note"
|
||||
android:layout_width="300dp"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="6为短信验证"
|
||||
android:paddingBottom="20dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:textSize="15sp"
|
||||
android:background="@null"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textColorHint="@color/colorTransparent"
|
||||
android:textCursorDrawable="@drawable/text_color"
|
||||
android:theme="@style/MyEditText"
|
||||
app:layout_constraintLeft_toLeftOf="@id/register_note"
|
||||
app:layout_constraintTop_toBottomOf="@id/register_note" />
|
||||
<View
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/colorHui"
|
||||
app:layout_constraintTop_toBottomOf="@id/et_register_note"
|
||||
app:layout_constraintLeft_toLeftOf="@id/et_register_note"/>
|
||||
<TextView
|
||||
android:id="@+id/register_get_note"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -110,12 +126,20 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="推荐人(编码/邮箱/手机号)"
|
||||
android:textSize="15sp"
|
||||
android:paddingBottom="20dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:paddingTop="10dp"
|
||||
android:background="@null"
|
||||
android:textColorHint="@color/colorTransparent"
|
||||
android:textCursorDrawable="@drawable/text_color"
|
||||
android:theme="@style/MyEditText"
|
||||
app:layout_constraintLeft_toLeftOf="@id/register_referrer"
|
||||
app:layout_constraintTop_toBottomOf="@id/register_referrer"/>
|
||||
<View
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/colorHui"
|
||||
app:layout_constraintTop_toBottomOf="@id/et_register_referrer"
|
||||
app:layout_constraintLeft_toLeftOf="@id/et_register_referrer"/>
|
||||
<TextView
|
||||
android:id="@+id/register_paw"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -133,13 +157,21 @@
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="6-20位密码"
|
||||
android:paddingBottom="20dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:paddingTop="10dp"
|
||||
android:background="@null"
|
||||
android:textSize="15sp"
|
||||
android:textColorHint="@color/colorTransparent"
|
||||
android:textCursorDrawable="@drawable/text_color"
|
||||
android:theme="@style/MyEditText"
|
||||
app:layout_constraintLeft_toLeftOf="@id/register_paw"
|
||||
app:layout_constraintTop_toBottomOf="@id/register_paw"/>
|
||||
<View
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/colorHui"
|
||||
app:layout_constraintTop_toBottomOf="@id/et_register_paw"
|
||||
app:layout_constraintLeft_toLeftOf="@id/et_register_paw"/>
|
||||
<TextView
|
||||
android:id="@+id/register_confirm_paw"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -157,13 +189,21 @@
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="请再次输入一遍密码"
|
||||
android:paddingBottom="20dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:paddingTop="10dp"
|
||||
android:background="@null"
|
||||
android:textSize="15sp"
|
||||
android:textColorHint="@color/colorTransparent"
|
||||
android:textCursorDrawable="@drawable/text_color"
|
||||
android:theme="@style/MyEditText"
|
||||
app:layout_constraintLeft_toLeftOf="@id/register_confirm_paw"
|
||||
app:layout_constraintTop_toBottomOf="@id/register_confirm_paw"/>
|
||||
<View
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/colorHui"
|
||||
app:layout_constraintTop_toBottomOf="@id/et_register_confirm_paw"
|
||||
app:layout_constraintLeft_toLeftOf="@id/et_register_confirm_paw"/>
|
||||
<ImageView
|
||||
android:id="@+id/iv_register_check"
|
||||
android:layout_width="20dp"
|
||||
|
||||
38
app/src/main/res/layout/fragment_task_explain2.xml
Normal file
38
app/src/main/res/layout/fragment_task_explain2.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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"
|
||||
tools:context=".fragment.TaskExplainFragment2">
|
||||
<LinearLayout
|
||||
android:id="@+id/rl_task2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/colorPrimaryBlue"
|
||||
android:paddingTop="@dimen/top_pind_sp"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_task_explain2_finish"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="45dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:src="@drawable/ic_baseline_arrow"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<com.jcodecraeer.xrecyclerview.XRecyclerView
|
||||
android:id="@+id/task_explain2_recycler"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintTop_toBottomOf="@+id/rl_task2"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -1,28 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="@color/colorPrimaryBlue"
|
||||
android:paddingTop="20dp"
|
||||
android:layout_height="wrap_content">
|
||||
android:paddingTop="@dimen/top_pind_sp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_finish"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:background="@mipmap/icon_goback"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:src="@drawable/ic_baseline_arrow"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:text="注册"
|
||||
android:textColor="@color/colorWhite"
|
||||
android:textSize="18sp"
|
||||
android:id="@+id/title_register"
|
||||
app:layout_constraintLeft_toRightOf="@id/iv_finish"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:layout_marginLeft="20dp"/>
|
||||
app:layout_constraintLeft_toRightOf="@id/iv_finish"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
30
app/src/main/res/layout/tas_explain_item.xml
Normal file
30
app/src/main/res/layout/tas_explain_item.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:layout_height="60dp">
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:id="@+id/iv_tas_explain"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:scaleType="fitCenter"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/tas_explain_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="111111111"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintTop_toTopOf="@id/iv_tas_explain"
|
||||
app:layout_constraintBottom_toBottomOf="@id/iv_tas_explain"
|
||||
app:layout_constraintLeft_toRightOf="@id/iv_tas_explain"
|
||||
android:layout_marginLeft="10dp"/>
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
16
app/src/main/res/layout/task_explain2.xml
Normal file
16
app/src/main/res/layout/task_explain2.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/tv_task_explain2"
|
||||
android:text="11111111"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:layout_marginLeft="10dp"/>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -3,12 +3,44 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
<LinearLayout
|
||||
android:id="@+id/rl_find"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#fff"
|
||||
android:paddingTop="@dimen/top_pind_sp"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_find_task_explain"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="45dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:src="@drawable/ic_baseline_arrow"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_find"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="45dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_toRightOf="@id/iv_find_task"
|
||||
android:gravity="center"
|
||||
android:text="任务说明"
|
||||
android:textColor="#000"
|
||||
android:textSize="17sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
<com.jcodecraeer.xrecyclerview.XRecyclerView
|
||||
android:id="@+id/task_explain_recycler"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:background="@mipmap/ic_launcher_round"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toBottomOf="@+id/rl_find" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 172 B |
Binary file not shown.
|
Before Width: | Height: | Size: 172 B |
@@ -8,4 +8,5 @@
|
||||
<color name="colorGrey">#FAFAFA</color>
|
||||
<color name="colorWhite">#ffffff</color>
|
||||
<color name="colorTransparent">#7fffffff</color>
|
||||
<color name="colorHui">#95CAF6</color>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user