需要一个片段示例 [英] Need a Fragments Example

查看:117
本文介绍了需要一个片段示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在论坛上首次发布。我只是把我的第一次看的Andr​​oid 3.0,我找不到我可以把到Eclipse中,并让它运行一个片段的例子。我通常学习较快,如果我有在我面前一个基本的例子,我可以玩,搞砸了,和等学习。

First time posting on the forum. I am just taking my first look at android 3.0 and I can't find a Fragments example that I can just put into Eclipse and have it run. I usually learn quicker if I have a basic example in front of me that I can play with, and screw up, and learn from etc.

所以,任何人都可以点我一个片段的例子,只是给我的XML文档和Java文件,我可以插在玩?

So can anyone point me to a Fragments example that will just give me the xml documents and the java file that I can plug in and play?

在这里找到开发者文档

<一个href="http://developer.android.com/guide/topics/fundamentals/fragments.html">http://developer.android.com/guide/topics/fundamentals/fragments.html

对我来说,当我插上电源,将无法工作。

Won't work for me when I plug it in.

推荐答案

我已经发表了片段举例这里:机器人片段教程

I have published an Fragments Example here: Android Fragment Tutorial

这篇关于需要一个片段示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆