Wasim Ahmed
Wasim Ahmed

Reputation: 356

making background dim in android

I want to develop a setting pannel in my project, like google play .It will show when i drage on the screen. And while it moves, the background goes dim. Firt the screen is like this Firt the screen is like this

When i slide the screen, the setting pannel moves to front while backgrounf goes slide dim When i slide the screen, the setting pannel moves to front while backgrounf goes slide dim.

And when setting pannel comes to front cleasrly, background becomes more dim. Actually the background goes to dim gradually as the setting pannel moves to front. And when setting pannel comes to front cleasrly, background becomes more dim. Actually the background goes to dim gradually as the setting pannel moves to front.

I am using android 4.0.3..how to do it. I need help to develop such view.

Upvotes: 1

Views: 185

Answers (1)

samgak
samgak

Reputation: 24417

That is the Navigation Drawer UI design pattern.

Here is a tutorial explaining how to create one using the DrawerLayout class. It uses the support libraries so it will work on 4.0.3.

Upvotes: 1

Related Questions