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

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