Android Question Change name of layout in designer [Solved]

Roger Daley

Well-Known Member
Licensed User
Longtime User
Hi All

I thought changing the name of a Layout would be easy, but....
The original name seemed OK until I decided to add the option of Landscape, not so smart so I want to change the name to Main.

Original name: Portrait.bal
New name: Main.bal

I shut down B4A , went to the "Files" dir and changed the name from "portrait.bal" to "main.bal".
When I reran the code the IDE threw up an error Not Able to Find "portrait.bal".
When I open the designer, under Files I can find "Portrait" but not "Main"


I've missed something .

Thanks in advance Roger.
 

Roger Daley

Well-Known Member
Licensed User
Longtime User
Don't panic, problem solved.
In the files TAB Add Main.bal, remove Portrait.bal


Regards Roger
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…