diff options
author | Isidro Henoch <imhenoch@protonmail.com> | 2022-01-02 16:14:50 -0600 |
---|---|---|
committer | Isidro Henoch <imhenoch@protonmail.com> | 2022-01-02 16:14:50 -0600 |
commit | 84fd0a97d775b88ef03c3161bbe126032ace8238 (patch) | |
tree | d61d251d95742edd9e1a9e1a50adab47757d3de6 /androidApp/src/main/res/layout | |
parent | 1c2761ac6bf1b3bb6e78fc3466c09aa6f0492de0 (diff) | |
download | etbsa-trackermap-mobile-84fd0a97d775b88ef03c3161bbe126032ace8238.tar.gz etbsa-trackermap-mobile-84fd0a97d775b88ef03c3161bbe126032ace8238.tar.bz2 etbsa-trackermap-mobile-84fd0a97d775b88ef03c3161bbe126032ace8238.zip |
Disables tab layout swipe gestures on the details activity
Diffstat (limited to 'androidApp/src/main/res/layout')
-rw-r--r-- | androidApp/src/main/res/layout/details_activity.xml | 14 | ||||
-rw-r--r-- | androidApp/src/main/res/layout/unit_details_reports.xml | 19 |
2 files changed, 17 insertions, 16 deletions
diff --git a/androidApp/src/main/res/layout/details_activity.xml b/androidApp/src/main/res/layout/details_activity.xml index 00ebdbf..f79ea69 100644 --- a/androidApp/src/main/res/layout/details_activity.xml +++ b/androidApp/src/main/res/layout/details_activity.xml @@ -1,25 +1,25 @@ <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" - android:layout_height="match_parent" - xmlns:app="http://schemas.android.com/apk/res-auto"> + android:layout_height="match_parent"> <com.google.android.material.tabs.TabLayout android:id="@+id/detailsTabs" android:layout_width="match_parent" android:layout_height="wrap_content" + app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintEnd_toEndOf="parent"/> + app:layout_constraintTop_toTopOf="parent" /> <androidx.viewpager2.widget.ViewPager2 android:id="@+id/detailsPager" android:layout_width="match_parent" android:layout_height="0dp" - app:layout_constraintTop_toBottomOf="@id/detailsTabs" - app:layout_constraintStart_toStartOf="parent" + app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintBottom_toBottomOf="parent"/> + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/detailsTabs" /> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file diff --git a/androidApp/src/main/res/layout/unit_details_reports.xml b/androidApp/src/main/res/layout/unit_details_reports.xml index e39f279..cf3c7b2 100644 --- a/androidApp/src/main/res/layout/unit_details_reports.xml +++ b/androidApp/src/main/res/layout/unit_details_reports.xml @@ -9,31 +9,32 @@ android:id="@+id/reportMap" android:layout_width="0dp" android:layout_height="0dp" + android:layout_margin="@dimen/margin" + android:background="@color/darkBackground" + android:visibility="gone" app:layout_constraintBottom_toTopOf="@id/periodSection" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" - android:layout_margin="@dimen/margin" - android:visibility="gone" - android:background="@color/darkBackground"/> + app:layout_constraintTop_toTopOf="parent" /> <ScrollView android:id="@+id/eventsScroll" android:layout_width="0dp" android:layout_height="0dp" + android:layout_margin="@dimen/margin" + android:visibility="gone" app:layout_constraintBottom_toTopOf="@id/periodSection" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" - android:layout_margin="@dimen/margin" - android:visibility="gone"> + app:layout_constraintTop_toTopOf="parent"> + <TableLayout android:id="@+id/eventsTable" android:layout_width="match_parent" android:layout_height="wrap_content" - android:stretchColumns="*" + android:isScrollContainer="true" android:scrollbars="vertical" - android:isScrollContainer="true"> + android:stretchColumns="*"> <TableRow android:background="@color/colorPrimary"> |