no_network.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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_fail"
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. android:src="@drawable/no_network"
  65. />
  66. <TextView
  67. android:id="@+id/textView_no_network"
  68. android:layout_width="wrap_content"
  69. android:layout_height="wrap_content"
  70. />
  71. </LinearLayout>
  72. <TextView
  73. android:id="@+id/textView_toast"
  74. android:layout_width="wrap_content"
  75. android:layout_height="wrap_content"
  76. android:layout_below="@+id/linear_view"
  77. android:layout_centerHorizontal="true"
  78. />
  79. <LinearLayout
  80. android:layout_width="fill_parent"
  81. android:layout_height="wrap_content"
  82. android:layout_below="@+id/textView_toast"
  83. android:layout_marginTop="10dp"
  84. android:orientation="horizontal"
  85. android:padding="15dp"
  86. >
  87. <ImageButton
  88. android:layout_width="wrap_content"
  89. android:layout_height="wrap_content"
  90. android:layout_weight="1"
  91. android:id="@+id/imageButton_return"
  92. android:background="@drawable/return_bt"/>
  93. <ImageButton
  94. android:layout_width="wrap_content"
  95. android:layout_height="wrap_content"
  96. android:layout_weight="1"
  97. android:id="@+id/imageButton_set"
  98. android:background="@drawable/set"/>
  99. </LinearLayout>
  100. </RelativeLayout>
  101. <ImageView
  102. android:id="@+id/imageView5"
  103. android:layout_width="wrap_content"
  104. android:layout_height="wrap_content"
  105. android:layout_below="@+id/show_view"
  106. android:layout_marginLeft="15dp"
  107. android:layout_marginTop="17dp"
  108. android:src="@drawable/secretary" />
  109. <RelativeLayout
  110. android:layout_width="fill_parent"
  111. android:layout_height="wrap_content"
  112. android:layout_below="@+id/imageView5"
  113. android:layout_marginTop="30dp" >
  114. <ImageView
  115. android:id="@+id/imageView6"
  116. android:layout_width="wrap_content"
  117. android:layout_height="wrap_content"
  118. android:layout_centerInParent="true"
  119. android:src="@drawable/logo_bottom" />
  120. </RelativeLayout>
  121. </RelativeLayout>
  122. </ScrollView>