S stanks Active Member Licensed User Longtime User Jun 9, 2018 #1 hi i want to put editview on customlistview. when there is more text in editview it should be possible to scroll that text. so can someone translate this in b4x? http://www.technetexperts.com/mobil...or-controls-in-another-scrollview-in-android/ thanks
hi i want to put editview on customlistview. when there is more text in editview it should be possible to scroll that text. so can someone translate this in b4x? http://www.technetexperts.com/mobil...or-controls-in-another-scrollview-in-android/ thanks
Erel B4X founder Staff member Licensed User Longtime User Jun 10, 2018 #2 Do you need the text to be editable? Combining scrollable views is problematic as it will be difficult for the user to scroll the correct view. Upvote 0
Do you need the text to be editable? Combining scrollable views is problematic as it will be difficult for the user to scroll the correct view.
S stanks Active Member Licensed User Longtime User Jun 10, 2018 #3 No. Text doesn't have to be editable but view should be scrollable. I can have 1 sentence with few words and 10 lines of text and editview of same height. Well i post that link above where that guy solved that (probably....i don't know much java and i didn't make any app in java) and maybe you can translate that java code to b4x code and small example. Thanks for reading Upvote 0
No. Text doesn't have to be editable but view should be scrollable. I can have 1 sentence with few words and 10 lines of text and editview of same height. Well i post that link above where that guy solved that (probably....i don't know much java and i didn't make any app in java) and maybe you can translate that java code to b4x code and small example. Thanks for reading
Erel B4X founder Staff member Licensed User Longtime User Jun 11, 2018 #4 stanks said: Text doesn't have to be editable but view should be scrollable. I can have 1 sentence with few words and 10 lines of text and editview of same height. Click to expand... Why not add items with different height based on the content? Like done with CLV.AddTextItem. It is not really possible to solve this problem as you cannot know what the user wants when the user slides the finger over the list. Related discussions: https://www.b4x.com/android/forum/pages/results/?query=requestDisallowInterceptTouchEvent Upvote 0
stanks said: Text doesn't have to be editable but view should be scrollable. I can have 1 sentence with few words and 10 lines of text and editview of same height. Click to expand... Why not add items with different height based on the content? Like done with CLV.AddTextItem. It is not really possible to solve this problem as you cannot know what the user wants when the user slides the finger over the list. Related discussions: https://www.b4x.com/android/forum/pages/results/?query=requestDisallowInterceptTouchEvent