Hi,
Visual designer is not displaying the panels and edit texts.. I am not so good at imagining views locations on the activity programaticaly.
Is there anyway to render or make visible the views in design time?
You should define one layout file for each Tab and load them with TabHost1.AddTab(Title, LayoutName)
What TabHostExample are you speaking of ?
In the Beginner's Guide you find an example with three Tabs.
The project contains 4 layout files one main layout and three page layout files one for each Tab.
In the forum the views are there in the designer.. but when I downloaded, unzipped and tried to run it from my machine (without modification), then there were no views showing in the designer window.
Klaus,
thanks and sorry but in the example above there is only one layout "main" that
hosts (and shows) all the 3 tabs and textbox of the sample project.. but when the same project is run from my computer the views are not visible.
Before I posted my answer I had a look at the example from the tutorial.
The project in the first post of the link in your post #3 has 4 layout files main, page1, page2, and page3 !!!
I don't know what you are looking at and what you are expecting.
Sorry but now I don't understand what your problem is.
Klaus,
thanks and sorry but in the example above there is only one layout "main" that
hosts (and shows) all the 3 tabs and textbox of the sample project.. but when the same project is run from my computer the views are not visible.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.