Today, thanks to our team of developers @tingccc@arun@wei, our awesome community and the team from MIT App Inventor, we are very excited to present one of our biggest releases on Thunkable for Android to date:
Floating Action Button, or FAB / docs. We preloaded it with the Material Icon font so you just need to choose which icon and background color you want to use. Animation built in when switching between FABs. A big thanks to @pavi2410, @Sander0542 and @Andres_Cotes for their awesome FAB extensions that were our inspiration for this component
Great! I would just like to ask where is FAB from? Official support library? Non-official library? Or you just made a fab with ShapeDrawable & made it floating?
Is anyone experiencing problems with the FAB? Currently when I drag the component in to the designer my companion doesnât show the FAB nor the Images I uploaded to use as buttons. As soon as I remove the FAB component everything goes back to normalâŠIâll try upload a screen but thereâs not much to see lol.
the only thing I could think of is that the FAB component has troubles to work with the many different layout arrangements that Iâm using to give the impression of multiple screens toggling the visibility true/false.
Currently Building Templates for new apps and the Fab works just fine. Device: Motorola Droid Turbo , Android 6.01
just check the Play Store to see if you are using the current version of the companion. there is no harm in checking. also make sure you restart your project as well as the companion. if you have done all this, you should be good to go.
@wei@arun@amrita@albert The Fab is cool but i noticed a slight Fall back which would be good to take a look at ASAP! when you add a fab to the interface, it automatically creates it and makes it visible But my suggestion is, it will be good to make it invisible and add an option for users to Create it themselves either after screen initializes or after splash screen event.
The Problem i am facing is whiles trying to make a Splash Screen in my Templates, the fab is created when screen initializes and even setting it to Visible=false when screen.initializes still doesnât work. it shows itself slowly disappearing on the Splash screen which makes it looks awkward
Hello! The FAB component is not working for me It doesnât work in this example or if I add it to another project. When using Thunkable Companion it seems like the app isnât loading and when exporting the button doesnât appear at all. I have Android 4.4.2
If you set Visible=false in screen.initialize you will see the animation, since that is the default animation for making the FAB invisible. But if you want to set the FAB to be not visible on startup, then just uncheck the âVisibleâ property in the designer and it should not start with the animation
Thank you boss. problem fixed. i added some few options to your suggestion; i set predefined icon color and icon background color to none and then defined them in the block editor after SplashScreen event. Working fine now. Thank you