in this Example i want to show you, how to use the ASTabMenu togehther with the xCustomListView, to handle a lot of Tabs without getting into layout problems.
Attached is a B4A Example.
How to use?
it is easy.
Add a xCustomListView to the form
Add a new Form with only the...
In an very simple activity of my app I load a layout that, in the second half of the screen, has a listview and two buttons. So via code I create and populate a scrollist in the first half of the screen,
For Each l_Attivita As Ty_Attivita In l_ListaAttivita...
Wooo, regarding to the questions of this day I suppose not to disturb !!!
When I write
B4J doesn't accept 'addSingleLine'.
Description error : an error appeared line 60
ListView1.addSingleLine("item" & i)
I've deleted and...
I am converting a successful B4A app to B4i. I am trying to use TableView and then as I couldn't I started looking at CustomListView. I simply want to show a list and click on it and read the value
What method do I use to get the clicked on a row in the table
Here is my B4A code. I have spent...
Thinking about Device Independent Pixels I thought this must be the best thing since sliced bread. However, when I was playing around with listviews I noticed that a 85dips high layout loaded in a 85dips high listview item didn't fit. Although I thought it was a bit strange, I didn't think of it...
Buongiorno a tutti,
sapete dirmi se riesco a modificare qualche proprietà durante l'inserimento di una riga in una listview ?
In base alla valore "Riga" vorrei cambiare il colore oppure il font del testo che vado ad inserire .
Per non sconvolgere il lavoro...
A simple problem:
How can i change ListView TextSize property in run time?
Private Button1 As Button
Private EditText1 As EditText
Private ListView1 As ListView
Sub Activity_Create(FirstTime As Boolean)...
I try to create scrollview(A), then I load layout,
and inside that I create :
B. another layout
C. panel inside that layout
D. then, listview
1. how to make the scrollview (A) & panel that hold listview (B) have dynamic height based on listview (D) height content ?
We have often discussed in this forum in different threads about the need to be able to insert XUI from design. We all know that the direction that is suggested by AnyWhere software is to create in the design the native views and then replace B4XView to the type...
soy nuevo en este mundillo y tengo un problema con mi código. Expongo la situación:
Estoy trabajando en una aplicación de listados de fallos. A través de una base de datos .db muestro en un list view los fallos. Mi problema es que cuando hago clic encima de un item del list view quiero...
sono un "praticone" (Hobbista, hobby, passatempo), vorrei sapere se è possibile trovare il codice (anche a pagamento) per poter stampare una List generata da un file in una cartella del Cellulare.
Non so se sono chiaro.
I am testing loading a listview items of a layout "subLvLayout" containing a checkbox, a textfield and a button, all looks fine. (please see picture)
My question is how can these individual listview item's checkbox, textfield and button be addressed? e.g. click action, textfields' text...
I am in a situation where I need to prevent Listview change of index (either mouse click or keyboard up/down) and take action to save a textarea content before allowing Listview's change of index. Unlike a button click, where it can be cancelled within the "action" sub, a change of index only...
New to B4J and trying to determine if it will do what I need for a project. Initially I'm just trying to return 5 rows with 6 columns each from a sqlite database and display them in multiple columns in a selecteable listview on a form. I've found several examples of getting the individual...
How can I add an image in the ListView using an http image, I've already tried using DownloadImage (https://www.b4x.com/android/forum/threads/b4x-okhttputils2-with-wait-for.79345/#content) did not work.
How can I do this? to load a ListView using the AddTwoLinesAndBitmap or...
java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 1176092 bytes
I got this is error on customlistview add
and there are only 515 records to load
Error log ::
java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 1176092 bytes...
This example shows how to filter the contents of a database and load the results in a listview using an edittext. for each letter entered in edittext the results are shown in the listview. It could be useful for someone.
Sub EditText1_TextChanged (Old As String, New As String)