Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2022
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.98 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout 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. tools:context=".Activity.MainActivity">
  9.  
  10. <androidx.appcompat.widget.Toolbar
  11. android:id="@+id/toolbar"
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:background="?attr/colorPrimaryDark"
  15. android:elevation="4dp"
  16. android:theme="@style/ThemeOverlay.AppCompat.Dark"
  17. android:transitionName="nameApp"
  18. app:layout_constraintEnd_toEndOf="parent"
  19. app:layout_constraintStart_toStartOf="parent"
  20. app:layout_constraintTop_toTopOf="parent"></androidx.appcompat.widget.Toolbar>
  21.  
  22.  
  23. <androidx.recyclerview.widget.RecyclerView
  24. android:id="@+id/recyclerView"
  25. android:layout_width="match_parent"
  26. android:layout_height="0dp"
  27. android:layout_weight="0.8"
  28. app:layout_constraintBottom_toTopOf="@+id/ads"
  29. app:layout_constraintEnd_toEndOf="parent"
  30. app:layout_constraintTop_toTopOf="@+id/ShowMore">
  31.  
  32. </androidx.recyclerview.widget.RecyclerView>
  33.  
  34. <LinearLayout
  35. android:id="@+id/ShowMore"
  36. android:layout_width="match_parent"
  37. android:layout_height="40dp"
  38. android:layout_gravity="center"
  39. android:background="@drawable/backmore"
  40. android:gravity="center"
  41. android:orientation="horizontal"
  42. app:layout_constraintEnd_toEndOf="parent"
  43. app:layout_constraintStart_toStartOf="parent"
  44. app:layout_constraintTop_toBottomOf="@+id/toolbar">
  45.  
  46. <TextView
  47. android:layout_width="wrap_content"
  48. android:layout_height="match_parent"
  49. android:layout_gravity="center"
  50. android:gravity="center"
  51. android:text="@string/MoreItemText"
  52. android:textColor="?attr/blue"
  53. android:textSize="14sp"
  54. android:textStyle="bold"
  55. app:fontFamily="serif" />
  56.  
  57. <ImageButton
  58. android:id="@+id/btnShowMore"
  59. android:layout_width="35dp"
  60. android:layout_height="35dp"
  61. android:layout_marginLeft="10dp"
  62. android:layout_marginRight="10dp"
  63. android:background="@drawable/gift"
  64. android:gravity="center"
  65. android:text="Show"
  66. android:textColor="?attr/Black" />
  67.  
  68. </LinearLayout>
  69.  
  70.  
  71. <androidx.coordinatorlayout.widget.CoordinatorLayout
  72. android:id="@+id/customSnac"
  73. android:layout_width="match_parent"
  74. android:layout_height="wrap_content"
  75. app:layout_constraintEnd_toEndOf="parent"
  76. app:layout_constraintStart_toStartOf="parent"
  77. app:layout_constraintTop_toTopOf="@+id/ShowMore"></androidx.coordinatorlayout.widget.CoordinatorLayout>
  78.  
  79. <LinearLayout
  80. android:id="@+id/ads"
  81. android:layout_width="match_parent"
  82. android:layout_height="wrap_content"
  83. android:orientation="vertical"
  84. app:layout_constraintBottom_toBottomOf="parent"
  85. app:layout_constraintEnd_toEndOf="parent"
  86. app:layout_constraintStart_toStartOf="parent">
  87.  
  88. <com.applovin.adview.AppLovinAdView
  89. android:id="@+id/ad_applovin"
  90. android:layout_width="match_parent"
  91. android:layout_height="wrap_content"
  92. android:layout_gravity="bottom|center"
  93. android:gravity="center" />
  94.  
  95. <FrameLayout
  96. android:id="@+id/layout_ad"
  97. android:layout_width="match_parent"
  98. android:layout_height="wrap_content"
  99. android:background="?attr/Black">
  100.  
  101. </FrameLayout>
  102. </LinearLayout>
  103. </androidx.constraintlayout.widget.ConstraintLayout>
  104.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement