B4J Library [BMStyle] CSS Themes

Hi i make a simple Module for set css style on your proyect.

BMStyle just load CSS files.



Here you can see some examples:

MAC OS:

mac_os.png


MIST SILVER:

mist_silver.png



MODENA:

modena.png



BREEZE:

breeze.png



NIGTH:

nigth.png



FLAT BEE:

flat_bee.png



METRO LIGHT:


1584220000869.png



METRO DARK:


1584220047984.png



HOW TO USE:


B4X:
'BMStyle.ApplyTheme(Form as Form, Array() Themes)
BMStyle.ApplyTheme(MainForm, Array as String("style.css"))
'You can add more files like
BMStyle.ApplyTheme(MainForm, Array as String("style1.css","style2.css","style3.css"))

NOTE: You have to import the CSS file into you Files DirAssets

If you want the Metro Style, you can see this tutorial:
 

Attachments

  • 1584219986333.png
    1584219986333.png
    41.2 KB · Views: 224
  • BMStyle Themes.zip
    32.8 KB · Views: 482
  • BMStyle.bas
    493 bytes · Views: 331

Similar Threads

Top