Skip to content

Instantly share code, notes, and snippets.

@AniketSK
Last active August 5, 2020 08:07
Show Gist options
  • Save AniketSK/7a4583ed3282ccceee99aa2eb6845be2 to your computer and use it in GitHub Desktop.
Save AniketSK/7a4583ed3282ccceee99aa2eb6845be2 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/placesRecyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:context=".heritageplacelist.HeritageList"
tools:itemCount="5"
tools:listitem="@layout/layout_heritage_item" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center">
<ProgressBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:indeterminate="true" />
</FrameLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment