简体   繁体   中英

Showing tabbar on next screen in Android

最初我在标签栏上有3个屏幕...但是当我从这些活动中的任何一个导航到任何其他活动时,标签栏都消失了...我希望这个标签栏甚至出现在该屏幕上...如何操作??

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM