Android Round Button and Spinner inside Activity Group
Posted
by
vaishali
on Stack Overflow
See other posts from Stack Overflow
or by vaishali
Published on 2012-07-10T09:12:33Z
Indexed on
2012/07/10
9:15 UTC
Read the original article
Hit count: 169
android
I have a Spinner and 2 buttons in an Activity Group. I want to apply rounded corner to the buttons. I have created shape xml resource file for round button in Android. I have assigned this resource file as background to the button while creating the button in Layout. But the change is not reflected after executing the application.
I have set the ContentView for that screen as :
setContentView(LayoutInflater.from(getParent()).inflate(R.layout.textmessage,null));
This has to be done to make spinner work in an Activity Group. How can I make the Button as round corner in an Activity Group having Spinner?
Any help would be appreciated. Thanks in Advance.
© Stack Overflow or respective owner