Hi guys.. i'm trying to write a text in a Label with an icon at the beginning..
i can't do it, csbuilder act weird, i think i'm doing the correct way..
Dim cs As CSBuilder
Maybe this is a silly question, i'm getting blurry/distorted images when appending images to CSBuilder.
I use the resize function on initialize bitmap to adjust images before adding them to the builder.
I'm using the code on this post to perform the append image...
Maybe this is a silly question, I'm new in B4i and i'm translating a long project from B4A to B4i,
I'm debuging on an iPhone and i'm getting weird codes when trying to append a single image to a csBuilder and showing it in a label object
I'm using this post information...
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...
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
This class can parse JSON to generate CSBuilder.
Create a json string, save it in a file, add it to assets folder, and display it with this class.
All the CSBuilder capabilities are supported.
Comments in clsCSBuilderParser.bas and samples files explains the JSON structure.
Does anyone have a good solution for this? Ideally one that will work for both B4i and B4A. There are plenty of libraries around in both Swift and Objective C, but not so much for Java.
I've tried playing around a bit with the Markdown-to-HTML code here...
In my app I want to provide instructions and info about the app (credits, licenses, etc.) in several languages, and would like to show the text with some formatting (colored, bold, underlined, textsize, ...). With a plain text file, formatting is not possible, so I searched for the best...
If we want to include support for CharSequence in our classes and libraries, should we be changing external-facing String parameters (and any related internal ones) to CSBuilder?
(If I understand correctly, we can't reference CharSequence directly.)
Using the PCSBuilderPlus class, as posted here:
Nearly got this working but get this error when trying to retrieve the byte array with ToBytes (made Public):
java.lang.RuntimeException: Cannot serialize...
Have a simple EditText that has a CSBuilder text in it (for SQL syntax highlighting). When I select a length of text (with the normal standard long click) and then do a click within that text I get a crash with this error message:
java.lang.IndexOutOfBoundsException: getChars (-1 ... 527)...
In my, I'm using CustomListview and labels.
on one label I clickable work like this :
Dim cs As CSBuilder
Label1.Text = cs
Word click :
Sub Word_Click (Tag As Object)
Log("aaaaaa" & Tag)...
Currently use this code for a simple inputbox dialog. It uses the Dialogs library, version 4.01:
Sub InputBox(Prompt As String, Title As String, Default As String, Hint As String) As String
Dim Id As InputDialog
Dim iRet As Int
Id.Hint = Hint
Id.Input = Default
iRet = Id.Show(Prompt...
I read this topic and was trying to implement some text enhancements to my app. It happens that the CS elements seems to work directly on the view and, in my case, I work literals and fields in string literals and, at the end, combine these string literals on the final label.text...
I just wanted to know if there is anything that would prevent CSBuilder from altering the colour of a string.
Alternatively is there anything that would cause it to only display white or black text??