hendroprwk08

Untitled

Aug 24th, 2020
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.24 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    android:orientation="vertical"
  8.    tools:context=".MainActivity">
  9.  
  10.     <ProgressBar
  11.        android:id="@+id/progress_horizontal"
  12.        style="@style/Widget.AppCompat.ProgressBar.Horizontal"
  13.        android:indeterminate="true"
  14.        android:visibility="gone"
  15.        android:layout_width="match_parent"
  16.        android:layout_height="wrap_content" />
  17.  
  18.     <!-- TODO: Update blank fragment layout -->
  19.     <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
  20.        android:layout_width="match_parent"
  21.        android:layout_height="match_parent"
  22.        android:id="@+id/swipeRefreshLayout">
  23.  
  24.         <androidx.recyclerview.widget.RecyclerView
  25.            android:id="@+id/rv"
  26.            android:layout_width="match_parent"
  27.            android:layout_height="match_parent"
  28.            app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
  29.  
  30.     </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
  31.  
  32. </LinearLayout>
Add Comment
Please, Sign In to add comment