Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a view similar to the system notification area in android?

I'd like to have a view in my activity, which initially stays at the top of the screen like a little bar, but when you tap on it it should expand down, like the system notification area.

I haven't found any standard controls with such behaviour. What's the best way to implement this?

like image 425
netimen Avatar asked Feb 24 '23 22:02

netimen


1 Answers

Use a SlidingDrawer. Here is a good tutorial.

like image 106
Adinia Avatar answered Apr 08 '23 06:04

Adinia