63 lines
2.4 KiB
XML
63 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
tools:context=".activities.MainActivity">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/primaryBackgroundColor"
|
|
android:padding="@dimen/dimen8dp">
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
android:id="@+id/pullToRefresh"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recyclerView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
<com.google.android.material.progressindicator.LinearProgressIndicator
|
|
android:id="@+id/progressBar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:indeterminate="true"
|
|
style="@style/Widget.Material3.LinearProgressIndicator"
|
|
app:indicatorColor="?attr/progressIndicatorColor"/>
|
|
|
|
<TextView
|
|
android:id="@+id/noData"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_margin="15dp"
|
|
android:gravity="center"
|
|
android:text="@string/noDataFound"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="18sp"
|
|
android:visibility="gone"/>
|
|
|
|
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
|
android:id="@+id/addNewRepo"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="end|bottom"
|
|
android:layout_margin="16dp"
|
|
android:text="@string/pageTitleNewRepo"
|
|
android:contentDescription="@string/pageTitleNewRepo"
|
|
android:textColor="@color/colorWhite"
|
|
android:backgroundTint="?attr/fabColor"
|
|
app:iconTint="@color/colorWhite"
|
|
app:icon="@drawable/ic_add"/>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|