I created multiple B4X Modules for Material Design Components to make Apps with the Material Design Components availabe for cross-platform.
Currently the following Modules are available:
(Depends on XUI and XUIViews Library)
- MDBottomAppBar (View): a Material Design Toolbar with an integrated FAB and Menu Items
- MDFastActionButton (View): a Material Design FAB
- MDBottomMenu (Class): A Menu that shows animated from the Bottom of the screen with Context Menu Items
The attached B4A Project is attached to this Post and all Modules are included. Ive tested everything with B4A and B4i, for B4J you will probably have to edit the modules a bit.
All Views can be added from Designer or added at runtime using a BasePanel (see Example Project).
If you like the Components and want to use them in a project, please Donate.
Edit: How to add the Views at runtime:
1. create a Transparent "BasePanel" with the size the view should have and add it to the Parent.
2. Call RuntimeCreateView Method of the View and pass the BasePanel as Base, the View will always be drawn to that Panel.
3. If your Parent resizes (e.g. on Rotation) call the Resize Method of the View
Currently the following Modules are available:
(Depends on XUI and XUIViews Library)
- MDBottomAppBar (View): a Material Design Toolbar with an integrated FAB and Menu Items
- MDFastActionButton (View): a Material Design FAB
- MDBottomMenu (Class): A Menu that shows animated from the Bottom of the screen with Context Menu Items
The attached B4A Project is attached to this Post and all Modules are included. Ive tested everything with B4A and B4i, for B4J you will probably have to edit the modules a bit.
All Views can be added from Designer or added at runtime using a BasePanel (see Example Project).
If you like the Components and want to use them in a project, please Donate.
Edit: How to add the Views at runtime:
1. create a Transparent "BasePanel" with the size the view should have and add it to the Parent.
2. Call RuntimeCreateView Method of the View and pass the BasePanel as Base, the View will always be drawn to that Panel.
3. If your Parent resizes (e.g. on Rotation) call the Resize Method of the View
Attachments
Last edited: