The Set animation container can be added as a resource ID r.anim.xxxx can be used to add http://blog.csdn.net/liuhe688/article/details/6660823 in the style sheet
Inset embedding a drawing resource container add <item name= "Android:background" > @drawable/background_view_rounded_bottom</item in the style sheet >
<?xml version= "1.0" encoding= "UTF-8"?>
<inset android:insetleft= "1.0px" android:insetright= "1.0px" android:insettop= "1.0px" android:insetbottom= "1.0px "
Xmlns:android= "Http://schemas.android.com/apk/res/android" >
<selector>
<item android:state_pressed= "true" >
<shape>
<gradient android:startcolor= "@color/base_start_color_pressed" android:endcolor= "@color/base_end_color_ Pressed "android:angle=" 270.0 "/>
<corners android:radius= "2.0dip" android:topleftradius= "0.0dip" android:toprightradius= "0.0dip" Android: bottomleftradius= "10.0dip" android:bottomrightradius= "10.0dip"/>
</shape>
</item>
<item>
<shape>
<gradient android:startcolor= "@color/base_start_color_default" android:endcolor= "@color/base_end_color_ Default "android:angle=" 270.0 "/>
<corners android:radius= "2.0dip" android:topleftradius= "0.0dip" android:toprightradius= "0.0dip" Android: bottomleftradius= "11.0dip" android:bottomrightradius= "11.0dip"/>
</shape>
</item>
</selector>
</inset>
Getting Started with Android-animations and containers