English 中文(简体)
特定地点的立场意见?
原标题:Position views at specific location?
  • 时间:2010-07-04 14:27:29
  •  标签:
  • android

是否有办法在所需的任何具体职位上对屏幕进行点击/看法?

Something like a calendar with daily events that could overlap. e.g. if every hour in a day is represented by 1 hour and there are 2 appointments that overlap partially (say 12:00 - 12:30 and 12:20 - 01:00) this would be drawn in the same row but the 12:20 one positioned slightly below the first.

还有可能的看法(Image/TextView),需要跨越2行(即12:30-1:30)。

我认为,“水面”是一种选择(即这种有效吗?),但不能确定可以使用一些更好的布局。

我们能够用一张速记表,但不能确定是否有办法将重叠的植被置于这一位置?

TIA

最佳回答

官方答复:创建你自己的非专业经理阶层,执行你想要的规则。

更快但稍微大的回答:使用<代码>RelativeLayout和幅度以定位你的植被。 如果植被出现重叠,那么在布局中,应首先将儿童列为后继儿童(例如,在布局档案中进一步列出儿童XML的内容)。

您不希望的是:AbsoluteLayout。 这一点已经解释。

问题回答

暂无回答




相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签