<?xml version="1.0" encoding="utf-8"?> <androidx.appcompat.widget.LinearLayoutCompat 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="@color/color_black" android:orientation="vertical" tools:context=".screen.shop.ShopFragment"> <androidx.cardview.widget.CardView android:layout_width="match_parent" android:layout_height="200dp" android:layout_marginTop="5dp" android:layout_marginBottom="5dp" app:cardCornerRadius="5dp"> <FrameLayout android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/color_black"> <ImageView android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/default_background" /> <View android:layout_width="match_parent" android:layout_height="match_parent" android:background="#66000000" /> </FrameLayout> <LinearLayout android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_gravity="center" android:gravity="center" android:orientation="vertical"> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/shope_title" android:textColor="@color/color_white" android:textSize="30sp" android:textStyle="bold|italic" /> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center" android:gravity="center" android:text="@string/shope_title_2" android:textColor="@color/color_white" android:textSize="20sp" android:textStyle="italic" /> </LinearLayout> </androidx.cardview.widget.CardView> <androidx.appcompat.widget.SearchView android:id="@+id/searchView" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/color_white" android:queryHint="Search products..." /> <androidx.recyclerview.widget.RecyclerView android:id="@+id/recyclerViewShop" android:layout_width="match_parent" android:layout_height="match_parent" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" /> </androidx.appcompat.widget.LinearLayoutCompat>