title: Android Absolute Layout with different screen size
body: <p>I'm using Absolute Layout to divide the screen to 4 species with circle in the center like this
  <img src="https://i.stack.imgur.com/VYeZd.png" alt="enter image description here"></p>
  
  <p>It is work fine with small screen size but with large screen it doesn't.
  How to do this with different screen width?</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:id="@+id/linear"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical" &gt;
  
  &lt;AbsoluteLayout
      android:id="@+id/AbsoluteLayout1"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_alignParentLeft="true"
      android:layout_alignParentTop="true"
      android:layout_centerHorizontal="true"
      android:l="true"
      android:layout_centerInParent="true"
      android:background="#fcf2cf"
      android:paddingBottom="@dimen/activity_vertical_margin"
      android:paddingLeft="@dimen/activity_horizontal_margin"
      android:paddingRight="@dimen/activity_horizontal_margin"
      android:paddingTop="@dimen/activity_vertical_margin"
      tools:context="com.example.organizer2.MainActivity" &gt;
  
      &lt;Button
          android:id="@+id/Button1"
          android:layout_width="148dp"
          android:layout_height="180dp"
          android:layout_weight="1"
          android:layout_x="0dp"
          android:layout_y="0dp"
          android:background="#219baa"
          android:text="Button" /&gt;
  
      &lt;Button
          android:id="@+id/Button2"
          android:layout_width="148dp"
          android:layout_height="180dp"
          android:layout_weight="1"
          android:layout_x="148dp"
          android:layout_y="0dp"
          android:background="#ef820b"
          android:text="Button" /&gt;
  
      &lt;Button
          android:id="@+id/Button3"
          android:layout_width="148dp"
          android:layout_height="180dp"
          android:layout_weight="1"
          android:layout_x="0dp"
          android:layout_y="180dp"
          android:background="#e3c800"
          android:text="Button" /&gt;
  
      &lt;Button
          android:id="@+id/Button4"
          android:layout_width="148dp"
          android:layout_height="180dp"
          android:layout_weight="1"
          android:layout_x="148dp"
          android:layout_y="180dp"
          android:background="#36bc89"
          android:text="Button" /&gt;
  
      &lt;ImageView
          android:id="@+id/imageView1"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_x="4dp"
          android:layout_y="132dp"
          android:src="@drawable/circle" /&gt;
  
     &lt;/AbsoluteLayout&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>