Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在选项卡小部件的 android 开发站点中运行简单示例:http: //developer.android.com/resources/tutorials/views/hello-tabwidget.html
我的问题是,在我将项目导出到 .apk 文件并将其安装在我的手机上后,我得到了 3 个应用程序启动器。
我尝试对每个活动使用不同的 .xml 文件,但没有帮助。
我会很高兴有一些想法!
本
确保在清单文件中为每个选项卡活动以及 HelloTabWidget 本身定义了一个活动!(请参阅开发指南中的活动主题)