Re: [android-developers] Create a view like the notification area

2011-01-19 Thread peeyush varshney
Use popupwindow
On 20-Jan-2011 8:41 AM, "Mark Murphy"  wrote:
> Use a SlidingDrawer. Or, use the source of a SlidingDrawer as a
> starting point for rolling your own custom View.
>
> On Wed, Jan 19, 2011 at 10:02 PM, Jason  wrote:
>> Hi all,
>>
>> I'm wanting to create a view that behaves the same as the notification
>> area.
>>
>> Let me explain:
>>
>> I want one view being displayed on screen, with a "toolbar" at the top
>> of this view which behaves like the notification bar on the device.
>> So when you just touch this toolbar, a "dragable" grab bar appears
>> below the toolbar which you can then drag down.  This dragable section
>> would contain another view.
>>
>> Basically exactly how the notification area works on the device.  If
>> you just touch it a "drag bar" appears which you can then drag down
>> over whatever is in view to show the current notifications.  I want to
>> do basically the same thing within an app.
>>
>> Anyone got any clever ways of achieving this?
>>
>> Thanks.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
> Available!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Create a view like the notification area

2011-01-19 Thread Mark Murphy
Use a SlidingDrawer. Or, use the source of a SlidingDrawer as a
starting point for rolling your own custom View.

On Wed, Jan 19, 2011 at 10:02 PM, Jason  wrote:
> Hi all,
>
> I'm wanting to create a view that behaves the same as the notification
> area.
>
> Let me explain:
>
> I want one view being displayed on screen, with a "toolbar" at the top
> of this view which behaves like the notification bar on the device.
> So when you just touch this toolbar, a "dragable" grab bar appears
> below the toolbar which you can then drag down.  This dragable section
> would contain another view.
>
> Basically exactly how the notification area works on the device.  If
> you just touch it a "drag bar" appears which you can then drag down
> over whatever is in view to show the current notifications.  I want to
> do basically the same thing within an app.
>
> Anyone got any clever ways of achieving this?
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Create a view like the notification area

2011-01-19 Thread Jason
Hi all,

I'm wanting to create a view that behaves the same as the notification
area.

Let me explain:

I want one view being displayed on screen, with a "toolbar" at the top
of this view which behaves like the notification bar on the device.
So when you just touch this toolbar, a "dragable" grab bar appears
below the toolbar which you can then drag down.  This dragable section
would contain another view.

Basically exactly how the notification area works on the device.  If
you just touch it a "drag bar" appears which you can then drag down
over whatever is in view to show the current notifications.  I want to
do basically the same thing within an app.

Anyone got any clever ways of achieving this?

Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en