angel_ Well-Known Member Licensed User Longtime User Dec 31, 2019 #1 When I scroll up or down, the spinner (triangle) display blinks at the top (in the tab area), how can I avoid this effect? Attached example Attachments scroll_spinner.zip 13.8 KB · Views: 145 Screenshot_20191231.jpg 61.2 KB · Views: 160
When I scroll up or down, the spinner (triangle) display blinks at the top (in the tab area), how can I avoid this effect? Attached example
Erel B4X founder Staff member Licensed User Longtime User Jan 1, 2020 #2 This is a mistake: B4X: Scv1.Panel.LoadLayout("Layout1") Scv1.Panel.Height = 150%y You should first set the panel's size and only then load the layout. The issue you describe, which I also see, looks like an Android bug. Setting the ScrollView color seems to solve it: B4X: Scv1.Color = Colors.Transparent Workaround source: https://stackoverflow.com/questions/45442578/scrollview-and-spinner Check B4XPreferencesDialog for a nice way to create input forms. Upvote 0
This is a mistake: B4X: Scv1.Panel.LoadLayout("Layout1") Scv1.Panel.Height = 150%y You should first set the panel's size and only then load the layout. The issue you describe, which I also see, looks like an Android bug. Setting the ScrollView color seems to solve it: B4X: Scv1.Color = Colors.Transparent Workaround source: https://stackoverflow.com/questions/45442578/scrollview-and-spinner Check B4XPreferencesDialog for a nice way to create input forms.
angel_ Well-Known Member Licensed User Longtime User Jan 1, 2020 #3 Erel said: This is a mistake: B4X: Scv1.Panel.LoadLayout("Layout1") Scv1.Panel.Height = 150%y You should first set the panel's size and only then load the layout. Click to expand... Thank you Erel said: The issue you describe, which I also see, looks like an Android bug. Setting the ScrollView color seems to solve it: B4X: Scv1.Color = Colors.Transparent Click to expand... It works Upvote 0
Erel said: This is a mistake: B4X: Scv1.Panel.LoadLayout("Layout1") Scv1.Panel.Height = 150%y You should first set the panel's size and only then load the layout. Click to expand... Thank you Erel said: The issue you describe, which I also see, looks like an Android bug. Setting the ScrollView color seems to solve it: B4X: Scv1.Color = Colors.Transparent Click to expand... It works