Fix: Added the main touchArea back.

Signed-off-by: HeCodes2Much <wayne6324@gmail.com>
This commit is contained in:
HeCodes2Much
2024-08-24 16:05:27 +01:00
parent efa16d66d3
commit 9f7c0eff62
2 changed files with 8 additions and 1 deletions

View File

@@ -241,6 +241,7 @@ class HomeFragment : Fragment(),
binding.apply {
touchArea.setOnTouchListener(getSwipeGestureListener(context))
nestScrollView.setOnTouchListener(getSwipeGestureListener(context))
appListTouchArea.setOnTouchListener(getSwipeGestureListener(context))
clock.setOnClickListener { context.launchClock() }
date.setOnClickListener { context.launchCalendar() }

View File

@@ -9,6 +9,12 @@
android:orientation="vertical"
tools:context=".ui.home.HomeFragment">
<FrameLayout
android:id="@+id/touchArea"
android:layout_marginVertical="20dp"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<com.github.droidworksstudio.launcher.view.GestureNestedScrollView
android:id="@+id/nestScrollView"
android:layout_width="match_parent"
@@ -82,7 +88,7 @@
</androidx.appcompat.widget.LinearLayoutCompat>
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/touchArea"
android:id="@+id/appListTouchArea"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">