aaronk Well-Known Member Licensed User Longtime User May 20, 2017 #1 Hi, I have a TabStrip in my layout and loaded it in my activity.. I then loaded 2 tabs: B4X: TabStrip1.LoadLayout("Layout1", "Page1") TabStrip1.LoadLayout("Layout2", "Page2") When I scroll to the first and last tabs and it hits the end, it shows the shadow to say it has hit the end. Is there a way to remove this shadow ?
Hi, I have a TabStrip in my layout and loaded it in my activity.. I then loaded 2 tabs: B4X: TabStrip1.LoadLayout("Layout1", "Page1") TabStrip1.LoadLayout("Layout2", "Page2") When I scroll to the first and last tabs and it hits the end, it shows the shadow to say it has hit the end. Is there a way to remove this shadow ?
Erel B4X founder Staff member Licensed User Longtime User May 21, 2017 #2 Yes: B4X: Dim jo As JavaObject = TabStrip1 jo.GetFieldJO("vp").RunMethod("setOverScrollMode", Array(2)) '2 = NEVER Upvote 0
Yes: B4X: Dim jo As JavaObject = TabStrip1 jo.GetFieldJO("vp").RunMethod("setOverScrollMode", Array(2)) '2 = NEVER