1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?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="wrap_content"
- android:orientation="vertical" >
- <ImageView
- android:id="@+id/fanwei_custom_icon"
- android:layout_width="55dp"
- android:layout_height="55dp"
- android:layout_alignParentLeft="true"
- android:layout_margin="3dp"
- android:padding="2dp" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_alignParentTop="true"
- android:layout_toRightOf="@id/fanwei_custom_icon"
- android:orientation="vertical"
- android:gravity="center_vertical"
- android:layout_marginLeft="5dp">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- <TextView
- android:id="@+id/fanwei_tv_custom_title"
- style="@style/Fan_NotificationTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_centerVertical="true"
- android:text="title"
- android:textSize="15sp" />
- </RelativeLayout>
- <TextView
- android:id="@+id/fanwei_tv_custom_content"
- style="@style/NotificationContent"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="1dip"
- android:text="content"
- android:textSize="12sp" />
- </LinearLayout>
- </RelativeLayout>
|