aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Zelent <zelent.marcin@gmail.com>2018-04-23 17:19:58 +0200
committerMarcin Zelent <zelent.marcin@gmail.com>2018-04-23 17:19:58 +0200
commite2f49fe23b2ae1a910ab7015167e5ed9a5e4988a (patch)
treebbc450ed3480593480efcba5a5a58dcd63fa51c1 /app/src/main/res/layout/observations_list.xml
parent2cf7ca569e50caa8d33d4045977d69d1f10771c2 (diff)
Added proper new observation layout with geolocation and bird choosing,
added swipe refreshing.
Diffstat (limited to 'app/src/main/res/layout/observations_list.xml')
-rw-r--r--app/src/main/res/layout/observations_list.xml14
1 files changed, 6 insertions, 8 deletions
diff --git a/app/src/main/res/layout/observations_list.xml b/app/src/main/res/layout/observations_list.xml
index 8be21a1..9e04484 100644
--- a/app/src/main/res/layout/observations_list.xml
+++ b/app/src/main/res/layout/observations_list.xml
@@ -1,16 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
-<android.support.constraint.ConstraintLayout
+<android.support.v4.widget.SwipeRefreshLayout
xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/swiperefresh"
android:layout_width="match_parent"
android:layout_height="match_parent">
+
<ListView
android:id="@+id/observations_list_view"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
-</android.support.constraint.ConstraintLayout> \ No newline at end of file
+ android:layout_height="match_parent"/>
+
+</android.support.v4.widget.SwipeRefreshLayout> \ No newline at end of file