I'm trying to remove the blank spaces that it creates automatically before and after the textview. How is it possible?\[code\] <TableRow android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="10dp" android:background="@drawable/ripetisfondo" androidadding="1dp" > <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:shadowColor="#000000" android:shadowDx="1" android:shadowDy="1" android:shadowRadius="2" android:text="@string/titolo1" android:textColor="#FFFFFF" android:textSize="15dp" android:textStyle="bold" /> <ToggleButton android:id="@+id/toggleButton1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" /> </TableRow>\[/code\]That screenshot is taken from Eclipse. When I run the app, half toggle button disappears.