Android Tutorial ScrollView examples summary

klaus

Expert
Licensed User
Longtime User
I don't remember having seen this one.
I'm afraid that you need to do it yourself.
If I understand correctly you want to modify the ScrollView when you click on a title to expand or collapse the subject.
Not sure if this could be done with CustomListView or UltimateListView.
 

LucaMs

Expert
Licensed User
Longtime User


I've probably seen it elsewhere, is common.

Yes, you've got it right.

The links, however, refer to ListViews.

I mean a scrollview, with expandability and, within each panel, the possibility to insert whatever!

Useful, no?


We can probably use CheckList as basis
 

microbox

Active Member
Licensed User
Longtime User
Hello...thank you for this tutorial. But I have a question, I'm learning from this code
B4X:
 Sub btnAdd_Click
       If i < 4 Then
        Dim imvImage As ImageView                                                                           
        Dim bmpImage As Bitmap
        bmpImage.Initialize(File.DirAssets,"Image"&i&".jpg")
'        bmpImage.Initialize(File.DirInternal,"Image"&i&".jpg")
'        bmpImage.Initialize(File.DirDefaultExternal,"Image"&i&".jpg")
        imvImage.Initialize("imvImage")
        imvImage.Gravity=Gravity.FILL
        imvImage.Tag=i
        imvImage.Bitmap=bmpImage
        scvImages.Panel.AddView(imvImage,lfmImage,i*(imgHeight+imgSpace),imgWidth,imgHeight)   
        scvImages.Panel.Height=(nbrImage+1)*(imgHeight+imgSpace)
        i = i+1
       End If
End Sub
When clicking the button, how can I make the latest image added stays on top of the scrollview?


Thanks in advance,
microbox
 

stari

Active Member
Licensed User
Longtime User
Hi,
very useful, klaus. I tested LongTextsimple. Ok, now i have question: what metod is the best, to move entire scroll view up or down ? So i can scroll text inside a sliding panel . Regards from SI.
 

nimavao

Member
Hello and thank you for your example I think they must be usefull ,but none of them is shown for me , in the other hand I cant download any of projects above ,I dont no why!!!
when I click on Link it dirves me to 503 service unavailable page
 

nimavao

Member
If I remember well, you need to be member of the forum.
And if remember well, to become a member you need to make donation.
sorry I didn't know this rule which member have to make donate for asking question in forum, thank you for remembering this rule to me.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…