title: How to make android app to fit for all screen sizes
body: <p>Well i have activity.xml i which i have a background image and a button which also has a background image in it run well on normal screen but when i run it on xlarge or large screen the position of button changes</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context=".MainActivity"
      android:background="@drawable/menu"
      android:layout_margin="@dimen/my_view_margin"
       &gt;
  
      &lt;LinearLayout
          android:layout_width="300px"
          android:layout_height="200px"
          android:layout_alignParentTop="true"
          android:layout_centerHorizontal="true"
          android:layout_marginTop="172dp"
          android:orientation="vertical" &gt;
  
          &lt;Button
              android:id="@+id/button1"
              android:layout_width="wrap_content"
              android:layout_height="60px"
              android:background="@drawable/bt"
              android:text="Button" /&gt;
      &lt;/LinearLayout&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>this is the code above and below are the images of different screen</p>
  
  <p>cant add images cause doesnt have enough reputation </p>