Eme Fibonacci Well-Known Member Licensed User Longtime User Aug 29, 2014 #1 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.
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.
Erel B4X founder Staff member Licensed User Longtime User Aug 29, 2014 #2 You should add other views to the layouts and then catch their events. Upvote 0
Eme Fibonacci Well-Known Member Licensed User Longtime User Aug 29, 2014 #3 Erel said: You should add other views to the layouts and then catch their events. Click to expand... 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
Erel said: You should add other views to the layouts and then catch their events. Click to expand... 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.
Erel B4X founder Staff member Licensed User Longtime User Aug 31, 2014 #4 What are you using this layout for? Maybe there is a simple solution. Upvote 0