I have an app that has two separate ScrollView's, the first one is filled with labels and works on both desktop and Android. The second one is filled with buttons and works on desktop but not Android.
The code for the second one looks like
<SettingsScreen>:
GridLayout:
rows: 3
cols: 1
TitleLabel:
id: title
size_hint: 1, .15
text: "SETTINGS"
ScrollView:
do_scroll_x: False
do_scroll_y: True
SettingsLayout:
id: layout
ImageButton:
size_hint: 1, .08
on_release: app.root.escape()
source: "images/icons/back.png"
Where 'SettingsLayout' is a GridLayout with size_hint: 1, 2 and populated with ButtonLabel's (which is a custom class inheriting from ButtonBehavior and Label).
The thing that is perplexing to me is that scrolling works on my desktop environment, even if I click on one of the buttons and drag up or down. But when I compile to .apk and launch on my phone, scrolling no longer works within this second ScrollView.
Since the other ScrollView I have within my app works properly on Android, I'm led to believe this is a problem with the buttons absorbing the touch movement. But this doesn't seem to be the case on the desktop app where I can click on the button and drag my mouse up or down to cause the SettingsLayout to scroll.
I am wondering if someone has experienced this or has any ideas.
Thanks