<Shape xmlns: android = "http://schemas.android.com/apk/res/android"
Android: shape = "rectangle">
<! -- Set the fill color -->
<Solid android: color = "# ff0033"/>
<! -- Set the padding around -->
<Padding
Android: bottom = "20dp"
Android: left = "20dp"
Android: right = "20dp"
Android: top = "20dp"/>
<! -- Set the change box -->
<Stroke
Android: width = "1dip"
Android: color = "# ff0"/>
</Shape>
<Shape xmlns: android = "http://schemas.android.com/apk/res/android">
<! -- Define fill gradient color -->
<Gradient android: startColor = "# ffff0000"
Android: endColor = "# 80ff00ff"
Android: angle = "45"
Android: type = "linear"/>
<! -- Set the padding around -->
<Padding
Android: bottom = "20dp"
Android: left = "20dp"
Android: right = "20dp"
Android: top = "20dp"/>
<! -- Set the rounded rectangle -->
<Corners android: radius = "10dp"/>
</Shape>
<Shape xmlns: android = "http://schemas.android.com/apk/res/android"
Android: shape = "oval">
<! -- Define fill gradient color -->
<Gradient android: startColor = "# ff0"
Android: endColor = "# 00f"
Android: angle = "45"
Android: type = "sweep"/>
<! -- Set the padding around -->
<Padding
Android: bottom = "20dp"
Android: left = "20dp"
Android: right = "20dp"
Android: top = "20dp"/>
<! -- Set the rounded rectangle -->
<Corners android: radius = "10dp"/>
</Shape>
<Shape xmlns: android = "http://schemas.android.com/apk/res/android"
Android: shape = "rectangle">
<! -- Set the fill color -->
<Solid android: color = "# ff0033"/>
<! -- Set the change box -->
<Stroke
Android: width = "1dip"
Android: color = "# ff0"/>
<Corners
Android: topLeftRadius = "10px"
Android: topRightRadius = "35px"
Android: bottomLeftRadius = "50px"
Android: bottomRightRadius = "80px"/>
</Shape>
Xmlns: tools = "http://schemas.android.com/tools"
Android: layout_width = "match_parent"
Android: layout_height = "match_parent"
Android: orientation = "vertical">
<TextView
Android: layout_margin = "20dp"
Android: background = "@ drawable/shape_style1"
Android: id = "@ + id/shape_tv1"
Android: layout_width = "wrap_content"
Android: layout_height = "wrap_content"
Android: text = "@ string/hello_world"/>
<TextView
Android: layout_margin = "20dp"
Android: background = "@ drawable/shape_style2"
Android: id = "@ + id/shape_tv2"
Android: layout_width = "wrap_content"
Android: layout_height = "wrap_content"
Android: text = "@ string/hello_world"/>
<TextView
Android: layout_margin = "20dp"
Android: background = "@ drawable/shape_style3"
Android: id = "@ + id/shape_tv3"
Android: layout_width = "wrap_content"
Android: layout_height = "wrap_content"
Android: text = "@ string/hello_world"/>
<TextView
Android: padding = "20dp"
Android: layout_margin = "20dp"
Android: background = "@ drawable/shape_style4"
Android: id = "@ + id/shape_tv4"
Android: layout_width = "wrap_content"
Android: layout_height = "wrap_content"
Android: text = "@ string/hello_world"/>
</LinearLayout>