GitNex-Android-App/app/src/main/res/layout/fragment_pull_requests.xml

45 lines
1.6 KiB
XML
Raw Normal View History

2019-11-24 13:42:57 +01:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:context=".activities.RepoDetailActivity">
<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"
2020-03-04 20:37:28 +01:00
android:background="?attr/primaryBackgroundColor"
2019-11-24 13:42:57 +01:00
android:padding="4dp"
android:scrollbars="vertical"
/>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
<ProgressBar
android:id="@+id/progress_bar"
style="@style/Base.Widget.AppCompat.ProgressBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:indeterminate="true"
android:visibility="visible" />
<TextView
android:id="@+id/noData"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="15dp"
android:text="@string/noDataPullRequests"
2020-03-04 20:37:28 +01:00
android:textColor="?attr/primaryTextColor"
2019-11-24 13:42:57 +01:00
android:gravity="center"
android:textSize="20sp"
android:visibility="gone" />
</RelativeLayout>