Hello! I have the following xml:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:id="@+id/navigationbar" android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical" android:background="#ff888888" android:padding="0dip" android:layout_marginLeft="3dip" android:layout_marginTop="3dip" android:layout_marginBottom="3dip" > <ImageButton android:id="@+id/pageprev" android:background="#00ffffff" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:padding="0dip" android:src="@drawable/btn_page_previous" android:layout_alignParentTop="true" android:layout_margin="0dip" android:layout_alignRight="@id/page" /> <Button android:id="@+id/page" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="#ffaaaaaa" android:textSize="33sp" android:paddingTop="0dip" android:paddingBottom="0dip" android:paddingLeft="3dip" android:paddingRight="3dip" android:layout_below="@id/pageprev" android:layout_margin="0dip" /> <TextView android:id="@+id/insPages" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:padding="0pt" android:layout_below="@id/page" android:layout_margin="0dip" android:layout_alignRight="@id/page" android:lineSpacingExtra="@null" android:textSize="20sp" ></TextView> <ImageButton android:id="@+id/pagenext" android:background="#00ffffff" android:src="@drawable/btn_page_next" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:padding="0dip" android:layout_below="@id/insPages" android:layout_margin="0dip" android:layout_alignRight="@id/insPages" /> <ImageButton android:id="@+id/zoom_up" android:background="#00ffffff" android:src="@drawable/btn_zoom_in" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:padding="0dip" android:layout_alignParentBottom="true" android:layout_margin="0dip" android:layout_alignRight="@id/pagenext" /> <ImageButton android:id="@+id/zoom_down" android:background="#00ffffff" android:src="@drawable/btn_zoom_out" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:padding="0dip" android:layout_above="@id/zoom_up" android:layout_marginTop="0dip" android:layout_marginLeft="0dip" android:layout_marginRight="0dip" android:layout_marginBottom="2dip" android:layout_alignRight="@id/zoom_up" /> <ImageButton android:id="@+id/pagefull" android:background="#00ffffff" android:src="@drawable/btn_zoom_page" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:padding="0dip" android:layout_above="@id/zoom_down" android:layout_marginTop="0dip" android:layout_marginLeft="0dip" android:layout_marginRight="0dip" android:layout_marginBottom="2dip" android:layout_alignRight="@id/zoom_down" /> </RelativeLayout> if the button @+id/page is not visible (hidden) the imageButtons and textview is shown fully. if the button @+id/page is visible, then the imageButtons and textview are cut at the size of the button @+id/page I want to see the imageButtons and textview fully, also if the button @ +id/page is visible. Can anybody help me? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

