Android Question Scrollview

WofaCle

Member
Hi, everyone please kindly help me i am creating an app in B4A similar to bible
So i have my longtext from my sqlite db browser the problem is the text from the
The database is showing but i can't scroll down to view all the text from db
I would also want to create a button that when i click it will take to the next
Section of the text thank you..
 

walterf25

Expert
Licensed User
Longtime User
Hi, everyone please kindly help me i am creating an app in B4A similar to bible
So i have my longtext from my sqlite db browser the problem is the text from the
The database is showing but i can't scroll down to view all the text from db
I would also want to create a button that when i click it will take to the next
Section of the text thank you..
It's hard to advise you without more details, what view are you using to display the text, if you're using a scroll view, you need to show your code, you need to measure the height of the text and assign that same height plus a little more to your scroll view.
 
Upvote 0

AnandGupta

Expert
Licensed User
Longtime User
My advise, since you are trying to show similar to book pages,
  1. use customlistview to show contents from the rows of sql db
  2. use webview to show page from the column value. it will scroll and also zoom in/out
  3. use two button for next / previous and show next / previous rows column value
  4. use your imagination to enhance
 
Upvote 0

WofaCle

Member
It's hard to advise you without more details, what view are you using to display the text, if you're using a scroll view, you need to show your code, you need to measure the height of the text and assign that same height plus a little more to your scroll view.
actually i use label as to display the text. thanks a lot i will do so
 
Upvote 0

WofaCle

Member
My advise, since you are trying to show similar to book pages,
  1. use customlistview to show contents from the rows of sql db
  2. use webview to show page from the column value. it will scroll and also zoom in/out
  3. use two button for next / previous and show next / previous rows column value
  4. use your imagination to enhance
yes it similar to book page or like bible app, okay Sir i will try the all that you said thanks a lot
 
Upvote 0
Top