Step 1 MAIN.XML
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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:background="#000"
tools:context=".main.MainActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:layout_width="200dp"
android:layout_height="200dp"
android:layout_gravity="center"
android:src="@drawable/logopng"/>
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_marginBottom="20dp"
android:gravity="center"
android:text="LearnCode With Rk"
android:textColor="#FFF" />
</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
tools:context=".fragment.explore">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#3498db"
android:theme="@style/Theme.AppCompat"
app:elevation="0dp">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:popupTheme="@style/Theme.AppCompat"
app:theme="@style/Theme.AppCompat">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:layout_width="42dp"
android:layout_height="42dp"
android:src="@drawable/logopng" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginStart="46dp"
android:layout_marginLeft="46dp"
android:layout_marginTop="4dp"
android:fontFamily="@font/robotobold"
android:text="LearnCode With RK"
android:textColor="#FFF"
android:textSize="22sp"
android:textStyle="bold" />
<ImageView
android:id="@+id/share"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_marginRight="16dp"
android:src="@drawable/ic_baseline_share_24" />
</RelativeLayout>
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.AppBarLayout>
<LinearLayout
android:layout_marginTop="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<HorizontalScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingLeft="8dp"
android:paddingTop="8dp"
android:paddingRight="8dp"
android:paddingBottom="10dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp"
android:weightSum="100">
<androidx.cardview.widget.CardView
android:id="@+id/wordpress"
android:layout_width="200dp"
android:layout_height="250dp"
android:layout_marginEnd="8dp"
android:layout_weight="50"
app:cardCornerRadius="16dp"
android:layout_marginRight="8dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:layout_width="match_parent"
android:layout_height="220dp"
android:scaleType="centerCrop"
android:src="@drawable/wordpress1"
android:contentDescription="TODO" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="#000"
android:orientation="vertical"
android:padding="8dp">
<TextView
android:fontFamily="@font/robotobold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="WordPress Community"
android:textColor="#FFFFFF"
android:textSize="14sp"
android:textStyle="bold" />
</LinearLayout>
</RelativeLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:id="@+id/product"
android:layout_width="200dp"
android:layout_height="250dp"
android:layout_marginLeft="5dp"
android:layout_weight="50"
app:cardCornerRadius="16dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:layout_width="match_parent"
android:layout_height="220dp"
android:scaleType="centerCrop"
android:src="@drawable/products" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="#000"
android:orientation="vertical"
android:padding="8dp">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/robotobold"
android:text="Products"
android:textColor="#FFFFFF"
android:textSize="14sp"
android:textStyle="bold" />
</LinearLayout>
</RelativeLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:id="@+id/podcast"
android:layout_width="200dp"
android:layout_height="250dp"
android:layout_marginLeft="13dp"
android:layout_weight="50"
app:cardCornerRadius="16dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:layout_width="match_parent"
android:layout_height="220dp"
android:scaleType="centerCrop"
android:src="@drawable/podcast" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="#000"
android:orientation="vertical"
android:padding="8dp">
<TextView
android:fontFamily="@font/robotobold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Podcast"
android:textColor="#FFFFFF"
android:textSize="14sp"
android:textStyle="bold"/>
</LinearLayout>
</RelativeLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>
</LinearLayout>
</HorizontalScrollView>
</LinearLayout>
<TextView
android:layout_marginTop="20dp"
android:id="@+id/tv_name6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="22dp"
android:textSize="20dp"
android:fontFamily="@font/robotobold"
android:text="Payment Secured"
android:textColor="@color/black"
android:layout_marginLeft="22dp" />
<include layout="@layout/payment" />
<TextView
android:layout_marginTop="20dp"
android:id="@+id/txt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="22dp"
android:textSize="20dp"
android:text="Explore Now"
android:fontFamily="@font/robotobold"
android:textColor="@color/black"
android:layout_marginLeft="22dp" />
<LinearLayout
android:id="@+id/reg_linear"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="22dp"
android:layout_marginTop="5dp"
app:layout_constraintBottom_toBottomOf="parent"
tools:layout_editor_absoluteX="0dp">
<TextView
android:id="@+id/get_started"
android:textColor="@color/bg_screen1"
android:fontFamily="@font/robotobold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Get Started"
android:textSize="15sp" />
<TextView
android:id="@+id/support"
android:textColor="@color/bg_screen1"
android:fontFamily="@font/robotobold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="2dp"
android:text=" Support"
android:textSize="15sp"
android:layout_marginLeft="2dp" />
<TextView
android:textColor="@color/bg_screen1"
android:fontFamily="@font/robotobold"
android:id="@+id/Terms"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="2dp"
android:text=" Terms & Condition"
android:textSize="15sp"
android:layout_marginLeft="2dp" />
</LinearLayout>
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_marginTop="20dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<HorizontalScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingLeft="8dp"
android:paddingTop="8dp"
android:paddingRight="8dp"
android:paddingBottom="10dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp"
android:weightSum="100">
<androidx.cardview.widget.CardView
android:id="@+id/blog"
android:layout_width="200dp"
android:layout_height="250dp"
android:layout_marginEnd="8dp"
android:layout_weight="50"
app:cardCornerRadius="16dp"
android:layout_marginRight="8dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:layout_width="match_parent"
android:layout_height="220dp"
android:scaleType="centerCrop"
android:src="@drawable/blog"
android:contentDescription="TODO" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="#000"
android:orientation="vertical"
android:padding="8dp">
<TextView
android:fontFamily="@font/robotobold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Blog"
android:textColor="#FFFFFF"
android:textSize="14sp"
android:textStyle="bold" />
</LinearLayout>
</RelativeLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:id="@+id/career"
android:layout_width="200dp"
android:layout_height="250dp"
android:layout_marginEnd="8dp"
android:layout_weight="50"
app:cardCornerRadius="16dp"
android:layout_marginRight="8dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:layout_width="match_parent"
android:layout_height="220dp"
android:scaleType="centerCrop"
android:src="@drawable/career1" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="#000"
android:orientation="vertical"
android:padding="8dp">
<TextView
android:fontFamily="@font/robotobold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Career"
android:textColor="#FFFFFF"
android:textSize="14sp"
android:textStyle="bold" />
</LinearLayout>
</RelativeLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>
</LinearLayout>
</HorizontalScrollView>
</LinearLayout>
<include layout="@layout/referearn" />
</LinearLayout>
</LinearLayout>
</ScrollView>
Step 2 COURSE.XML
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@color/white"
android:orientation="vertical"
tools:context=".fragment.services">
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#FFFFFF"
android:theme="@style/Theme.AppCompat"
app:elevation="0dp">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="#019AE8"
android:elevation="4dp"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
tools:ignore="MissingConstraints">
<TextView
android:id="@+id/back"
android:textColor="#FFF"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="SERVICE"
android:fontFamily="@font/robotobold"
android:textSize="20dp"/>
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.AppBarLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_gravity="center"
>
<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:src="@drawable/banner"
android:scaleType="centerCrop"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="12dp"
android:clipToPadding="false"
>
<androidx.cardview.widget.CardView
android:id="@+id/web_design"
android:layout_width="0dp"
android:layout_height="130dp"
android:layout_weight="1"
android:layout_marginStart="10dp"
app:cardCornerRadius="12dp"
app:cardElevation="8dp"
app:cardUseCompatPadding="true"
android:layout_marginLeft="10dp">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/img"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/robotobold"
android:layout_gravity="center"
android:textSize="22dp"
android:text="Web Design"
android:textColor="@color/white"
android:textStyle="bold"
/>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:id="@+id/ui_ux"
android:layout_width="0dp"
android:layout_height="130dp"
android:layout_weight="1"
android:layout_marginEnd="10dp"
app:cardCornerRadius="12dp"
app:cardElevation="8dp"
app:cardUseCompatPadding="true"
android:layout_marginRight="10dp">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/img1"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:fontFamily="@font/robotobold"
android:textSize="22dp"
android:text="UI/UX Design"
android:textColor="@color/white"
android:textStyle="bold"
/>
</androidx.cardview.widget.CardView>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:clipToPadding="false"
>
<androidx.cardview.widget.CardView
android:id="@+id/digital"
android:layout_width="0dp"
android:layout_height="130dp"
android:layout_weight="1"
android:layout_marginStart="10dp"
app:cardCornerRadius="12dp"
app:cardElevation="8dp"
app:cardUseCompatPadding="true"
android:layout_marginLeft="10dp">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/img2"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:fontFamily="@font/robotobold"
android:textSize="22dp"
android:text="Digital\nMarketing"
android:textColor="@color/white"
android:textStyle="bold"
/>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:id="@+id/app_d"
android:layout_width="0dp"
android:layout_height="130dp"
android:layout_weight="1"
android:layout_marginEnd="10dp"
app:cardCornerRadius="12dp"
app:cardElevation="8dp"
app:cardUseCompatPadding="true"
android:layout_marginRight="10dp">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/img3"
/>
<TextView
android:fontFamily="@font/robotobold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:textSize="22dp"
android:text="App\nDevelopment"
android:textColor="@color/white"
android:textStyle="bold"
/>
</androidx.cardview.widget.CardView>
</LinearLayout>
</LinearLayout>
Step 3 COMMUNITY.XML
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="#F4F4F4"
android:orientation="vertical"
tools:context=".fragment.community">
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#FFFFFF"
android:theme="@style/Theme.AppCompat"
app:elevation="0dp">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="#019AE8"
android:elevation="4dp"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
tools:ignore="MissingConstraints">
<TextView
android:id="@+id/back"
android:textColor="#FFF"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="COMMUNITY"
android:fontFamily="@font/robotobold"
android:textSize="20dp"/>
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.AppBarLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:scaleType="centerCrop"
android:src="@drawable/contacts" />
</LinearLayout>
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10sp"
app:cardUseCompatPadding="true"
app:contentPadding="16dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="32dp"
android:orientation="horizontal"
android:weightSum="100">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/robotobold"
android:gravity="left"
android:text="Jion Community Now"
android:textColor="#322e47"
android:textSize="16dp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:weightSum="100">
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="33.3"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/youtube"
android:layout_width="54dp"
android:layout_height="54dp"
android:layout_marginBottom="6dp"
android:src="@drawable/youtube" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/robotobold"
android:gravity="center_horizontal"
android:text="youtube"
android:textAlignment="center"
android:textColor="#000000"
android:textSize="16dp" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_weight="33.3"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/fb"
android:layout_width="54dp"
android:layout_height="54dp"
android:layout_marginBottom="6dp"
android:src="@drawable/facebook" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/robotobold"
android:gravity="center_horizontal"
android:text="Facebook"
android:textAlignment="center"
android:textColor="#000000"
android:textSize="16dp" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="33.3"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/ins"
android:layout_width="54dp"
android:layout_height="54dp"
android:layout_marginBottom="6dp"
android:src="@drawable/instagram" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/robotobold"
android:gravity="center_horizontal"
android:text="Instagram"
android:textAlignment="center"
android:textColor="#000000"
android:textSize="16dp" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:weightSum="100">
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="33.3"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/telegram"
android:layout_width="54dp"
android:layout_height="54dp"
android:layout_marginBottom="6dp"
android:src="@drawable/telegram" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/robotobold"
android:gravity="center_horizontal"
android:text="Telegram"
android:textAlignment="center"
android:textColor="#000000"
android:textSize="16dp" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_weight="33.3"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/sho"
android:layout_width="54dp"
android:layout_height="54dp"
android:layout_marginBottom="6dp"
android:src="@drawable/spotify" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/robotobold"
android:gravity="center_horizontal"
android:text="Spotify"
android:textAlignment="center"
android:textColor="#000000"
android:textSize="16dp" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="33.3"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/ganna"
android:layout_width="54dp"
android:layout_height="54dp"
android:layout_marginBottom="6dp"
android:src="@drawable/ganna" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/robotobold"
android:gravity="center_horizontal"
android:text="Gaana"
android:textAlignment="center"
android:textColor="#000000"
android:textSize="16dp" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>
</ScrollView>
</RelativeLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
Step 4 SERVICE.XML
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:gl="http://schemas.android.com/apk/res-auto"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@color/white"
android:orientation="vertical"
tools:context=".fragment.academy">
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#FFFFFF"
android:theme="@style/Theme.AppCompat"
app:elevation="0dp">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="#019AE8"
android:elevation="4dp"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
tools:ignore="MissingConstraints">
<TextView
android:id="@+id/back"
android:textColor="#FFF"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="ACADEMY"
android:fontFamily="@font/robotobold"
android:textSize="20dp"/>
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.AppBarLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_gravity="center"
>
<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:src="@drawable/banner2"
android:scaleType="centerCrop"/>
</LinearLayout>
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_marginLeft="22dp"
android:text="Book Courses Now"
style="@style/viewParent.headerText" />
<androidx.cardview.widget.CardView
android:id="@+id/web_design1"
android:layout_gravity="center"
android:layout_width="360dp"
android:layout_height="wrap_content"
app:cardCornerRadius="15dp"
app:cardPreventCornerOverlap="true"
android:layout_marginTop="10dp">
<net.colindodd.gradientlayout.GradientRelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:minHeight="100dp"
gl:start_color="@color/bg_screen1"
gl:end_color="@color/bg_screen1"
gl:orientation="LEFT_RIGHT"
android:padding="10dp">
<TextView
android:id="@+id/textViewSub2Title"
style="@style/viewParent.headerText.HomeCardTitle"
android:text="Web Design" />
<TextView
style="@style/viewParent.headerText.homeCardContent"
android:layout_below="@id/textViewSub2Title"
android:text="Course Level Certificate\nCourse Duration: 4 Weeks" />
<ImageView
style="@style/homeCardImage"
android:maxHeight="60dp"
android:src="@drawable/website" />
</net.colindodd.gradientlayout.GradientRelativeLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:id="@+id/ui_ux_design1"
android:layout_gravity="center"
android:layout_width="360dp"
android:layout_height="wrap_content"
app:cardCornerRadius="15dp"
app:cardPreventCornerOverlap="true"
android:layout_marginTop="10dp">
<net.colindodd.gradientlayout.GradientRelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:minHeight="100dp"
gl:end_color="@color/bg_screen2"
gl:start_color="@color/bg_screen2"
gl:orientation="LEFT_RIGHT"
android:padding="10dp">
<TextView
android:id="@+id/textViewSub3Title"
style="@style/viewParent.headerText.HomeCardTitle"
android:text="Ui/Ux Design" />
<TextView
android:text="Course Level Certificate\nCourse Duration: 4 Weeks"
style="@style/viewParent.headerText.homeCardContent"
android:layout_below="@id/textViewSub3Title"/>
<ImageView
style="@style/homeCardImage"
android:maxHeight="60dp"
android:src="@drawable/ux" />
</net.colindodd.gradientlayout.GradientRelativeLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:id="@+id/digital_design1"
android:layout_gravity="center"
android:layout_width="360dp"
android:layout_height="wrap_content"
app:cardCornerRadius="15dp"
app:cardPreventCornerOverlap="true"
android:layout_marginTop="10dp">
<net.colindodd.gradientlayout.GradientRelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:minHeight="100dp"
gl:start_color="@color/green_light"
gl:end_color="@color/green_light"
gl:orientation="LEFT_RIGHT"
android:padding="10dp">
<TextView
android:id="@+id/textViewSub4Title"
style="@style/viewParent.headerText.HomeCardTitle"
android:text="Digital Marketing" />
<TextView
android:text="Course Level Certificate\nCourse Duration: 4 Weeks"
style="@style/viewParent.headerText.homeCardContent"
android:layout_below="@id/textViewSub4Title"/>
<ImageView
style="@style/homeCardImage"
android:maxHeight="60dp"
android:src="@drawable/media" />
</net.colindodd.gradientlayout.GradientRelativeLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:id="@+id/digital_teach"
android:layout_gravity="center"
android:layout_width="360dp"
android:layout_height="wrap_content"
app:cardCornerRadius="15dp"
app:cardPreventCornerOverlap="true"
android:layout_marginTop="10dp">
<net.colindodd.gradientlayout.GradientRelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:minHeight="100dp"
gl:start_color="@color/bg_screen3"
gl:end_color="@color/bg_screen3"
gl:orientation="LEFT_RIGHT"
android:padding="10dp">
<TextView
android:id="@+id/textViewSub5Title"
style="@style/viewParent.headerText.HomeCardTitle"
android:text="Digital Teaching" />
<TextView
android:text="Course Level Certificate\nCourse Duration: 4 Weeks"
style="@style/viewParent.headerText.homeCardContent"
android:layout_below="@id/textViewSub5Title"/>
<ImageView
style="@style/homeCardImage"
android:maxHeight="60dp"
android:src="@drawable/onlineclass" />
</net.colindodd.gradientlayout.GradientRelativeLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</LinearLayout>
0 Comments