第一次提交
This commit is contained in:
55
app/src/main/res/layout/item_notice_1_child.xml
Normal file
55
app/src/main/res/layout/item_notice_1_child.xml
Normal file
@@ -0,0 +1,55 @@
|
||||
<?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="68dp"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:viewBindingIgnore="true"
|
||||
xmlns:fresco="http://schemas.android.com/apk/res-auto"
|
||||
android:background="@android:color/white">
|
||||
<com.facebook.drawee.view.SimpleDraweeView
|
||||
android:id="@+id/notice_1_child_head"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="16dp"
|
||||
fresco:roundedCornerRadius="4dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/notice_1_child_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@+id/notice_1_child_head"
|
||||
android:layout_marginTop="11.5dp"
|
||||
android:layout_marginLeft="15.5dp"
|
||||
android:text="醉红颜"
|
||||
android:textSize="17dp"
|
||||
android:textColor="@color/loginText"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/notice_1_child_info"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@+id/notice_1_child_head"
|
||||
android:layout_below="@+id/notice_1_child_name"
|
||||
android:layout_marginTop="1dp"
|
||||
android:layout_marginLeft="17dp"
|
||||
android:text="Hi, 欢迎来到私语世界"
|
||||
android:textSize="17sp"
|
||||
android:textColor="@color/loginText2"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="16dp"
|
||||
android:src="@drawable/group"/>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="@color/newsCuttingLine"/>
|
||||
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user