Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- tools:context=".Activity.MainActivity">
- <androidx.appcompat.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="?attr/colorPrimaryDark"
- android:elevation="4dp"
- android:theme="@style/ThemeOverlay.AppCompat.Dark"
- android:transitionName="nameApp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"></androidx.appcompat.widget.Toolbar>
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/recyclerView"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="0.8"
- app:layout_constraintBottom_toTopOf="@+id/ads"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="@+id/ShowMore">
- </androidx.recyclerview.widget.RecyclerView>
- <LinearLayout
- android:id="@+id/ShowMore"
- android:layout_width="match_parent"
- android:layout_height="40dp"
- android:layout_gravity="center"
- android:background="@drawable/backmore"
- android:gravity="center"
- android:orientation="horizontal"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/toolbar">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:gravity="center"
- android:text="@string/MoreItemText"
- android:textColor="?attr/blue"
- android:textSize="14sp"
- android:textStyle="bold"
- app:fontFamily="serif" />
- <ImageButton
- android:id="@+id/btnShowMore"
- android:layout_width="35dp"
- android:layout_height="35dp"
- android:layout_marginLeft="10dp"
- android:layout_marginRight="10dp"
- android:background="@drawable/gift"
- android:gravity="center"
- android:text="Show"
- android:textColor="?attr/Black" />
- </LinearLayout>
- <androidx.coordinatorlayout.widget.CoordinatorLayout
- android:id="@+id/customSnac"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="@+id/ShowMore"></androidx.coordinatorlayout.widget.CoordinatorLayout>
- <LinearLayout
- android:id="@+id/ads"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent">
- <com.applovin.adview.AppLovinAdView
- android:id="@+id/ad_applovin"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom|center"
- android:gravity="center" />
- <FrameLayout
- android:id="@+id/layout_ad"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="?attr/Black">
- </FrameLayout>
- </LinearLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement