iOS Question sql

soroush_safarii

Member
Licensed User
hi guys .
best regard and best wish for all user in b4x

i build book app with sql
and i define chapter from sql in topic menu in my app
but what wrong this show ?
i define frmtemplate for show in chapter menu like this :

photo_2017-02-26_08-21-03.jpg
but this is show and dont show complete view
photo_2017-02-26_08-21-03.jpg

please help me
 

Attachments

  • Archive.zip
    35 KB · Views: 215
  • photo_2017-02-26_08-30-16.jpg
    photo_2017-02-26_08-30-16.jpg
    25.6 KB · Views: 184

soroush_safarii

Member
Licensed User
Such layout issues usually happen when you assume that %x and %y are correct outside of the Page_Resize event.

They are only correct inside the resize event.

Using the designer to create all the layout will solve it.
i use designer , see frmchapter and frmtemplate ,
but could not show correct layout ,
please see erel
 
Upvote 0

soroush_safarii

Member
Licensed User
I haven't read all the code. I see that the CustomListView is not added with the designer. It should be and it should be anchored to all sides.

Make sure that your code doesn't create the layout multiple times. Check this example: https://www.b4x.com/android/forum/threads/multiple-pages-example.48170/#content
no i doesn't create the layout multiple times , i define layout to show on layout chapter and name it frmtemplate
in designer frmtemplate Correctly displayed but when i define frmtemplate to show on frmchapter it isn't correctly displayed ,

please . one time build and test my app and see what happen when click on topic menu ,
 
Upvote 0
Top