|
@@ -1,5 +1,5 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
@@ -11,9 +11,12 @@
|
|
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ android:layout_height="0dp"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/toolbar_include">
|
|
|
|
|
|
<LinearLayout
|
|
|
+ android:paddingBottom="94dp"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:orientation="vertical">
|
|
@@ -71,6 +74,18 @@
|
|
|
android:theme="@style/MyEditText"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_task_title" />
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_edit_num"
|
|
|
+ android:layout_marginEnd="12dp"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_task_title"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_task_title"
|
|
|
+ android:text="0/200"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ android:textColor="@color/color_aaaaaa"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
@@ -128,22 +143,24 @@
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/btn_commit"
|
|
|
- style="?android:attr/borderlessButtonStyle"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/dp_45"
|
|
|
- android:layout_marginStart="@dimen/dp_28"
|
|
|
- android:layout_marginTop="@dimen/dp_55"
|
|
|
- android:layout_marginEnd="@dimen/dp_28"
|
|
|
- android:layout_marginBottom="@dimen/dp_95"
|
|
|
- android:background="@drawable/btn_primary_default_shape"
|
|
|
- android:text="提交"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/dp_16" />
|
|
|
-
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
-</LinearLayout>
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_commit"
|
|
|
+ style="?android:attr/borderlessButtonStyle"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_44"
|
|
|
+ android:layout_marginStart="@dimen/dp_25"
|
|
|
+ android:layout_marginEnd="@dimen/dp_25"
|
|
|
+ android:layout_marginBottom="@dimen/dp_40"
|
|
|
+ android:background="@drawable/btn_primary_default_shape"
|
|
|
+ android:text="提交"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/dp_18"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent" />
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|