Android Question My layout don't display on my phone

yzeflores

Member
I am a new user... I am trying a login UI and I already finished the design but when I tried to run it on my phone after installing, it won't display the design. I also tried to run it using AVD manager but the result is still the same... it won't display my UI


1599042630506.png
 
Last edited:

yzeflores

Member
Update: there was a warning it said:

Layout file 'login.bal' is not used. Are you missing a call to Activity.LoadLayout? (warning #16)

B4X:
Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
    'Activity.LoadLayout("LOGIN")
End Sub

I tried renaming the layout names. I made it in lowercases and Uppercases but it still displayed the same warning..

I think this was the reason that is why my layout is not displaying... how do I fix this?
 
Upvote 0

yzeflores

Member
I don't really know actually because I was just trying to do what I have watched on yt tutorials. I am very sorry I am just a beginner I am still not familiar with everything.
 
Upvote 0
Top