tysdkn_main_f.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="#00000000"
  8. android:orientation="vertical"
  9. >
  10. <LinearLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent"
  13. android:background="#ffffff"
  14. android:orientation="vertical">
  15. <RelativeLayout
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content">
  18. <ImageView
  19. android:id="@+id/tysdkn_main_f_close"
  20. android:layout_width="18dp"
  21. android:layout_height="18dp"
  22. android:layout_centerVertical="true"
  23. android:layout_margin="10dp"
  24. android:src="@drawable/tysdkn_close" />
  25. <LinearLayout
  26. android:id="@+id/tysdkn_main_f_d_root"
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:layout_alignParentRight="true"
  30. android:layout_centerVertical="true"
  31. android:gravity="center_horizontal"
  32. android:orientation="vertical"
  33. android:paddingRight="15dp"
  34. android:visibility="invisible">
  35. <com.sdk.tysdk.ui.anim.GifView
  36. android:id="@+id/tysdkn_main_f_gif"
  37. android:layout_width="13dp"
  38. android:layout_height="21dp" />
  39. <TextView
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:text="下载APP"
  43. android:textColor="#111111"
  44. android:textSize="12sp" />
  45. </LinearLayout>
  46. <LinearLayout
  47. android:id="@+id/tysdkn_main_f_name_e_root"
  48. android:layout_width="wrap_content"
  49. android:layout_height="wrap_content"
  50. android:layout_centerInParent="true"
  51. android:layout_marginBottom="20dp"
  52. android:orientation="horizontal">
  53. <TextView
  54. android:id="@+id/tysdkn_main_f_name_tv"
  55. android:layout_width="wrap_content"
  56. android:layout_height="wrap_content"
  57. android:layout_gravity="center"
  58. android:textColor="#ff333333"
  59. android:textSize="20sp"
  60. tools:text="丹彤妙春LOL" />
  61. <ImageView
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. android:layout_gravity="center"
  65. android:layout_marginLeft="10dp"
  66. android:src="@drawable/tysdkn_name_e" />
  67. </LinearLayout>
  68. </RelativeLayout>
  69. <!--竖版布局-->
  70. <include layout="@layout/tysdkn_main_top_layout" />
  71. <LinearLayout
  72. android:layout_width="match_parent"
  73. android:layout_height="wrap_content"
  74. android:layout_marginTop="30dp"
  75. android:orientation="horizontal">
  76. <GridView
  77. android:id="@+id/tysdkn_main_f_gl"
  78. android:layout_width="0dp"
  79. android:layout_height="match_parent"
  80. android:layout_weight="1"
  81. android:numColumns="4"
  82. android:scrollbars="none"
  83. android:verticalSpacing="18dp" />
  84. <!--横版布局-->
  85. <include layout="@layout/tysdkn_main_right_layout" />
  86. </LinearLayout>
  87. </LinearLayout>
  88. </LinearLayout>