There is some space at bottom of the bottom. Its not centered vertically
properly even after using android:layout_centerVertical="true". If u look
very closely the button is occupying all space vertically (lite shade of
green around button after selection) but the actual button image is slightly
upwards.


[image: issue1.JPG]

emulator:
[image: issue2.JPG]

<RelativeLayout android:background="@drawable/gradient_bar"
android:id="@+id/image_bar_bottom" android:layout_height="0dip"
android:layout_width="fill_parent" android:layout_weight="1">

<Button android:text="Button" android:id="@+id/button1"
android:layout_width="wrap_content" android:layout_height="fill_parent"
android:layout_centerHorizontal="true" android:layout_centerVertical="true"
></Button>

</RelativeLayout>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

<<issue1.JPG>>

<<issue2.JPG>>

Reply via email to