|
@@ -13,16 +13,14 @@
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:id="@+id/messageLayout"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ style="@style/push_layout_properties_specify_width"
|
|
|
android:layout_marginTop="@dimen/divider_12px"
|
|
|
android:background="@drawable/bg_item_push"
|
|
|
android:minHeight="@dimen/divider_105px">
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
android:id="@+id/imageTips"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ style="@style/push_layout_properties_self_adaption"
|
|
|
android:layout_marginStart="@dimen/divider_24px"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
@@ -30,8 +28,7 @@
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
android:id="@+id/pushType"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ style="@style/push_layout_properties_self_adaption"
|
|
|
android:layout_marginStart="@dimen/divider_8px"
|
|
|
android:text="@{data.msgType}"
|
|
|
android:textColor="@color/color_FF4A76FF"
|
|
@@ -41,20 +38,18 @@
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ style="@style/push_layout_properties_self_adaption"
|
|
|
android:text="@{data.msgTitle}"
|
|
|
android:textColor="@color/color_FF4A76FF"
|
|
|
android:textSize="@dimen/divider_24px"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
android:id="@+id/tvDate"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ style="@style/push_layout_properties_self_adaption"
|
|
|
android:layout_marginTop="@dimen/divider_23px"
|
|
|
android:layout_marginEnd="@dimen/divider_35px"
|
|
|
android:textColor="@color/color_FF2B70FF"
|
|
@@ -64,8 +59,7 @@
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
android:id="@+id/tvStatus"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ style="@style/push_layout_properties_self_adaption"
|
|
|
android:layout_marginTop="@dimen/divider_4px"
|
|
|
android:layout_marginEnd="@dimen/divider_35px"
|
|
|
android:layout_marginBottom="@dimen/divider_23px"
|