开发者

Showing tabbar on next screen in Android

开发者 https://www.devze.com 2023-01-30 05:28 出处:网络
Initially I have 3 screens in a tab bar...but when 开发者_如何学CI navigate from any of these activities to any other activity the tab bar disappears...I want this tab bar to appear even on that scree

Initially I have 3 screens in a tab bar...but when 开发者_如何学CI navigate from any of these activities to any other activity the tab bar disappears...I want this tab bar to appear even on that screen...How to do that??


You could put your tabbar code into a separate XML file (say, tabbar.xml) and use

<include layout="tabbar" />

in each of the layout files.

Then, you would need to set it up in your Activities onStart methods.

0

精彩评论

暂无评论...
验证码 换一张
取 消