sdk_splash_view.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:orientation="vertical">
  8. <LinearLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. android:background="@color/sdk_white"
  12. android:orientation="vertical"
  13. >
  14. <LinearLayout
  15. android:layout_width="match_parent"
  16. android:layout_height="102dp"
  17. android:layout_marginTop="89dp"
  18. android:background="@color/sdk_creator_bg"
  19. android:orientation="horizontal"
  20. android:gravity="center">
  21. <ImageView
  22. android:id="@+id/sdk_creator_icon"
  23. android:layout_width="70dp"
  24. android:layout_height="70dp"
  25. tools:src="@drawable/sdk_launcher"/>
  26. <LinearLayout
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:orientation="vertical"
  30. android:layout_marginLeft="20dp">
  31. <TextView
  32. android:id="@+id/sdk_creator_name"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. tools:text="极米玩家家家"
  36. android:textColor="@color/sdk_text_grey"
  37. android:textSize="18sp"
  38. android:textStyle="bold"
  39. />
  40. <TextView
  41. android:id="@+id/sdk_creator_id"
  42. android:layout_width="wrap_content"
  43. android:layout_height="wrap_content"
  44. tools:text="ID:16661666"
  45. android:textColor="@color/sdk_text_grey"
  46. android:textSize="14sp"
  47. />
  48. <TextView
  49. android:id="@+id/sdk_creator_sign"
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. tools:text="填写个性签名更容易获得关注哦"
  53. android:textColor="@color/sdk_text_grey"
  54. android:textSize="14sp"
  55. />
  56. </LinearLayout>
  57. </LinearLayout>
  58. </LinearLayout>
  59. <LinearLayout
  60. android:layout_width="wrap_content"
  61. android:layout_height="wrap_content"
  62. android:layout_gravity="center"
  63. android:background="@color/sdk_white"
  64. android:orientation="vertical">
  65. <ImageView
  66. android:id="@+id/sdk_app_icon"
  67. android:layout_width="64dp"
  68. android:layout_height="64dp"
  69. android:layout_gravity="center"
  70. />
  71. <TextView
  72. android:id="@+id/sdk_app_name"
  73. android:layout_width="wrap_content"
  74. android:layout_height="wrap_content"
  75. android:layout_gravity="center"
  76. android:textSize="16sp"
  77. android:layout_marginTop="13dp"
  78. android:textColor="@color/sdk_black"
  79. tools:text="企鹅蹦蹦蹦蹦蹦"/>
  80. <ProgressBar
  81. android:layout_width="200dp"
  82. android:layout_marginTop="44dp"
  83. style="?android:attr/progressBarStyleHorizontal"
  84. android:id="@+id/sdk_progressbar"
  85. android:max="100"
  86. android:layout_height="20dp"
  87. android:indeterminateTint="#6197fd"
  88. tools:progress="50"/>
  89. <TextView
  90. android:id="@+id/tv_sdk_progress"
  91. android:layout_width="wrap_content"
  92. android:layout_height="wrap_content"
  93. android:layout_gravity="center"
  94. android:textSize="14sp"
  95. android:layout_marginTop="13dp"
  96. android:textColor="@color/sdk_progress_text"
  97. android:text="0%"/>
  98. </LinearLayout>
  99. <ImageView
  100. android:layout_width="match_parent"
  101. android:layout_height="80dp"
  102. android:src="@drawable/sdk_bottom_bg"
  103. android:layout_gravity="bottom"/>
  104. </FrameLayout>