How to set 'alert_light_frame' as background properly to the layout?
<p>I am using a custom segment bar which contain three segments and I set <code>alert_light_frame</code> as background like <code>android:background="@android:drawable/alert_light_frame"</code> but in 2.2 it is not fit correctly to the segment bar height, but in 2.3.6 its prefect. The height of background is more than segment bar.Can any one help me to solve this?</p>

<p>here is my xml layout of segment bar</p>

<pre><code>&lt;com.com.app.SegmentedRadioGroup
                android:layout_width="wrap_content" android:layout_height="wrap_content"
                android:orientation="horizontal"
                android:id="@+id/segment_text" 
                 android:background="@android:drawable/alert_light_frame"
                android:checkedButton="@+id/button_one"&gt;
                &lt;RadioButton android:id="@id/button_one" 
                    android:minHeight="35dip" android:text="one"
                    android:textAppearance="?android:attr/textAppearanceSmall"
                    android:button="@null" android:gravity="center" android:textColor="@color/radio_colors" /&gt;
                &lt;RadioButton android:id="@+id/button_two"
                    android:minHeight="35dip" android:text="two"
                    android:button="@null" android:gravity="center"
                    android:textAppearance="?android:attr/textAppearanceSmall"
                    android:textColor="@color/radio_colors" /&gt;
                &lt;RadioButton android:id="@+id/button_three"
                     android:minHeight="35dip" android:text="three"
                    android:button="@null" android:gravity="center"
                    android:textAppearance="?android:attr/textAppearanceSmall"
                    android:textColor="@color/radio_colors" /&gt;
            &lt;/com.com.app.SegmentedRadioGroup&gt;
</code></pre>
