如何在 Android 分屏中插入选项卡小部件?
我已将我的 Android 屏幕分为两部分,一部分我放置了自己的应用程序,第二部分我想插入一个选项卡主机、小部件,它需要扩展我的主类,但主类已经扩展到由我的第一个应用程序。有没有办法通过其他方法扩展我的主类?有人可以帮我吗?
任何帮助将不胜感激!
I have divided my android screen in two parts in one part i put my own app and in second part i want to insert a tab host, widget and it needs to extend my main class but the main class is already extended to some activity used by my first app. Is there any way to extend my main class by any other method ? Can anyone please help me in this ??
any kinda help would be appreciated !!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你所描述的情况是不可能的。 Android 不是网络浏览器,因此您不能有多个 Activity 位于最前面。而且,你想要做什么和实现什么目标并不明显。也许可以提供一些代码示例吗?
What you describe is not possible. Android is not a web browser so you can't have more than one Activity to be on the forefront. Also it's not at all obvious what are you trying to do and achieve. Can provide some code examples, perhaps?