android - 蜂窝 Gmail fragment 转移

标签 android gmail android-3.0-honeycomb android-fragments

我想知道当您打开一个新的 Fragment 时,您如何进行 View 转换,以便新的 Fragment 位于您的 View 中心。在 Honeycomb Gmail 应用程序中,当您选择要打开的电子邮件时,我们会看到这一点。您可以打开的电子邮件列表移至屏幕左侧,然后电子邮件内容显示在右侧。如何使这种转变发生?谢谢。

最佳答案

您需要为 Fragment 设置动画。查看以下资源:

关于android - 蜂窝 Gmail fragment 转移,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5517366/

相关文章:

android - 在创建位图后调用 recycle() 和 destroyDrawingCache() 是个好主意吗?

android - Android中的数据库类似于iPhone中的plist

android - 寻找 Android Gmail SMTP Oauth 示例

android - Android 中带有 GridView 的 SectionIndexer

android - 使用 startActivity() 时设置主题/样式

android - Android 中 dip/dp 的多屏幕支持?

Android 多屏支持不起作用

google-apps-script - Gmail 的应用程序脚本 - 搜索确切的主题

gmail - 通过 DotNetOpenId 检索 GMail 数据

java - Android WebView 302 重定向 - 蜂窝