pandorapan/common/src/main/res/layout/notification_message.xml

60 lines
1.8 KiB
XML
Raw Normal View History

2022-08-20 14:48:09 +08:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="80dp"
2022-08-26 13:00:45 +08:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2022-08-20 14:48:09 +08:00
android:gravity="center">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginRight="60dp"
android:orientation="horizontal">
2022-08-26 13:00:45 +08:00
2022-08-20 14:48:09 +08:00
<ImageView
2022-08-26 13:00:45 +08:00
android:id="@+id/img"
app:riv_oval="true"
2022-08-20 14:48:09 +08:00
android:src="@mipmap/ic_launcher"
2022-08-26 13:00:45 +08:00
android:layout_width="60dp"
android:layout_height="60dp"/>
2022-08-20 14:48:09 +08:00
<LinearLayout
android:layout_width="match_parent"
2022-08-26 13:00:45 +08:00
android:layout_height="match_parent"
2022-08-20 14:48:09 +08:00
android:layout_marginLeft="25dp"
2022-08-26 13:00:45 +08:00
android:gravity="center|left"
2022-08-20 14:48:09 +08:00
android:orientation="vertical">
2022-08-26 13:00:45 +08:00
<TextView android:id="@+id/title"
2022-08-20 14:48:09 +08:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="15sp"
android:textColor="@color/yellow4"
android:text="我开播了!"/>
2022-08-26 13:00:45 +08:00
<TextView android:id="@+id/content"
2022-08-20 14:48:09 +08:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="15sp"
android:layout_marginTop="5dp"
android:textColor="@color/gray3"
android:text="说好的,你今天来看我直播!"/>
</LinearLayout>
</LinearLayout>
2022-08-26 13:00:45 +08:00
2022-08-20 14:48:09 +08:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="15dp"
android:textColor="@color/gray3"
android:layout_alignParentRight="true"
android:text="PD LIVE"/>
2022-08-26 13:00:45 +08:00
2022-08-20 14:48:09 +08:00
</RelativeLayout>