Created
August 26, 2020 11:10
-
-
Save ronnieotieno/6d7aad065804c7cad749adc8db27ba9f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<layout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto"> | |
<data> | |
</data> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical"> | |
<androidx.appcompat.widget.Toolbar | |
android:id="@+id/toolbar" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:background="@drawable/gradient_background" | |
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" | |
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"> | |
</androidx.appcompat.widget.Toolbar> | |
<include | |
android:id="@+id/filter_layout" | |
layout="@layout/filter_sort_layout" /> | |
<View | |
android:layout_width="match_parent" | |
android:layout_height="1dp" | |
android:background="#8D959B" /> | |
<RelativeLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<androidx.recyclerview.widget.RecyclerView | |
android:id="@+id/allProductRecyclerView" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" /> | |
<ProgressBar | |
android:id="@+id/progress_bar_popular" | |
android:layout_width="wrap_content" | |
android:layout_height="match_parent" | |
android:layout_centerInParent="true" | |
android:visibility="gone" /> | |
<TextView | |
android:id="@+id/txt_error_popular" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerInParent="true" | |
android:text="Connection Problem!!" | |
android:textAlignment="center" | |
android:visibility="gone" /> | |
<TextView | |
android:id="@+id/txt_empty" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerInParent="true" | |
android:text="No Products Found!" | |
android:textAlignment="center" | |
android:visibility="gone" /> | |
</RelativeLayout> | |
</LinearLayout> | |
</layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment