pay_sms_result.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="fill_parent"
  4. android:layout_height="wrap_content" >
  5. <RelativeLayout
  6. android:layout_width="match_parent"
  7. android:layout_height="wrap_content"
  8. android:background="#ffffff" >
  9. <RelativeLayout
  10. android:id="@+id/relativeLayout_top"
  11. android:layout_width="fill_parent"
  12. android:layout_height="wrap_content"
  13. android:background="@drawable/top_" >
  14. <ImageView
  15. android:id="@+id/imageView1"
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:layout_centerInParent="true"
  19. android:src="@drawable/logo" />
  20. <ImageButton
  21. android:id="@+id/imagebutton_backout"
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:layout_alignParentRight="true"
  25. android:layout_centerVertical="true"
  26. android:layout_marginRight="14dp"
  27. android:background="@drawable/backout" />
  28. </RelativeLayout>
  29. <RelativeLayout
  30. android:id="@+id/relativeLayout_md"
  31. android:layout_width="fill_parent"
  32. android:layout_height="wrap_content"
  33. android:layout_alignParentLeft="true"
  34. android:layout_below="@+id/relativeLayout_top"
  35. android:background="@drawable/md_bg" >
  36. <TextView
  37. android:id="@+id/textView1"
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. android:layout_alignParentLeft="true"
  41. android:layout_centerVertical="true"
  42. android:layout_marginLeft="15dp"
  43. android:text="短信支付"
  44. android:textColor="#089afc"
  45. android:textSize="20dp" />
  46. </RelativeLayout>
  47. <RelativeLayout
  48. android:id="@+id/show_view"
  49. android:layout_width="fill_parent"
  50. android:layout_height="wrap_content"
  51. android:layout_alignLeft="@+id/textView1"
  52. android:layout_below="@+id/relativeLayout_md" >
  53. <LinearLayout
  54. android:id="@+id/linear_view"
  55. android:layout_width="fill_parent"
  56. android:layout_height="wrap_content"
  57. android:layout_marginTop="30dp"
  58. android:gravity="center"
  59. android:orientation="horizontal">
  60. <ImageView
  61. android:id="@+id/imageView_success"
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. android:src="@drawable/pay_success"
  65. />
  66. <ImageView
  67. android:id="@+id/imageView_fail"
  68. android:layout_width="wrap_content"
  69. android:layout_height="wrap_content"
  70. android:src="@drawable/pay_fail"
  71. />
  72. <TextView
  73. android:id="@+id/textView_payresult"
  74. android:layout_width="wrap_content"
  75. android:layout_height="wrap_content"/>
  76. </LinearLayout>
  77. <TextView
  78. android:id="@+id/textView_failtoast"
  79. android:layout_width="wrap_content"
  80. android:layout_height="wrap_content"
  81. android:layout_below="@+id/linear_view"
  82. android:layout_centerHorizontal="true"
  83. android:layout_marginTop="10dp"/>
  84. <TextView
  85. android:id="@+id/textView_toast"
  86. android:layout_width="wrap_content"
  87. android:layout_height="wrap_content"
  88. android:layout_below="@+id/textView_failtoast"
  89. android:layout_centerHorizontal="true"/>
  90. <ImageButton
  91. android:layout_width="wrap_content"
  92. android:layout_height="wrap_content"
  93. android:layout_below="@+id/textView_toast"
  94. android:layout_marginTop="25dp"
  95. android:layout_alignParentLeft="true"
  96. android:layout_alignParentRight="true"
  97. android:layout_marginLeft="15dp"
  98. android:layout_marginRight="15dp"
  99. android:background="@drawable/return_n"
  100. android:id="@+id/ib_return"
  101. />
  102. </RelativeLayout>
  103. <ImageView
  104. android:id="@+id/imageView5"
  105. android:layout_width="wrap_content"
  106. android:layout_height="wrap_content"
  107. android:layout_below="@+id/show_view"
  108. android:layout_marginLeft="15dp"
  109. android:layout_marginTop="17dp"
  110. android:src="@drawable/secretary" />
  111. <RelativeLayout
  112. android:layout_width="fill_parent"
  113. android:layout_height="wrap_content"
  114. android:layout_below="@+id/imageView5"
  115. android:layout_marginTop="30dp" >
  116. <ImageView
  117. android:id="@+id/imageView6"
  118. android:layout_width="wrap_content"
  119. android:layout_height="wrap_content"
  120. android:layout_centerInParent="true"
  121. android:src="@drawable/logo_bottom" />
  122. </RelativeLayout>
  123. </RelativeLayout>
  124. </ScrollView>