yfleury Active Member Licensed User Longtime User Sep 18, 2021 #1 Hi, I need a button with a gif animation in background. Triangle have a transparent background. On button, I can add text to be centred to the triangle. B4X: Button1.SetBackgroundImage(LoadBitmapResize(File.DirAssets, "aouvrir2.gif", 120dip, 120dip, True)) How to do my gif to be animate ?
Hi, I need a button with a gif animation in background. Triangle have a transparent background. On button, I can add text to be centred to the triangle. B4X: Button1.SetBackgroundImage(LoadBitmapResize(File.DirAssets, "aouvrir2.gif", 120dip, 120dip, True)) How to do my gif to be animate ?
TILogistic Expert Licensed User Longtime User Sep 18, 2021 #2 ? [B4X] B4XGifView - Cross platform animated gif view I was missing a cross platform, animated gif view, so created one. Usage is simple: Add with the visual designer and call SetGif to set the gif file. The B4i implementation depends on FLAnimatedImage open source project: https://github.com/Flipboard/FLAnimatedImage The B4A implementation is... www.b4x.com Upvote 0
? [B4X] B4XGifView - Cross platform animated gif view I was missing a cross platform, animated gif view, so created one. Usage is simple: Add with the visual designer and call SetGif to set the gif file. The B4i implementation depends on FLAnimatedImage open source project: https://github.com/Flipboard/FLAnimatedImage The B4A implementation is... www.b4x.com
TILogistic Expert Licensed User Longtime User Sep 18, 2021 #3 ? Panel = B4XGifView + Label Attachments 1.gif 124.4 KB · Views: 617 Upvote 1
TILogistic Expert Licensed User Longtime User Sep 18, 2021 #5 See: Attachments B4XGifView.zip B4XGifView.zip 253 KB · Views: 570 Upvote 1 Solution