fanwei_view_custom.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:orientation="vertical" >
  6. <ImageView
  7. android:id="@+id/fanwei_custom_icon"
  8. android:layout_width="55dp"
  9. android:layout_height="55dp"
  10. android:layout_alignParentLeft="true"
  11. android:layout_margin="3dp"
  12. android:padding="2dp" />
  13. <LinearLayout
  14. android:layout_width="match_parent"
  15. android:layout_height="match_parent"
  16. android:layout_alignParentTop="true"
  17. android:layout_toRightOf="@id/fanwei_custom_icon"
  18. android:orientation="vertical"
  19. android:gravity="center_vertical"
  20. android:layout_marginLeft="5dp">
  21. <RelativeLayout
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content" >
  24. <TextView
  25. android:id="@+id/fanwei_tv_custom_title"
  26. style="@style/Fan_NotificationTitle"
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:layout_alignParentLeft="true"
  30. android:layout_centerVertical="true"
  31. android:text="title"
  32. android:textSize="15sp" />
  33. </RelativeLayout>
  34. <TextView
  35. android:id="@+id/fanwei_tv_custom_content"
  36. style="@style/NotificationContent"
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:layout_marginTop="1dip"
  40. android:text="content"
  41. android:textSize="12sp" />
  42. </LinearLayout>
  43. </RelativeLayout>