rifki_cs29

OrganicFragment

Oct 24th, 2020
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.57 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout
  3.    xmlns:android="http://schemas.android.com/apk/res/android"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    xmlns:app="http://schemas.android.com/apk/res-auto"
  6.    android:layout_width="match_parent"
  7.    android:layout_height="match_parent"
  8.    android:background="@color/colorPrimaryDark"
  9.    tools:context=".view.fragment.OrganicFragment">
  10.  
  11.     <androidx.recyclerview.widget.RecyclerView
  12.        android:id="@+id/rv_organic"
  13.        android:clipToPadding="false"
  14.        android:paddingTop="8dp"
  15.        android:paddingBottom="8dp"
  16.        android:layout_width="0dp"
  17.        android:layout_height="0dp"
  18.        app:layout_behavior="@string/appbar_scrolling_view_behavior"
  19.        app:layout_constraintBottom_toBottomOf="parent"
  20.        app:layout_constraintEnd_toEndOf="parent"
  21.        app:layout_constraintStart_toStartOf="parent"
  22.        app:layout_constraintTop_toTopOf="parent"
  23.        tools:listitem="@layout/item_row_karyawan"/>
  24.  
  25.     <ProgressBar
  26.        android:id="@+id/progress_bar"
  27.        style="?android:attr/progressBarStyle"
  28.        android:layout_width="wrap_content"
  29.        android:layout_height="wrap_content"
  30.        android:visibility="gone"
  31.        app:layout_constraintBottom_toBottomOf="parent"
  32.        app:layout_constraintEnd_toEndOf="parent"
  33.        app:layout_constraintStart_toStartOf="parent"
  34.        app:layout_constraintTop_toTopOf="parent"
  35.        android:layout_gravity="center"/>
  36. </androidx.constraintlayout.widget.ConstraintLayout>
Add Comment
Please, Sign In to add comment