fan_dialog_normal_layout.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="wrap_content"
  5. android:layout_height="wrap_content"
  6. android:layout_gravity="center"
  7. android:orientation="vertical"
  8. android:padding="@dimen/fanwei_10_dp"
  9. tools:context="com.fanwei.sdk.activity.activity.view.CustomerDialogBuilder" >
  10. <LinearLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent"
  13. android:layout_gravity="center"
  14. android:background="@drawable/fanwei_bg_bombbox"
  15. android:orientation="vertical" >
  16. <TextView
  17. style="@style/fan_sms_title_text_style"
  18. android:layout_marginBottom="@dimen/fanwei_10_dp"
  19. android:text="@string/fanwei_hint_sms_code" />
  20. <View
  21. android:layout_width="fill_parent"
  22. android:layout_height="1.0px"
  23. android:background="#ffd0d0d0" />
  24. <TextView
  25. android:id="@+id/fan_dialog_money"
  26. style="@style/fan_sms_text_style"
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content"
  29. android:gravity="left|center"
  30. android:paddingBottom="@dimen/fanwei_15_dp"
  31. android:paddingLeft="@dimen/fanwei_10_dp"
  32. android:paddingRight="@dimen/fanwei_20_dp"
  33. android:paddingTop="@dimen/fanwei_10_dp" />
  34. <View
  35. android:layout_width="match_parent"
  36. android:layout_height="1.0px"
  37. android:background="#ffd0d0d0" />
  38. <LinearLayout
  39. android:layout_width="match_parent"
  40. android:layout_height="match_parent"
  41. android:gravity="left|center"
  42. android:orientation="horizontal" >
  43. <TextView
  44. android:id="@+id/fan_dialog_bank"
  45. style="@style/fan_sms_text_style"
  46. android:layout_width="wrap_content"
  47. android:layout_height="wrap_content"
  48. android:layout_weight="10.0"
  49. android:paddingBottom="@dimen/fanwei_15_dp"
  50. android:paddingLeft="@dimen/fanwei_10_dp"
  51. android:paddingRight="@dimen/fanwei_20_dp"
  52. android:paddingTop="@dimen/fanwei_10_dp" />
  53. <ImageView
  54. android:layout_width="wrap_content"
  55. android:layout_height="wrap_content"
  56. android:layout_marginLeft="20dp"
  57. android:layout_marginRight="@dimen/fanwei_10_dp"
  58. android:layout_weight="1.0"
  59. android:contentDescription="@null"
  60. android:src="@drawable/fanwei_right" >
  61. </ImageView>
  62. </LinearLayout>
  63. <View
  64. android:layout_width="match_parent"
  65. android:layout_height="1.0px"
  66. android:background="#ffd0d0d0" />
  67. <LinearLayout
  68. android:layout_width="match_parent"
  69. android:layout_height="@dimen/fanwei_50_dp"
  70. android:background="@drawable/bg_edittext_normal"
  71. android:orientation="horizontal" >
  72. <include
  73. android:layout_width="20.0px"
  74. android:layout_height="match_parent"
  75. layout="@layout/fan_space_view_layout" />
  76. <EditText
  77. android:id="@+id/fan_dialog_message"
  78. android:layout_width="0dp"
  79. android:layout_height="match_parent"
  80. android:layout_weight="1.0"
  81. android:background="@drawable/bg_edittext_normal"
  82. android:focusable="true"
  83. android:focusableInTouchMode="true"
  84. android:hint="@string/fanwei_hint_sms_code"
  85. android:inputType="number"
  86. android:singleLine="true"
  87. android:textColor="@android:color/black"
  88. android:textSize="@dimen/text_15_size" />
  89. <Button
  90. android:id="@+id/fan_dialog_message_btn"
  91. android:layout_width="0dp"
  92. android:layout_height="match_parent"
  93. android:layout_marginRight="@dimen/fanwei_10_dp"
  94. android:layout_marginTop="@dimen/fanwei_15_dp"
  95. android:layout_weight="1.0"
  96. android:background="@color/fanwei_color_touming"
  97. android:gravity="right"
  98. android:text="@string/fanwei_sms_text"
  99. android:textColor="@color/fanwei_color_shenhui"
  100. android:textSize="@dimen/text_15_size" />
  101. </LinearLayout>
  102. <LinearLayout
  103. android:layout_width="match_parent"
  104. android:layout_height="@dimen/fanwei_60_dp"
  105. android:layout_gravity="bottom"
  106. android:layout_marginBottom="@dimen/fanwei_5_dp"
  107. android:layout_marginTop="@dimen/fanwei_10_dp"
  108. android:gravity="center_horizontal"
  109. android:orientation="horizontal" >
  110. <Button
  111. android:id="@+id/fan_positiveButton"
  112. style="@style/fan_text_15_style"
  113. android:layout_width="0dp"
  114. android:layout_height="@dimen/fanwei_50_dp"
  115. android:layout_weight="1.0"
  116. android:background="@drawable/btn_ok_selector"
  117. android:text="@string/cancel" />
  118. <Button
  119. android:id="@+id/fan_negativeButton"
  120. style="@style/fan_text_15_style"
  121. android:layout_width="0dp"
  122. android:layout_height="@dimen/fanwei_50_dp"
  123. android:layout_marginLeft="@dimen/fanwei_10_dp"
  124. android:layout_weight="1.0"
  125. android:background="@drawable/btn_cancel_selector"
  126. android:text="@string/payment" />
  127. </LinearLayout>
  128. </LinearLayout>
  129. </FrameLayout>