Skip to content

Replace ScrollView with NestedScrollView in sync settings - #9424

Open
MiSikora wants to merge 36 commits into
developfrom
feature/mehow/simple-sync/improve-fling
Open

Replace ScrollView with NestedScrollView in sync settings#9424
MiSikora wants to merge 36 commits into
developfrom
feature/mehow/simple-sync/improve-fling

Conversation

@MiSikora

@MiSikora MiSikora commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Task/Issue URL: https://app.asana.com/1/137249556945/task/1217243919899683?focus=true
Tech Design URL (if applicable): N/A
API Proposals URL(s) (if applicable): N/A

Description

Replaces the ScrollView in the simplified Sync settings screen with a NestedScrollView. This gives the screen smoother scrolling and fling behavior, and lets it cooperate with nested scrolling containers.

Steps to test this PR

Scroll and fling the simplified Sync settings screen

  • Go to "Sync & Backup"
  • Sync this device.
  • Scroll the content up and down.
  • Fling the content quickly with the fling gesture starting from the device list.
  • Verify scrolling and flinging feel smooth.
  • Verify all items on the screen remain reachable.

UI changes

Before After
before.mp4
after.mp4

Note

Low Risk
Single layout widget swap with no logic or API changes; low risk confined to scroll behavior on one settings screen.

Overview
The simplified Sync settings layout (activity_sync_v2.xml) now uses androidx.core.widget.NestedScrollView instead of ScrollView for contentScrollView, with the same id and scrollbar attributes.

This targets smoother scrolling and fling behavior on Sync & Backup, especially when gestures start from nested UI such as the devicesRecycler list inside view_sync_v2_enabled.

Reviewed by Cursor Bugbot for commit 459e96e. Bugbot is set up for automated code reviews on this repo. Configure here.

@MiSikora
MiSikora force-pushed the feature/mehow/simple-sync/text-copies branch from 6d39974 to 80f945e Compare August 7, 2026 08:24
@MiSikora
MiSikora force-pushed the feature/mehow/simple-sync/improve-fling branch from 9fcd4ac to a8611e3 Compare August 7, 2026 08:24
smartling and others added 25 commits August 7, 2026 11:45
Translate strings-duckchat to values-hr
Translate strings-sync to values-hr
Translate strings-sync to values-tr
RecyclerView inside ScrollView has an issue with dispatching fling motion. When the touch point is inside a RecyclerView the fling gesture ends abruptly and doesn't dispatch scroll data to ScrollView. Propagation to NestedScrollView works correctly
@MiSikora
MiSikora force-pushed the feature/mehow/simple-sync/improve-fling branch from a8611e3 to 459e96e Compare August 7, 2026 09:46
@MiSikora
MiSikora force-pushed the feature/mehow/simple-sync/text-copies branch from 80f945e to 96a6c87 Compare August 7, 2026 09:46

MiSikora commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

Merge activity

  • Aug 7, 11:24 AM UTC: A user started a stack merge that includes this pull request via Graphite.

@MiSikora
MiSikora changed the base branch from feature/mehow/simple-sync/text-copies to graphite-base/9424 August 7, 2026 11:48
@MiSikora
MiSikora changed the base branch from graphite-base/9424 to develop August 7, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants