电子屏项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

80 lines
3.2 KiB

  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:background="@android:color/transparent"
  6. android:orientation="vertical">
  7. <LinearLayout
  8. android:layout_width="wrap_content"
  9. android:layout_height="wrap_content"
  10. android:orientation="vertical">
  11. <ImageView
  12. android:layout_width="300dp"
  13. android:layout_height="150dp"
  14. android:background="@drawable/custom_bg"
  15. android:scaleType="centerCrop" />
  16. <LinearLayout
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content"
  19. android:background="@android:color/white"
  20. android:orientation="vertical"
  21. android:padding="15dp">
  22. <TextView
  23. android:id="@+id/tv_title"
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:layout_gravity="center_horizontal"
  27. android:layout_marginTop="10dp"
  28. android:text="@string/update_title"
  29. android:textColor="@android:color/black"
  30. android:textSize="13sp" />
  31. <TextView
  32. android:id="@+id/tv_msg"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:layout_marginTop="10dp"
  36. android:text="@string/updatecontent"
  37. android:textColor="#666"
  38. android:textSize="12sp" />
  39. <LinearLayout
  40. android:layout_width="match_parent"
  41. android:layout_height="wrap_content"
  42. android:orientation="horizontal">
  43. <FrameLayout
  44. android:id="@+id/cancel_btn"
  45. android:layout_width="0dp"
  46. android:layout_weight="1"
  47. android:layout_marginEnd="15dp"
  48. android:layout_height="wrap_content">
  49. <Button
  50. android:id="@id/versionchecklib_version_dialog_cancel"
  51. android:layout_width="match_parent"
  52. android:layout_height="35dp"
  53. android:layout_marginTop="10dp"
  54. android:layout_weight="1"
  55. android:background="@drawable/shape_corner_plain"
  56. android:text="取消"
  57. android:textColor="@android:color/black" />
  58. </FrameLayout>
  59. <Button
  60. android:id="@id/versionchecklib_version_dialog_commit"
  61. android:layout_width="0dp"
  62. android:layout_height="35dp"
  63. android:layout_marginTop="10dp"
  64. android:layout_weight="1"
  65. android:background="@drawable/shape_corner"
  66. android:text="立即升级"
  67. android:textColor="@android:color/white" />
  68. </LinearLayout>
  69. </LinearLayout>
  70. </LinearLayout>
  71. </LinearLayout>