Android 菜单主页项目
我正在我的 droid x2 设备上运行我的 Android 应用程序。该应用程序有一个包含一些项目的菜单,其中之一是主页(应用程序启动时启动的屏幕)。
问题是,当我点击“主页”项目时,它会弹出此菜单,
我不知道为什么会这样以及我该如何解决它。
I'm running my android app on my droid x2 device. this app has a menu with some items, one of which is the Home (the screen that launches when the app starts).
the problem is that when I tap on the Home item it brings up this menu,
I don't know why it does that and how i can fix it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实际上,我通过向清单文件添加新活动来解决此问题。所以我为启动器活动所做的是
,我还添加了以下活动,它将充当正常活动,并且在我的菜单选择中,我使用了这个新活动的操作名称。
I actually fix this issue by adding a new activity to my manifest file. so what I had for the launcher activity was
and I also added the following activity which would act just as a normal activity and in my menu selection I used the action name of this new activity.