Re: [android-developers] How to build row item child views that can overlap rows, for a custom calendar application

2012-05-04 Thread duadinam
Thanks Mark, BTW, I love the Commonsware book series, I use them all the time. I have a somewhat unrelated question, but depending on the answer, I think it might provide another solution to this problem. How are ContextMenus and Dialogs displayed on the screen. They seem to live

Re: [android-developers] How to build row item child views that can overlap rows, for a custom calendar application

2012-05-04 Thread Mark Murphy
On Fri, May 4, 2012 at 5:27 PM, duadinam somethingcleve...@gmail.com wrote: BTW, I love the Commonsware book series, I use them all the time. Thanks! What if the Events sit above the ListItems, in the same way that a context menu would? Then you would not be able to interact with things

Re: [android-developers] How to build row item child views that can overlap rows, for a custom calendar application

2012-05-04 Thread David Ozersky
Thanks Mark, I've given up on that solution. But I'm just wondering...how does Android display notifactions and context menu's? Is it placed directly on the FrameLayout of the Window? Or is it something else? Thank you for your help, and you're support of the community. David On Fri, May 4,

Re: [android-developers] How to build row item child views that can overlap rows, for a custom calendar application

2012-05-04 Thread Mark Murphy
On Fri, May 4, 2012 at 6:31 PM, David Ozersky somethingcleve...@gmail.com wrote: I've given up on that solution.  But I'm just wondering...how does Android display notifactions and context menu's?  Is it placed directly on the FrameLayout of the Window? Or is it something else? Sorry, but I

Re: [android-developers] How to build row item child views that can overlap rows, for a custom calendar application

2012-05-04 Thread Michael Chan
Hi, Have a look at: http://developer.android.com/guide/topics/ui/dialogs.html http://developer.android.com/guide/topics/ui/notifiers/notifications.html http://developer.android.com/guide/topics/ui/menus.html Thanks, Mike On Fri, May 4, 2012 at 3:31 PM, David Ozersky somethingcleve...@gmail.com

[android-developers] How to build row item child views that can overlap rows, for a custom calendar application

2012-05-03 Thread duadinam
Hi, I'm a fairly new Android Developer, and I'm working on a project to build a Calendar from scratch. We took a look at the Android Calendar source code, and it turns out that the Calendar UI is populated using Listviews; where each row represents a one hour slot. However, this approach

Re: [android-developers] How to build row item child views that can overlap rows, for a custom calendar application

2012-05-03 Thread Mark Murphy
On Thu, May 3, 2012 at 9:40 AM, duadinam somethingcleve...@gmail.com wrote: 1) If each hour slot is a single row in a ListView, how do you create events that cross rows?  It seems you would have to have views that belong to two parents, which doesn't seem possible. That's not necessarily the

Re: [android-developers] How to build row item child views that can overlap rows, for a custom calendar application

2012-05-03 Thread Michael Chan
Hi, The day and week views are custom drawn i.e. line by line, rect by rect, etc. It does not use a ListView. The agenda view uses a ListView. One row per header or event. Nothing spans across multiple rows. The month view (starting in Honeycomb, I believe) uses a ListView. One row per week.