ISSUE: It seems I can not make my ImageButtons appear in the right place or have the right size.
PLATFORM : Eclipse with Android API 16
PROBLEM: My RelativeLayout is 600x800 and my ImageButtons are 194x64, but when I put them in the editor, they are twice as many as they should be. See link to image.

My XML:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:android1="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/main_portal_bg" > <RelativeLayout android1:layout_width="353dp" android1:layout_height="758dp" android1:layout_marginLeft="115dp" android1:layout_marginTop="29dp" android1:background="#000000" > </RelativeLayout> <ImageButton android1:id="@+id/new_customer_button_selector" android1:layout_width="194dp" android1:layout_height="64dp" android1:layout_marginTop="89dp" android1:contentDescription="@string/back_button_desc" android1:background="@drawable/new_customer_button_selector" /> <ImageButton android1:id="@+id/returning_customer_button_selector" android1:layout_width="194dp" android1:layout_height="64dp" android1:layout_alignParentLeft="true" android1:layout_below="@+id/new_customer_button_selector" android1:contentDescription="@string/back_button_desc" android1:src="@drawable/returning_customer_button_selector" /> <ImageButton android1:id="@+id/redeem_coupon_button_selector" android1:layout_width="194dp" android1:layout_height="64dp" android1:layout_alignParentLeft="true" android1:layout_below="@+id/returning_customer_button_selector" android1:contentDescription="@string/back_button_desc" android1:src="@drawable/redeem_coupon_button_selector" /> <ImageButton android1:id="@+id/info_button_selector" android1:layout_width="194dp" android1:layout_height="64dp" android1:layout_alignParentLeft="true" android1:layout_below="@+id/redeem_coupon_button_selector" android1:contentDescription="@string/back_button_desc" android1:src="@drawable/info_button_selector" /> </RelativeLayout>
RESEARCH: I tried using ScaleType for FitXY by setting MaxHeight and MinHeight and using android: background instead of android: src. The only way I was able to reduce them was to use the graphics editor to resize by holding down the SHIFT key and dragging the lower right corner. This also, unfortunately, makes them automatically align to the bottom of the layout, and when I try to move them, they return to their original size, and all other buttons are shuffled around the layout. Editing XML only helps me with this.
QUESTIONS: Each time I try to move a button in a graphical editor, all other buttons are shuffled in random order around the screen. Why is this happening?
I set the width to 194dp and the height to 64dp. Changing these values ββdoes nothing. Why doesn't this affect the actual width and height of my ImageButton?
When using a graphical editor to resize a button by holding SHIFT and dragging an angle, this does not change the width and height values ββin XML, but simply adds fields. See Final XML below:
<ImageButton android1:id="@+id/new_customer_button_selector" android1:layout_width="194dp" android1:layout_height="64dp" android1:layout_alignParentBottom="true" android1:layout_alignRight="@+id/returning_customer_button_selector" android1:layout_marginBottom="408dp" android1:layout_marginRight="86dp" android1:layout_marginTop="89dp" android1:background="@drawable/new_customer_button_selector" android1:contentDescription="@string/back_button_desc" />
HERE IS MY FINAL GOAL:

Please tell me how I can get there. This simple thing should be simpler.
source share