Android Question [SOLVED] Different behavior of B4XSearchTemplate in B4J a B4A

CArlos13511

Member
Licensed User
Hi,
Using the Erel example with B4XSearchTemplate I find that applying it in B4A the product list and the search text box do not adapt to the width of the container (B4XDialog) but in B4J it does. How can I modify this behavior for B4A.
I send attached the corresponding files.

Thank you
Google Translate
 

Attachments

  • B4J SearchTemplate.zip
    2.4 KB · Views: 194
  • B4A SearchTemplate.zip
    9.5 KB · Views: 146

Mahares

Expert
Licensed User
Longtime User
Resize the template after you initialize it. You can use different dimensions of course:
B4X:
SearchTemplate.Resize(Activity.Width,Activity.Height)
 
Upvote 0
Top