bdp_paycenter_loading_view.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="fill_parent"
  4. android:layout_height="fill_parent" >
  5. <LinearLayout
  6. android:id="@+id/bdp_paycenter_layout_progress"
  7. android:layout_width="wrap_content"
  8. android:layout_height="wrap_content"
  9. android:layout_gravity="center"
  10. android:gravity="center"
  11. android:orientation="horizontal" >
  12. <include
  13. android:layout_width="fill_parent"
  14. android:layout_height="fill_parent"
  15. layout="@layout/bdp_paycenter_common_progress" />
  16. </LinearLayout>
  17. <LinearLayout
  18. android:id="@+id/bdp_paycenter_layout_net_error"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:layout_gravity="center"
  22. android:gravity="center"
  23. android:paddingLeft="8dp"
  24. android:paddingRight="8dp"
  25. android:orientation="vertical"
  26. android:visibility="gone" >
  27. <ImageView
  28. android:id="@+id/bdp_paycenter_iv_network_error"
  29. android:layout_width="64dp"
  30. android:layout_height="64dp"
  31. android:src="@drawable/bdp_paycenter_ic_network_info" />
  32. <TextView
  33. android:id="@+id/bdp_paycenter_tv_network_error"
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:layout_marginTop="18dp"
  37. android:layout_gravity="center_horizontal"
  38. android:gravity="center_horizontal"
  39. android:text="@string/bdp_paycenter_tip_payment_network_error"
  40. android:textColor="@color/bdp_color_333333"
  41. android:textSize="@dimen/bdp_paycenter_text_size_16_sp" />
  42. <Button
  43. android:id="@+id/bdp_paycenter_btn_retry"
  44. android:layout_width="fill_parent"
  45. android:layout_height="36dp"
  46. android:layout_marginTop="18dp"
  47. android:layout_marginLeft="20dp"
  48. android:layout_marginRight="20dp"
  49. android:background="@drawable/bdp_paycenter_btn_pay_selector"
  50. android:gravity="center"
  51. android:text="@string/bdp_paycenter_retry"
  52. android:textColor="#ffffff"
  53. android:textSize="@dimen/bdp_paycenter_text_size_16_sp" />
  54. </LinearLayout>
  55. </FrameLayout>