具有 Zoom 属性的 TabHost

发布于 2024-12-29 03:30:37 字数 406 浏览 1 评论 0原文

如何将缩放属性设置为 tabHost。我在列表视图中列出了一些项目。该列表视图显示在 tabhost 上。当我按下任何项目时,它将显示在另一个具有缩放属性的布局中。我怎样才能做到这一点?有谁指导一下我。提前致谢。

编辑

当另一个布局重定向时, TabHost 也会显示。因此,项目的详细信息可以在选项卡主机中显示详细信息。

更新

最后,我成功在另一个布局中显示了项目的详细信息,并且另一个布局也使用 此博客。现在,我需要为此布局实现缩放属性。我怎样才能做到这一点?

How to set the zoom property to tabHost. I've listed some items in listview. That listview displays on tabhost. When, i press any item, that'll displays in another layout with zoom property. How can i achieve this? Anyone guide me. Thanks in Advance.

Edit

TabHost also displayed, when the another layout redirected. So, the details of item can be show the detail within the tabhost.

Update

Finally, i've successfully displays the item's detail in another layout and, the another layout is also displayed in same tabHost using this blog. Now, i need to implement the zoom property for this layout. How can i achieve this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

浸婚纱 2025-01-05 03:30:37

如果我正确理解您的情况,您需要Fragments。您可以拥有一个带有列表视图的片段,当单击某个项目时,您可以将该片段替换为包含项目详细信息的片段。

编辑尽管如此,我不确定您所说的缩放属性是什么意思。但是,如果您正在谈论缩放已单击的列表视图项目 - 我很确定您可以创建类似缩放的过渡效果来切换片段。

If I understand your situation correctly, you need Fragments. You can have a fragment with list view and when an item is clicked you replace the fragment with the one containing your item details.

Edit Although, I'm not sure what you mean by zoom property. But if you're talking about zooming the list view item that's been clicked - i'm pretty sure you can create a zoom-like transition effect for switching fragments.

看透却不说透 2025-01-05 03:30:37

这是我自己做的。我只是使用 Parent & 与我的 tabHost 一起工作。这篇文章中的子活动。 而且,我'将值传递给 webview &将缩放属性设置为该 Webview。希望对我有帮助。

I've done this by my own. I just work with my tabHost using Parent & child activity as by this article. And, i've pass the values to webview & set the zoom properties to that Webview. It hopes helpful to me.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文