From 7294c6bd32e362b4c0a64cadbf4dd2c191e1ad8e Mon Sep 17 00:00:00 2001 From: Marcin Zelent Date: Thu, 29 Mar 2018 23:25:18 +0200 Subject: Added observations tabs --- app/src/main/res/layout/fragment_observations.xml | 29 +++++++++-------------- app/src/main/res/layout/observations_list.xml | 16 +++++++++++++ app/src/main/res/values/strings.xml | 2 ++ 3 files changed, 29 insertions(+), 18 deletions(-) create mode 100644 app/src/main/res/layout/observations_list.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/fragment_observations.xml b/app/src/main/res/layout/fragment_observations.xml index 791c16c..3396fcc 100644 --- a/app/src/main/res/layout/fragment_observations.xml +++ b/app/src/main/res/layout/fragment_observations.xml @@ -7,32 +7,25 @@ android:layout_height="match_parent" tools:context=".ObservationsFragment"> - + android:orientation="vertical"> + android:layout_height="wrap_content" + app:tabMode="fixed" /> - - - + - - + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d6ef134..1f045bd 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -86,4 +86,6 @@ Hello blank fragment + My observations + All observations -- cgit v1.2.3