layout_sapi_loading_timeout.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. android:layout_width="fill_parent"
  5. android:layout_height="fill_parent"
  6. android:gravity="center"
  7. android:orientation="vertical"
  8. android:padding="8dp"
  9. android:background="@color/sapi_background_color">
  10. <ImageView
  11. android:layout_width="wrap_content"
  12. android:layout_height="wrap_content"
  13. android:src="@drawable/bd_ic_network_info"
  14. android:contentDescription="@string/sapi_app_name"/>
  15. <TextView
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:textSize="14sp"
  19. android:textColor="@color/sapi_edit_neting_color"
  20. android:text="@string/sapi_common_loading_timeout"/>
  21. <LinearLayout
  22. android:layout_width="fill_parent"
  23. android:layout_height="wrap_content"
  24. android:orientation="horizontal">
  25. <RelativeLayout
  26. android:id="@+id/btn_retry"
  27. android:layout_width="fill_parent"
  28. android:layout_height="44dp"
  29. android:layout_marginTop="10dp"
  30. android:background="@drawable/bd_web_btn_selector"
  31. android:clickable="true"
  32. android:layout_weight="0.5">
  33. <TextView
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:layout_centerInParent="true"
  37. android:clickable="false"
  38. android:focusable="false"
  39. android:text="@string/sapi_common_retry_btn_text"
  40. android:textColor="@color/sapi_btn_text_color"
  41. android:textSize="16sp" />
  42. </RelativeLayout>
  43. <View
  44. android:layout_width="8dp"
  45. android:layout_height="44dp"/>
  46. <RelativeLayout
  47. android:id="@+id/btn_network_settings"
  48. android:layout_width="fill_parent"
  49. android:layout_height="44dp"
  50. android:layout_marginTop="10dp"
  51. android:background="@drawable/bd_web_btn_selector"
  52. android:clickable="true"
  53. android:visibility="gone"
  54. android:layout_weight="0.5">
  55. <TextView
  56. android:layout_width="wrap_content"
  57. android:layout_height="wrap_content"
  58. android:layout_centerInParent="true"
  59. android:clickable="false"
  60. android:focusable="false"
  61. android:text="@string/sapi_common_setting_btn_text"
  62. android:textColor="@color/sapi_btn_text_color"
  63. android:textSize="16sp" />
  64. </RelativeLayout>
  65. </LinearLayout>
  66. </LinearLayout>