push_popup_layout.xml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="fill_parent"
  4. android:layout_height="fill_parent" >
  5. <ImageView
  6. android:id="@+id/push_popup_img"
  7. android:layout_width="fill_parent"
  8. android:layout_height="fill_parent"
  9. android:scaleType="fitXY" />
  10. <RelativeLayout
  11. android:layout_width="40dp"
  12. android:layout_height="40dp"
  13. android:layout_alignParentRight="true" >
  14. <ImageView
  15. android:id="@+id/push_popup_close"
  16. android:layout_width="match_parent"
  17. android:layout_height="match_parent"
  18. android:scaleType="fitXY" >
  19. </ImageView>
  20. <TextView
  21. android:id="@+id/push_popup_close_txt"
  22. android:layout_width="match_parent"
  23. android:layout_height="match_parent"
  24. android:gravity="center"
  25. android:textColor="@android:color/white"
  26. android:textSize="20sp"
  27. android:textStyle="bold" />
  28. </RelativeLayout>
  29. <RelativeLayout
  30. android:layout_width="90dp"
  31. android:layout_height="25dp"
  32. android:layout_alignParentBottom="true"
  33. android:layout_centerHorizontal="true"
  34. android:layout_marginBottom="15dp" >
  35. <ImageButton
  36. android:id="@+id/push_popup_btn"
  37. android:layout_width="match_parent"
  38. android:layout_height="match_parent"
  39. android:background="#00000000"
  40. android:scaleType="fitXY" />
  41. <TextView
  42. android:id="@+id/push_popup_btn_txt"
  43. android:layout_width="match_parent"
  44. android:layout_height="match_parent"
  45. android:gravity="center"
  46. android:text=""
  47. android:textColor="@android:color/black"
  48. android:textSize="15sp" />
  49. </RelativeLayout>
  50. <RelativeLayout
  51. android:layout_width="80dp"
  52. android:layout_height="25dp"
  53. android:layout_alignParentRight="true"
  54. android:layout_centerVertical="true"
  55. android:layout_marginRight="15dp" >
  56. <ImageButton
  57. android:id="@+id/push_popup_btn_right"
  58. android:layout_width="match_parent"
  59. android:layout_height="match_parent"
  60. android:background="#00000000"
  61. android:scaleType="fitXY" />
  62. <TextView
  63. android:id="@+id/push_popup_btn_right_txt"
  64. android:layout_width="match_parent"
  65. android:layout_height="match_parent"
  66. android:gravity="center"
  67. android:text=""
  68. android:textColor="@android:color/black"
  69. android:textSize="15sp" />
  70. </RelativeLayout>
  71. </RelativeLayout>