简体   繁体   English

Android:如何向现有应用添加标签栏

[英]Android: how to add a tab bar to the existing app

I am trying to add tab bar to my existing app. 我正在尝试将标签栏添加到我现有的应用程序中。 I have divided all my activities into 2 groups, each group of activities has the navigation controls. 我将所有活动分为两组,每组活动都有导航控件。 I want to place these activities under corresponding group-1, group-2 tabs. 我想将这些活动放在相应的group-1,group-2选项卡下。

what is the best way of doing this. 最好的方法是什么

Thanks, Venkat Papana 谢谢,Venkat Papana

对您的应用程序一无所知,很难确切地说出如何做,但是似乎您想实现Tab Layout ,可以使用以下示例作为指南: http : //developer.android.com/resources /tutorials/views/hello-tabwidget.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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