Android的控制/布局(如何Instagram的应用程序不这样做呢?) [英] Android controls/layouts (How Instagram app does do that?)

查看:185
本文介绍了Android的控制/布局(如何Instagram的应用程序不这样做呢?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我也想知道如何Instagram的应用程序列表/显示饲料的网页?

I would want to know that how Instagram application listing/showing feed page?

下面是截图:(我发现通过谷歌,并通过调整tinypic.com这里是原始文件:的 http://www.digitaltrends.com/wp-content/uploads/2012/04/screenshotsjvc.jpg

Here is a screenshot: (I found it via Google and resized via tinypic.com. Here is the original file: http://www.digitaltrends.com/wp-content/uploads/2012/04/screenshotsjvc.jpg)

我说的第一和第二屏幕。

I am talking about 1st and 2nd screens.

你知道,当你走你的饲料(第2屏幕),您可以向下滑动并查看其他股份。

As you know, when you go your feed (2nd screen) you can slide down and view other shares.

每一股份有这些:


  • 所有者的画面和用户名,共享时,一张照片和一些东西。

如何包装在一个控制/布局所有这些DATAS为了繁衍?

How to wrap all these datas in one control/layout in order to multiply?

其中控制(S)(LinearLayout中,片段,TableLayout和它的TableRow(S))是相关的这种应用?

Which control(s) (LinearLayout, Fragment, TableLayout and its TableRow(s)) are relevant for this kind of application?

我不是专家的Andr​​oid应用程序开发人员,这就是为什么我想知道的。我有混乱有关。

I am not an expert Android application developer, that's why I want to know. I have confusion about that.

先谢谢了。

推荐答案

按我的理解,画面1和2的屏幕可能不同片段(看看有关片段的这里)。第一个片段包含的GridView (或一些类似的控制)和第二一个含有< A HREF =htt​​p://developer.android.com/guide/topics/ui/layout/listview.html相对=nofollow> ListView控件。

As per my understanding screen 1 and screen 2 probably different fragments (take a look about fragments here). 1st fragment contains GridView (or some similar control) and 2nd one contains ListView.

我会建议开始与的ListView 。基本上,你需要制定一个项目(我认为单 RelativeLayout的<布局/一>可能是适当的在这里),然后在适配器使用它作为产品

I would suggest to begin with ListView. Basically, You will need to develop layout for single item (I think single RelativeLayout might be appropriate here) and then use it as item in the adapter.

这篇关于Android的控制/布局(如何Instagram的应用程序不这样做呢?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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