- You can use a CustomListView. Here you can create any Layout you want
- You can use a Font with a fixed charlength (Courier New).
- You can use a fixed typedface for the beginning of the line followe by the amount with a different font using the CSBuilder
B4X:
Sub Globals'These global variables will be redeclared each time the activity is created.'These variables can only be accessed from this module.Private lv As ListViewPrivate cs As CSBuilderEndSub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("Layout1")
For i = 0To9
lv.AddTwoLines(cs.Initialize.Typeface(Typeface.MONOSPACE).Append("Article.... ").PopAll.Typeface(Typeface.DEFAULT).Color(Colors.Blue).Append("$4.498").PopAll,"2nd line...")
NextEndSub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.