LibreTube/app/src/main/res/layout/fragment_home.xml

46 lines
1.9 KiB
XML
Raw Normal View History

2021-12-09 18:25:32 +05:30
<?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"
2021-12-09 18:25:32 +05:30
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Home">
<ProgressBar
android:id="@+id/progressBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
2022-06-03 22:19:48 +05:30
app:layout_constraintBottom_toBottomOf="parent" />
2022-03-18 20:43:07 +05:30
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/home_refresh"
android:layout_width="match_parent"
android:layout_height="match_parent">
2022-06-03 22:19:48 +05:30
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recview"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/progressBar"
app:layout_constraintTop_toTopOf="parent" />
2022-06-06 19:36:53 +05:30
2022-03-18 20:43:07 +05:30
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
2022-06-06 19:36:53 +05:30
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/search_fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_margin="16dp"
app:tint="?android:attr/colorBackground"
app:backgroundTint="?attr/colorSecondary"
app:srcCompat="@drawable/ic_search" />
</androidx.constraintlayout.widget.ConstraintLayout>