修复通知栏布局显示不全的问题
This commit is contained in:
parent
c949667b94
commit
86b7ad6d92
@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="80dp"
|
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center">
|
android:gravity="center">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
@ -13,48 +13,48 @@
|
|||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/img"
|
android:id="@+id/img"
|
||||||
app:riv_oval="true"
|
android:layout_width="60dp"
|
||||||
android:src="@mipmap/ic_launcher"
|
android:layout_height="60dp"
|
||||||
android:layout_width="60dp"
|
android:src="@mipmap/ic_launcher"
|
||||||
android:layout_height="60dp"/>
|
app:riv_oval="true" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_marginLeft="25dp"
|
android:layout_marginLeft="25dp"
|
||||||
android:gravity="center|left"
|
android:gravity="center|left"
|
||||||
android:orientation="vertical">
|
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/title"
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:id="@+id/content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:textSize="15sp"
|
android:layout_height="wrap_content"
|
||||||
android:textColor="@color/yellow4"
|
android:layout_marginTop="5dp"
|
||||||
android:text="我开播了!"/>
|
android:text="说好的,你今天来看我直播!"
|
||||||
|
android:textColor="@color/gray3"
|
||||||
<TextView android:id="@+id/content"
|
android:textSize="15sp" />
|
||||||
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>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginRight="15dp"
|
|
||||||
android:textColor="@color/gray3"
|
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:text="PD LIVE"/>
|
android:layout_marginRight="15dp"
|
||||||
|
android:text="PD LIVE"
|
||||||
|
android:textColor="@color/gray3" />
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
Loading…
Reference in New Issue
Block a user