完善论坛—最新布局完善

0515
panqihua 5 years ago
parent bbf4209f3f
commit 589d258a71
  1. 12
      app/src/main/res/layout/main/layout/forum/layout/post.xml

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@drawable/border"> android:background="@drawable/border">
@ -27,23 +26,20 @@
app:layout_constraintTop_toBottomOf="@id/post_title" app:layout_constraintTop_toBottomOf="@id/post_title"
app:srcCompat="@drawable/border" /> app:srcCompat="@drawable/border" />
<EditText <TextView
android:id="@+id/post_content" android:id="@+id/post_content"
android:layout_width="wrap_content" android:layout_width="0dp"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginStart="24dp" android:layout_marginStart="24dp"
android:background="@drawable/border" android:background="@drawable/border"
android:ems="10" android:ems="10"
android:enabled="false"
android:hint="@string/load_post_content" android:hint="@string/load_post_content"
android:importantForAutofill="no" android:importantForAutofill="no"
android:inputType="none|textMultiLine"
android:maxLines="4" android:maxLines="4"
app:layout_constraintBottom_toBottomOf="@id/headimg" app:layout_constraintBottom_toBottomOf="@id/headimg"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/headimg" app:layout_constraintStart_toEndOf="@id/headimg"
app:layout_constraintTop_toTopOf="@id/headimg" app:layout_constraintTop_toTopOf="@id/headimg" />
tools:layout_constraintEnd_toEndOf="parent"
tools:layout_constraintStart_toEndOf="@id/headimg" />
<TextView <TextView
android:id="@+id/poster" android:id="@+id/poster"

Loading…
Cancel
Save