Created
February 28, 2016 10:17
-
-
Save codenameone/8cf6f70188959524474b to your computer and use it in GitHub Desktop.
Usage of the FontImage class with the Material design icons. This allows integrating material design icons into Codename One without any additional code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Form hi = new Form("Icon Font"); | |
Button myButton = new Button("Save"); | |
FontImage.setMaterialIcon(myButton, FontImage.MATERIAL_SAVE); | |
hi.add(myButton); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sample usage of FontImage.
From the Codename One project