<?xml version="1.0" encoding="utf-8"?>
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:id="@+id/tv_title"
|
android:text="系统通知"
|
android:textStyle="bold"
|
android:textSize="16sp"
|
app:layout_constraintTop_toTopOf="parent"
|
android:textColor="@color/textColor"
|
android:layout_marginTop="14dp"
|
android:layout_marginStart="14dp"
|
android:maxLines="1"
|
android:ellipsize="end"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toStartOf="@id/tv_time"
|
android:layout_marginEnd="14dp"/>
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:id="@+id/tv_content"
|
android:layout_marginStart="14dp"
|
android:singleLine="true"
|
android:ellipsize="end"
|
android:layout_marginTop="10dp"
|
app:layout_constraintTop_toBottomOf="@id/tv_title"
|
android:text="您有一节直播运动营即将开始"
|
android:textSize="13sp"
|
app:layout_constraintBottom_toBottomOf="parent"
|
android:layout_marginBottom="14dp"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:id="@+id/tv_time"
|
app:layout_constraintBaseline_toBaselineOf="@id/tv_title"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:layout_marginEnd="8dp"
|
android:textSize="12sp"
|
android:text="2022-09-09 09:01"
|
android:textColor="@color/textColor66"/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/dividing_line_color"
|
app:layout_constraintBottom_toBottomOf="parent"
|
android:layout_marginHorizontal="14dp"/>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|