This example demonstrate how to define rounded-rect shape for View as well as set layoutborder.The rounded rectangle can be drawn to a Canvas with its own draw() method, but more graphical control is available if you instead pass the RoundRectShape to a ShapeDrawable.A ShapeDrawable takes a Shape object and manages its presence on the screen.

LinearLayout Orientation

Tuesday, 06 August 2013 by

LinearLayout is a view group that aligns all children in a single direction, vertically or horizontally. The layout direction can be specified with the android:orientation attribute.A Layout  arranges its children in a single column or a single row. All children of a LinearLayout are stacked one after the other, so a vertical list will only