Android Question CLV Animate Bitmap How?

ronovar

Active Member
Licensed User
Longtime User
How can i animate only bitmap from CLV (i have SlaveCLV witch holds list of 12items) so that animate fading bottom or top like in this video (see 1:47...1:53).

Can i get example code? CLV is shortcut for CustomListView class from erel.


Thanks.
 

ronovar

Active Member
Licensed User
Longtime User
Ok erel..i then get bitmap...and i don't know code for animate like in youtube video..can you please post simple code to animate bitmap like in video? Or animation with bitmap...i know that the above video is made using jquery html css but it will be excellent if you post code for b4a because it will be faster that html.
 
Upvote 0

ronovar

Active Member
Licensed User
Longtime User
Yes you are correct...i attached bitmap to imageview using this code:

B4X:
'DEFINE - ImageViews
Dim imgChLogo As ImageView
'DEFINE - Bitmaps
Dim bmpChLogo As Bitmap

'INIT - ImageView
 imgChLogo.Initialize("imgChLogo")
 imgChLogo.Bitmap = bmpChLogo
 imgChLogo.Gravity = Gravity.Fill

Can you post simple examle how to use setlayoutanimated on imageview to get scrolling fading down or up like in youtube video?

Thanks.
 
Upvote 0

mangojack

Expert
Licensed User
Longtime User
B4X:
'@@  This is My Test Code To See How SetLayoutAnimated Works !  @@
imgChLogo.SetLayoutAnimated(2000,50dip, 50dip, 400dip, 600dip)
 
Upvote 0
Top