消息列表详情布局修改

dev
李桢 1 year ago
parent fafa953e9e
commit c6982b675f
  1. 15
      app/src/main/res/layout/item_msg_text_left_layout.xml
  2. 34
      app/src/main/res/layout/item_msg_text_right_layout.xml
  3. 14
      app/src/main/res/layout/item_msg_video_left_layout.xml
  4. 13
      app/src/main/res/layout/item_msg_video_right_layout.xml
  5. 1
      app/src/main/res/layout/layout_appointment_record_empty.xml

@ -40,21 +40,26 @@
app:layout_constraintLeft_toRightOf="@+id/tv_name"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="@+id/tv_name" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginRight="130dp"
app:layout_constraintLeft_toLeftOf="@+id/tv_name"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tv_name">
<TextView
android:id="@+id/tv_content"
style="@style/FocusStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="17dp"
android:layout_marginRight="130dp"
android:maxWidth="800dp"
android:background="@drawable/account_password_select"
android:padding="16dp"
tools:text="通知文案通知文案通知文案通知文案通知文案通知文案通知文案 通知文案通知文案通知文案案通知文案通知文案通知文案通知文案 通知文案通知文案通知文案"
android:nextFocusRight="@+id/tv_content"
android:textSize="16sp"
android:textColor="@color/white_f1f1f1"
app:layout_constraintLeft_toLeftOf="@+id/tv_name"
app:layout_constraintTop_toBottomOf="@+id/tv_name" />
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

@ -40,21 +40,27 @@
app:layout_constraintRight_toLeftOf="@+id/tv_name"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="@+id/tv_name" />
<TextView
android:id="@+id/tv_content"
style="@style/FocusStyle"
android:layout_width="wrap_content"
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="17dp"
android:layout_marginLeft="130dp"
android:maxWidth="800dp"
android:background="@drawable/account_password_select"
android:padding="16dp"
tools:text="通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通"
android:nextFocusRight="@+id/tv_content"
android:textSize="16sp"
android:textColor="@color/white_f1f1f1"
app:layout_constraintRight_toRightOf="@+id/tv_name"
app:layout_constraintTop_toBottomOf="@+id/tv_name" />
app:layout_constraintTop_toBottomOf="@+id/tv_name"
app:layout_constraintLeft_toLeftOf="parent">
<TextView
android:id="@+id/tv_content"
style="@style/FocusStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="17dp"
android:background="@drawable/account_password_select"
android:padding="16dp"
tools:text="通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通通知文案通"
android:nextFocusRight="@+id/tv_content"
android:textSize="16sp"
android:textColor="@color/white_f1f1f1"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

@ -42,16 +42,20 @@
app:layout_constraintTop_toTopOf="@+id/tv_name" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginRight="130dp"
android:layout_marginTop="17dp"
style="@style/FocusStyle"
android:background="@drawable/account_password_select"
android:orientation="vertical"
app:layout_constraintLeft_toLeftOf="@+id/tv_name"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tv_name">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/FocusStyle"
android:background="@drawable/account_password_select"
android:orientation="vertical">
<TextView
android:layout_marginTop="16dp"
android:layout_marginLeft="16dp"
@ -76,7 +80,7 @@
tools:text="朱亚狮发起了《2023-07-06朱亚狮远程咨询》"
android:textColor="@color/white_f1f1f1"
android:textSize="16sp" />
</LinearLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

@ -42,16 +42,21 @@
app:layout_constraintTop_toTopOf="@+id/tv_name" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="130dp"
android:layout_marginTop="17dp"
style="@style/FocusStyle"
android:gravity="right"
android:background="@drawable/account_password_select"
android:orientation="vertical"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="@+id/tv_name"
app:layout_constraintTop_toBottomOf="@+id/tv_name">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/FocusStyle"
android:orientation="vertical"
android:background="@drawable/account_password_select">
<TextView
android:layout_marginTop="16dp"
@ -77,5 +82,7 @@
tools:text="朱亚狮发起了《2023-07-06朱亚狮远程咨询》"
android:textColor="@color/white_f1f1f1"
android:textSize="16sp" />
</LinearLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

@ -8,6 +8,7 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/FocusStyle"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"

Loading…
Cancel
Save