领透酷医云安卓客户端

update_dialog.xml 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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="wrap_content"
  5. >
  6. <RelativeLayout
  7. android:layout_width="match_parent"
  8. android:layout_height="wrap_content"
  9. android:layout_margin="16dp"
  10. android:paddingTop="30dp"
  11. android:background="@drawable/btn_background_shape_while">
  12. <TextView
  13. android:layout_centerHorizontal="true"
  14. android:text="发现新版本"
  15. android:textSize="16sp"
  16. android:gravity="center"
  17. android:layout_marginBottom="10dp"
  18. android:layout_width="wrap_content"
  19. android:layout_height="wrap_content"
  20. android:id="@+id/title_text" />
  21. <View
  22. android:id="@+id/view_line"
  23. android:layout_below="@id/title_text"
  24. android:layout_width="match_parent"
  25. android:layout_height="2dp"
  26. android:layout_marginTop="5dp"
  27. android:layout_marginRight="15dp"
  28. android:layout_marginLeft="15dp"
  29. />
  30. <LinearLayout
  31. android:layout_width="match_parent"
  32. android:id="@+id/web_desc"
  33. android:layout_margin="15dp"
  34. android:layout_below="@id/title_text"
  35. android:layout_height="150dp">
  36. <WebView
  37. android:id="@+id/tv_desc"
  38. android:layout_below="@id/title_text"
  39. android:layout_width="match_parent"
  40. android:layout_height="match_parent"
  41. android:text=""
  42. />
  43. </LinearLayout>
  44. <LinearLayout
  45. android:layout_width="match_parent"
  46. android:layout_height="80dp"
  47. android:orientation="horizontal"
  48. android:layout_below="@+id/web_desc"
  49. android:layout_marginBottom="10dp"
  50. >
  51. <Button
  52. style="@style/Widget.AppCompat.Button.Borderless"
  53. android:layout_width="0dp"
  54. android:layout_marginLeft="15dp"
  55. android:layout_marginRight="20dp"
  56. android:layout_alignParentLeft="true"
  57. android:gravity="center"
  58. android:layout_weight="1"
  59. android:visibility="visible"
  60. android:layout_marginBottom="15dp"
  61. android:background="@drawable/btn_theme_shape"
  62. android:layout_height="wrap_content"
  63. android:text="立即更新"
  64. android:id="@+id/confirm" />
  65. <Button
  66. style="@style/Widget.AppCompat.Button.Borderless"
  67. android:layout_width="0dp"
  68. android:layout_alignParentRight="true"
  69. android:layout_marginRight="15dp"
  70. android:layout_marginLeft="20dp"
  71. android:layout_weight="1"
  72. android:gravity="center"
  73. android:visibility="visible"
  74. android:layout_height="wrap_content"
  75. android:background="@drawable/btn_background_rectangle_gery"
  76. android:text="以后再说"
  77. android:id="@+id/cancel" />
  78. <Button
  79. style="@style/Widget.AppCompat.Button.Borderless"
  80. android:layout_width="0dp"
  81. android:layout_alignParentRight="true"
  82. android:layout_marginRight="15dp"
  83. android:layout_marginLeft="15dp"
  84. android:layout_weight="1"
  85. android:gravity="center"
  86. android:visibility="gone"
  87. android:layout_height="wrap_content"
  88. android:background="@drawable/btn_theme_shape"
  89. android:text="立即更新"
  90. android:id="@+id/must_confirm" />
  91. </LinearLayout>
  92. </RelativeLayout>
  93. </LinearLayout>