ej_view_app_update_dialog.xml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:orientation="vertical"
  6. android:background="@color/ej_common_background">
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:layout_marginLeft="@dimen/dp_20"
  11. android:layout_marginRight="@dimen/dp_20"
  12. android:orientation="vertical">
  13. <WebView
  14. android:id="@+id/ej_app_update_content_wv"
  15. android:layout_width="match_parent"
  16. android:layout_height="@dimen/dp_200"
  17. android:layout_marginTop="@dimen/dp_20"/>
  18. <LinearLayout
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. android:orientation="horizontal"
  22. android:layout_marginTop="@dimen/dp_15">
  23. <LinearLayout
  24. android:id="@+id/ej_app_update_negative_ll"
  25. android:layout_width="@dimen/dp_0"
  26. android:layout_height="wrap_content"
  27. android:layout_weight="1"
  28. android:orientation="horizontal">
  29. <TextView
  30. android:id="@+id/ej_app_update_negative_tv"
  31. android:layout_width="0dp"
  32. android:layout_height="wrap_content"
  33. android:layout_weight="1"
  34. android:text="@string/ej_text_update_later"
  35. android:textColor="@color/ej_font_red"
  36. android:textSize="@dimen/sp_14"
  37. android:textAllCaps="false"
  38. android:gravity="center"
  39. android:paddingTop="@dimen/dp_5"
  40. android:paddingBottom="@dimen/dp_5"
  41. android:background="@drawable/ej_selector_btn_white"/>
  42. <View
  43. android:layout_width="@dimen/dp_20"
  44. android:layout_height="match_parent"/>
  45. </LinearLayout>
  46. <TextView
  47. android:id="@+id/ej_app_update_positive_tv"
  48. android:layout_width="@dimen/dp_0"
  49. android:layout_height="wrap_content"
  50. android:layout_weight="1"
  51. android:text="@string/ej_text_update_now"
  52. android:textColor="@color/ej_font_white"
  53. android:textSize="@dimen/sp_14"
  54. android:textAllCaps="false"
  55. android:gravity="center"
  56. android:paddingTop="@dimen/dp_5"
  57. android:paddingBottom="@dimen/dp_5"
  58. android:background="@drawable/ej_selector_btn_green"
  59. android:layout_marginBottom="@dimen/dp_20"/>
  60. </LinearLayout>
  61. </LinearLayout>
  62. </LinearLayout>