Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 48

bigPaul
Lost but trying
Profile
Posts: 103
Reg: Mar 08, 2013
Darwin
4,530
11/17/13 08:51 PM (12 years ago)

Tab Layout - Android - Not displaying on all screens

Have just created tabbed layout app with five tabs and 'home' screens for each. Two are simple html based screens, three are advanced menus. Works ok except when I select from menu options and go to child screens, there is no tabs. Also if I link back to a home screen from another page, the tabs do not appear. 1. Is this how it is suppose to work? do the tabs only appear on the nominated home screens? 2. If so, how can I make the tabs appear on all screens? ;) Paul
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/18/13 10:57 AM (12 years ago)
Hi bigPaul, Link you tabbed layout to your non tabbed screens. Make sense? LA
 
bigPaul
Lost but trying
Profile
Posts: 103
Reg: Mar 08, 2013
Darwin
4,530
like
11/18/13 07:36 PM (12 years ago)
LA, do you mean I have to modify some code in eclipse? I assumed that by setting the homescreen links in the Layout section of the Control Panel that this merely identifies which screen to load if the tab is tapped and that the tabs would be 'global' and appear on each screen of app except native calls such as dialler. Obviously this is not so and cannot find anywhere else throughout screens etc in Control Panel to change. I have had a look through some of the java files: BT_activity_root_tabs, BT_act_controller, BT_activity_base, BT_application, BT_item etc and tried to make sense of it but as I am much more at home with html and php than java and xml I am a bit lost! Regards, Paul
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.