I am creating my first android application and this has been driving me insane.

My application is for the android smartphones, and I only need one specific design for my layout. I do not need to change the design of the layout for each device. All I want to do is resize the layout to support all the different screen sizes and resolutions. I have tried multiple things and can't seem to get it right.

For Example:
 I have several buttons on my pages, and the buttons need to be at a specific point on the image that I have as the background. These buttons need to still be at the same point on the image even if the device's screen size was increased or the screen resolution was increased.

Just some info about my application:

-all my button locations are in DIP (one of the solutions that I tried had me do this)
-my layout XML files are in a folder titled "layout"

Any help will be greatly appreciated

Here is the code for one of my layouts:

```
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/mybackground"

>
<Button  
android:layout_width="115dip" 
android:layout_marginTop="450dip" 
android:layout_marginLeft="105dip" 
android:layout_height="50dip" 
android:id="@+id/button01"

>
</Button>

<Button  
android:layout_width="70dip" 
android:layout_marginTop="460dip" 
android:layout_marginLeft="250dip" 
android:layout_height="40dip" 
android:id="@+id/button03"

>
</Button>

</RelativeLayout>

```

The code above is one of my layouts. This layout has two buttons that need to be in the same location in relation to the background "mybackground". These buttons have the transparent attribute applied to them so that elements on the image are the "buttons". This works on my Droid2, but then when applied to a screen bigger or more dense, the buttons are no longer in the correct positions in relation to the image.