ttw_alipay_pay.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:paddingRight="6dip" >
  6. <LinearLayout
  7. android:id="@+id/ll_money"
  8. android:focusable="true" android:focusableInTouchMode="true"
  9. android:layout_width="match_parent" android:layout_height="wrap_content">
  10. <requestFocus />
  11. <EditText
  12. android:id="@+id/et_money"
  13. android:layout_width="fill_parent"
  14. android:layout_height="42dip"
  15. android:background="@drawable/ttw_edit_bg"
  16. android:numeric="integer"
  17. android:singleLine="true"
  18. android:maxLength="9"
  19. android:focusable="false"
  20. android:focusableInTouchMode="false"
  21. android:paddingLeft="6dip"
  22. android:layout_marginTop="6dip"
  23. />
  24. </LinearLayout>
  25. <TextView
  26. android:id="@+id/tv_desc"
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:text="去支付宝付款"
  30. android:textSize="14sp"
  31. android:textColor="#6E6E6E"
  32. android:layout_marginTop="3dip"
  33. android:layout_below="@id/ll_money"
  34. />
  35. <TextView
  36. android:id="@+id/tv_pay"
  37. android:layout_width="match_parent"
  38. android:layout_height="42dip"
  39. android:gravity="center"
  40. android:textSize="16sp"
  41. android:text="立即付款"
  42. android:textColor="@android:color/white"
  43. android:background="#00b600"
  44. android:layout_alignParentBottom="true"
  45. android:layout_marginBottom="30dip"
  46. />
  47. </RelativeLayout>