I want to show drop down in android. I have used spinner for the same but give me layout like
However, I want layout like 
Can anybody tell me how to implement this kind of view. Please help me to solve this issue. Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The spinner you see in Android is Androids implementation of a drop down box. It is designed to be more friendly to touchscreen devices with little screen real estate. If you want something that behaved like a “normal” drop down box, you would likely have to design it yourself.
On a side note IIRC even drop downs on websites behave that way on an Android device, or severely annoy the user. People coming from outside of Android try to bend Android to act like other devices, but end up alienating the user base. Android system behaves a certain way, and people expect it to be consistent to that style. Regardless of how other systems implement it.