Wrap view in a box in xml

elimitator

New Member
How can i wrap elements in the XML code in a box like view? meaning that i want them to be looking like they are grouped in some box with borders.\[code\]<Button android:id="@+id/carbgraph" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_x="230dp" android:layout_y="378dp" android:text="Button" /><ProgressBar android:id="@+id/progressBarforcals" style="?android:attr/progressBarStyleHorizontal" android:layout_width="280dp" android:layout_height="wrap_content" android:layout_x="15dp" android:layout_y="346dp" /><TextView android:id="@+id/calsinmenu" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_x="16dp" android:layout_y="320dp" android:text="TextView" />\[/code\]
 
Back
Top