Hi can any one tell how we can change the xml layout to java code. I need to show the grid view inside the tab view . For that I need to implement these attributes in Java code rather than xml .Please reply
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:numColumns="auto_fit"
android:verticalSpacing="10dp"
android:horizontalSpacing="10dp"
android:columnWidth="90dp"
android:stretchMode="columnWidth"
android:gravity="center"