|
@@ -23,34 +23,19 @@
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/time" />
|
|
app:layout_constraintTop_toBottomOf="@+id/time" />
|
|
|
|
|
|
-
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/name"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_marginEnd="5dp"
|
|
|
|
- android:text="小明"
|
|
|
|
- android:textColor="#767581"
|
|
|
|
- android:textSize="10sp"
|
|
|
|
- android:visibility="gone"
|
|
|
|
- app:layout_constraintEnd_toStartOf="@+id/avatar"
|
|
|
|
- app:layout_constraintTop_toTopOf="@+id/avatar" />
|
|
|
|
-
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:id="@+id/content"
|
|
android:id="@+id/content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="20dp"
|
|
android:layout_marginStart="20dp"
|
|
- android:layout_marginTop="5dp"
|
|
|
|
android:layout_marginEnd="5dp"
|
|
android:layout_marginEnd="5dp"
|
|
android:background="#FFFFFF"
|
|
android:background="#FFFFFF"
|
|
android:gravity="right"
|
|
android:gravity="right"
|
|
- android:minWidth="70dp"
|
|
|
|
android:minHeight="40dp"
|
|
android:minHeight="40dp"
|
|
android:orientation="horizontal"
|
|
android:orientation="horizontal"
|
|
android:padding="10dp"
|
|
android:padding="10dp"
|
|
app:layout_constraintEnd_toStartOf="@+id/avatar"
|
|
app:layout_constraintEnd_toStartOf="@+id/avatar"
|
|
- app:layout_constraintTop_toBottomOf="@+id/name"
|
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/avatar"
|
|
app:layout_constraintWidth_max="240dp">
|
|
app:layout_constraintWidth_max="240dp">
|
|
|
|
|
|
|
|
|