Android Question Dialog / Transparent Layout (Bottom View)

fasilosman

Active Member
Licensed User
Longtime User
I want to create a dialog/Layout view at attached in the pictures(Sample 1 or Sample 2).
There is a button as "Select Size". If you click then a dialog or a Layout view will be shown at the buttom of the screen. You can select the size from there.

Can any one please help me that, from which library I can use to do the above steps.
I tried the dialogs library but it shows at the center of the screen, not at the bottom and also shows the positive and negative buttons.

Please put me in the right direction.




 

ilan

Expert
Licensed User
Longtime User
This is really simple

Take a panel with black background and alpha 0.5

Then put another panel inside this one with a listview or any other view u like.

Now when u click on select size u bringtofront the black panel and animate the panel with the list with setlayoutanimated.

Make sure to add a click event to the black panel to avoid unwanted clicks behind the panel.
 
Upvote 0

fasilosman

Active Member
Licensed User
Longtime User

You are great. Very simple and sweet.
I got the real point what is happening. it is easy as 123.
Thanks a lot
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…