A apty Active Member Licensed User Longtime User May 9, 2014 #1 I have a lot of information from a database (more than 20 columns) which i want to display on Labels. Each label will hold a field from the database.This won't fit in the phone screen because i need more than 20 labels to display. How can i use scrollview so that the user can scroll to see the other labels?
I have a lot of information from a database (more than 20 columns) which i want to display on Labels. Each label will hold a field from the database.This won't fit in the phone screen because i need more than 20 labels to display. How can i use scrollview so that the user can scroll to see the other labels?
eps Expert Licensed User Longtime User May 9, 2014 #2 Use this http://www.b4x.com/android/forum/threads/lib-scrollview2d.19268/ or ULV - but I think that Informatix removed the 2D stuff from ULV... Alternatively you could display more information using a click event of the item selected in ScrollView. Upvote 0
Use this http://www.b4x.com/android/forum/threads/lib-scrollview2d.19268/ or ULV - but I think that Informatix removed the 2D stuff from ULV... Alternatively you could display more information using a click event of the item selected in ScrollView.
klaus Expert Licensed User Longtime User May 9, 2014 #3 You might have a look at the SQLiteLight3 example in SQLiteLight Three simple SQLite projects. Upvote 0
A apty Active Member Licensed User Longtime User May 9, 2014 #4 what i need is a way to show label 1 label 2 label 3 label 4 etc upto 20. i should be able to scroll down the screen to view all labels Upvote 0
what i need is a way to show label 1 label 2 label 3 label 4 etc upto 20. i should be able to scroll down the screen to view all labels
klaus Expert Licensed User Longtime User May 9, 2014 #5 Did you have a look at the example I suggested you ? If you don't need the EditText views you can omit them. Upvote 0
Did you have a look at the example I suggested you ? If you don't need the EditText views you can omit them.
A apty Active Member Licensed User Longtime User May 9, 2014 #6 yeah. But in your example all the edit text (e.g when adding record) are displayed. I mean where you have more than 10 edit text on same screen. How can i scroll down so that i can see the other edittexts? Upvote 0
yeah. But in your example all the edit text (e.g when adding record) are displayed. I mean where you have more than 10 edit text on same screen. How can i scroll down so that i can see the other edittexts?
klaus Expert Licensed User Longtime User May 9, 2014 #8 In the example all EditTexts are displayed because their number is small and they fit onto the screen. But the code allows more. See the attached project. Attachments SQLiteLight31.zip SQLiteLight31.zip 17.7 KB · Views: 252 Upvote 0
In the example all EditTexts are displayed because their number is small and they fit onto the screen. But the code allows more. See the attached project.
A apty Active Member Licensed User Longtime User May 9, 2014 #9 i mean using code. I cant put all those edittext or label controls on designer Upvote 0
eps Expert Licensed User Longtime User May 9, 2014 #11 apty said: i mean using code. I cant put all those edittext or label controls on designer Click to expand... Yes you can, but code is 'easier' Upvote 0
apty said: i mean using code. I cant put all those edittext or label controls on designer Click to expand... Yes you can, but code is 'easier'
klaus Expert Licensed User Longtime User May 9, 2014 #12 i mean using code. I cant put all those edittext or label controls on designer Click to expand... I'm nor sure I understand. - Do you want to add the labels in the code ? If yes that's exactly what is done in the example project. As I understood, this is what you want. - Do you want to add them in the Designer ? Then look at this example ScrollView example with a Panel higher than the screen. Upvote 0
i mean using code. I cant put all those edittext or label controls on designer Click to expand... I'm nor sure I understand. - Do you want to add the labels in the code ? If yes that's exactly what is done in the example project. As I understood, this is what you want. - Do you want to add them in the Designer ? Then look at this example ScrollView example with a Panel higher than the screen.