Android Question How catch click with XmlLayoutBuilder?

Eme Fibonacci

Well-Known Member
Licensed User
Longtime User
The Xml Layout Builder library is very useful for creating layouts.

In my layout.xml I have a LinearLayout, TableLayout and a tablerow.

How can I catch the click event of these views?

I get by with buttons and textviews but with LinearLayout, TableLayout and tablerow I do not know where to start.

Thank you.
 

Eme Fibonacci

Well-Known Member
Licensed User
Longtime User
You should add other views to the layouts and then catch their events.


Thank you,

but I really need to use a tablerow. (in my layout tablerow is clickable)

It is possible to create a simple library in java to get the click in any view, and call a sub

in B4A passing a tag as a parameter?

this would be perfect.
 
Upvote 0
Top