mirror of
https://github.com/Matte23/circolapp.git
synced 2025-12-06 15:39:11 +00:00
Add swipe to refresh
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/circulars_refresh"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
@@ -7,4 +8,4 @@
|
||||
android:id="@+id/circulars_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
@@ -8,6 +8,10 @@
|
||||
android:title="@string/menu_search"
|
||||
app:actionViewClass="androidx.appcompat.widget.SearchView"
|
||||
app:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/menu_main_refresh"
|
||||
android:title="@string/menu_refresh"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/menu_main_settings"
|
||||
android:title="@string/title_settings" />
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
<string name="menu_about">About</string>
|
||||
<string name="menu_search">Search</string>
|
||||
<string name="menu_refresh">Refresh</string>
|
||||
|
||||
<string name="preferences_general_header">General</string>
|
||||
<string name="preference_notifications_header">Notifications</string>
|
||||
|
||||
Reference in New Issue
Block a user