Skip to content

Instantly share code, notes, and snippets.

@vikasmain
Created January 13, 2022 12:19
Show Gist options
  • Save vikasmain/7feced4087492520cfc0ef750931b86d to your computer and use it in GitHub Desktop.
Save vikasmain/7feced4087492520cfc0ef750931b86d to your computer and use it in GitHub Desktop.
<?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"
tools:context=".view.MovieActivity">
<include
android:id="@+id/errorView"
layout="@layout/error_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
<include
android:id="@+id/movieList"
layout="@layout/movie_list"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<include
android:id="@+id/loadingView"
layout="@layout/loading_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone"
tools:visibility="visible" />
</androidx.constraintlayout.widget.ConstraintLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment