|
|
|
@ -41,16 +41,31 @@ |
|
|
|
|
app:layout_constraintStart_toEndOf="@id/headimg" |
|
|
|
|
app:layout_constraintTop_toTopOf="@id/headimg" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/poster" |
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/author_layout" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
android:gravity="center" |
|
|
|
|
android:textSize="18sp" |
|
|
|
|
android:orientation="horizontal" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/headimg" /> |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/post_content"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/poster" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
android:gravity="center" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/post_reply" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
android:gravity="center" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/post_time" |
|
|
|
@ -60,5 +75,5 @@ |
|
|
|
|
android:textSize="18sp" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/poster" /> |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/author_layout" /> |
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |