Hey everyone
I've been working on a B4A template that I'd like to share with the community. It includes an animated splash screen and two reusable CustomViews designed to work together as a foundation for any app.
What's included:
Splash Screen A physics-based animated splash screen inspired by Disney's 12 principles of animation. Features squash & stretch, anticipation, follow-through, dual spring physics for the exit animation, and a smooth spring panel entry transition.
TopBar (CustomView) A fully configurable top bar with:
- Logo ImageView on the left
- Centered title
- Animated hamburger menu icon on the right (transforms to X on click)
- Compatible with B4XDrawer for the navigation drawer
- Designer properties for colors, title and logo
- Variable number of tabs (3 to 6) configured programmatically
- FontAwesome icons + text labels
- Active/inactive color states
- Simple API: AddTab(iconCode, text) + Build
- TabChanged(Index) event
Usage example::
MenuBar1.AddTab(0xf015, "Home")
MenuBar1.AddTab(0xf07c, "Categories")
MenuBar1.AddTab(0xf007, "Profile")
MenuBar1.Build
Requirements:
- B4A
- XUI library
- B4XDrawer (for the hamburger menu)
GitHub Link