push_notification_big_view.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="214dp"
  5. android:orientation="vertical" >
  6. <include layout="@layout/push_notification_normal" />
  7. <RelativeLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="150dp" >
  10. <ImageView
  11. android:id="@+id/push_notif_big_color"
  12. android:layout_width="match_parent"
  13. android:layout_height="match_parent"
  14. android:background="@android:color/white" />
  15. <ImageView
  16. android:id="@+id/push_notif_big_image"
  17. android:layout_width="match_parent"
  18. android:layout_height="match_parent"
  19. android:layout_alignParentTop="true"
  20. android:layout_marginBottom="3dp"
  21. android:layout_marginLeft="2dp"
  22. android:layout_marginRight="2dp"
  23. android:scaleType="fitXY"
  24. android:src="@drawable/push_sys_notify" />
  25. <RelativeLayout
  26. android:id="@+id/push_notif_big_btn_layout"
  27. android:layout_width="match_parent"
  28. android:layout_height="40dp"
  29. android:layout_alignParentBottom="true" >
  30. <Button
  31. android:id="@+id/push_notif_big_btn"
  32. android:layout_width="match_parent"
  33. android:layout_height="match_parent"
  34. android:layout_alignParentBottom="true"
  35. android:background="#a0000000"
  36. android:gravity="center" />
  37. <LinearLayout
  38. android:layout_width="match_parent"
  39. android:layout_height="match_parent"
  40. android:gravity="center"
  41. android:orientation="horizontal" >
  42. <ImageView
  43. android:id="@+id/push_notif_big_btn_image"
  44. android:layout_width="wrap_content"
  45. android:layout_height="match_parent"
  46. android:background="#00000000"
  47. android:src="@android:drawable/stat_sys_download" />
  48. <TextView
  49. android:id="@+id/push_notif_big_download_btn_text"
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:paddingLeft="10dp"
  53. android:text="有奖下载" />
  54. </LinearLayout>
  55. </RelativeLayout>
  56. </RelativeLayout>
  57. </LinearLayout>