material icons

  1. R

    Android Question Reverse colours and do mirror image of FontAwesome or Material icons

    For some button images I need to reverse the colours. Also I have a button where the Material icon image needs to be flipped left to right (mirror image). What would be the simplest way to do these things? RBS
  2. A

    B4J Question FontAwesome in code gives me an square error

    I'm trying to do a dynamic list with buttons, and put icons on the buttons, but when I put the icon on the button programmatically it gives me an square error Dim label As Button label.Initialize("ListBtn") CSSUtils.SetBackgroundColor(label,fx.Colors.White)...
  3. Dave O

    Android Code Snippet "high-contrast text" system setting - work-around for colored text (or font icons)

    Android 5+ has an accessibility system setting called "high-contrast fonts", which lets the user force text (or icons rendered using fonts like Material or FontAwesome) to be outlined black or white (instead of the color you set). If you use colored text (or text-based icons) to indicate...
  4. Dave O

    Android Question [solved] Android system setting for high-contrast fonts - how to detect?

    Can I detect if a device has the "High-contrast fonts" system setting enabled? Background: Some of my users reported that icons were not working correctly in my app, and I eventually discovered that they had turned on the Android "High-contrast fonts" accessibility setting. That feature changes...
  5. Dave O

    Android Question unexpected Asian character in toast with Material font

    I'm using csBuilder to prefix toast messages with a Material-font icon (checkmark), using the Material font TTF file (so I can get the latest icons). This worked fine until recently, when I noticed that my latest builds (using B4A 11.x) are replacing the checkmark with an Asian (?) character...
  6. A

    Android Question Problem with using Material Icons

    Hi all. In my app I add Material Icons as a button text and it looks good, checked with my 3 different phones. Few other clients that are using this app also checked and it looks good. The icons are arrow_back (0x5C4) and feedback (0xE87F) On one phone instead of these icons user sees Chinese...
  7. M

    iOS Question Text and Material Icons in b4xview Buttons

    Hi everyone, my question is: It's possibile to put a combination of Matrial Icons and Text in a button declared as B4xview? I'm used to CSBuilder, but b4xview does not have the .AttributedText parameter :( Thanks in advance
  8. Lucas Siqueira

    Android Question [RESOLVED] Material icon selector field in custom view

    Is there a way to place the material icon selector in a custom view field? Note, I will have the text field, icon field and label field ...
  9. E

    iOS Question [Solved] FontAwesome not working as button icons

    (re: related thread: https://www.b4x.com/android/forum/threads/fontawesome-icons-in-buttons.80993/ ) I had an issue where FontAwesome icons that looked great in Designer: were not displaying in the actual program: and what I eventually tracked it down to was a programming...
  10. A0_2_A7

    Android Example Simple example B4XDrawer sliding drawer class with materialicons and fontawesome icons

    Good afternoon, I contribute to the community with a small example of the class B4XDrawer with material icons and fontawesome icons. Thanks to the whole community for this wonderful forum.
  11. Kwame Twum

    Android Code Snippet Using Material/FontAwesome Icons as Bitmaps

    This sub will let you use icon fonts as bitmaps Sub FontBit (icon As String, font_size As Float, color As Int, awesome As Boolean) As Bitmap If color = 0 Then color = Colors.White Dim typ As Typeface = Typeface.MATERIALICONS If awesome Then typ = Typeface.FONTAWESOME Dim bmp As...
Top