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

<p>I have set the ContentView for that screen as :</p>

<pre><code>setContentView(LayoutInflater.from(getParent()).inflate(R.layout.textmessage,null));
</code></pre>

<p>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?</p>

<p>Any help would be appreciated. Thanks in Advance.</p>
