upsdk_app_dl_progress_dialog.xml 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/action"
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content"
  6. android:orientation="vertical">
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:layout_marginStart="24dp"
  11. android:layout_marginLeft="24dp"
  12. android:layout_marginEnd="16dp"
  13. android:layout_marginRight="16dp"
  14. android:layout_marginBottom="16dp"
  15. android:orientation="vertical">
  16. <RelativeLayout
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content"
  19. android:layout_marginBottom="4dp"
  20. android:paddingTop="24dp">
  21. <TextView
  22. android:id="@+id/third_app_dl_progress_text"
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:layout_alignParentEnd="true"
  26. android:layout_alignParentRight="true"
  27. android:layout_marginEnd="48dp"
  28. android:layout_marginRight="48dp"
  29. android:textColor="@color/upsdk_color_gray_7"
  30. android:textSize="@dimen/upsdk_master_body_2" />
  31. <TextView
  32. android:id="@+id/third_app_warn_text"
  33. android:layout_width="match_parent"
  34. android:layout_height="wrap_content"
  35. android:layout_marginEnd="16dp"
  36. android:layout_marginRight="16dp"
  37. android:layout_toStartOf="@id/third_app_dl_progress_text"
  38. android:layout_toLeftOf="@id/third_app_dl_progress_text"
  39. android:textColor="@color/upsdk_color_gray_10"
  40. android:textSize="@dimen/upsdk_master_body_2" />
  41. </RelativeLayout>
  42. <RelativeLayout
  43. android:layout_width="match_parent"
  44. android:layout_height="wrap_content"
  45. android:gravity="center_vertical">
  46. <RelativeLayout
  47. android:id="@+id/cancel_bg"
  48. android:layout_width="40dp"
  49. android:layout_height="40dp"
  50. android:layout_alignParentEnd="true"
  51. android:layout_alignParentRight="true"
  52. android:layout_centerVertical="true"
  53. android:background="@drawable/upsdk_third_download_bg"
  54. android:focusable="true">
  55. <ImageView
  56. android:id="@+id/cancel_imageview"
  57. android:layout_width="24dp"
  58. android:layout_height="24dp"
  59. android:layout_centerInParent="true"
  60. android:background="@drawable/upsdk_cancel_normal" />
  61. </RelativeLayout>
  62. <ProgressBar
  63. android:id="@+id/third_app_dl_progressbar"
  64. style="?android:attr/progressBarStyleHorizontal"
  65. android:layout_width="fill_parent"
  66. android:layout_height="wrap_content"
  67. android:layout_centerVertical="true"
  68. android:layout_marginEnd="8dp"
  69. android:layout_marginRight="8dp"
  70. android:layout_toStartOf="@id/cancel_bg"
  71. android:layout_toLeftOf="@id/cancel_bg" />
  72. </RelativeLayout>
  73. </LinearLayout>
  74. </LinearLayout>