Android Round Button and Spinner inside Activity Group
- by vaishali
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.