开发者

How to get multiple pages in Eclipse? [closed]

开发者_开发知识库 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

This is so confusing. I going to need alot more pages in my Android app. But I don't see where I'd do that.... This is what my Eclipse looks like: http://img202.imageshack.us/img202/4227/unled2qir.png


The 'page' in your image is a graphical representation of a 'layout' file for a 'View' although in your case possibly the 'layout' for an Activity.

To add another, in the 'Package Explorer' pane, right-click your 'GameNetwork' project icon and select New -> Android XML File. Then when the dialog appears, select the 'Layout' radio-button under "What sort of resource would you like to create?" and give it a filename in the "File" edit box such as 'new-layout.xml'.


You need to create a new xml file for each 'page' as you call them.

http://developer.android.com/guide/topics/ui/declaring-layout.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜