fontawesome

  1. 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)...
  2. 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...
  3. Batman_

    B4J Question [Solved]: [ABMaterial/ABMServer] Mini Template for absolute beginners: 'Needs material/awesome icons' message in log

    Hi. I am running the [ABMaterial/ABMServer] Mini Template for absolute beginners (URL: https://b4x.com/android/forum/threads/abmaterial-abmserver-mini-template-for-absolute-beginners.117237/) and I get the following in the log: Waiting for debugger to connect... Program started. 2021-09-23...
  4. dongsool

    iOS Question I can't see the fontawesome icon on the toolbar. I can only see the letters.

    I followed the tutorial, but it didn't work.
  5. A

    iOS Question [Solved] CSBuilder - MaterialIcon - doesn'twork on b4xview button/Label

    Hi All, I am sorry if this is basic question as I am trying to grasp the transition from B4A to B4I, I am trying to assign MaterialIcon or fontawesome + text using CSBuilder. Based on this link it should work with AttributedString, but can not find this when I am using b4xview (by button/label...
  6. 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
  7. 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...
  8. 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.
  9. 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...
  10. Olivier Zeegers

    Android Question FontAwesome

    Hi, What am I doing wrong ? I have a button with the TypeFace set to FontAwesome in the designer that displays an icon ("Play icon"). When the users presses the button the icon should change to a pause icon, so I use this code: If PlayBack1.IsRunning = True Then...
Top