title: How to make layout consistent for small and large screens ?There's is always some whitespace left
body: <p>How can i make a layout to fit on all screen sizes ?</p>
  
  <p>I am trying to achieve this by putting the widgets inside a relative layout but at the bottom , i always see some whitespace in the <strong>bottom</strong>. </p>
  
  <p>Till some extent i can make this work by adding top margin in the last widget so that the remaining space gets occupied.</p>
  
  <p>But it's not the best way to do i think because on the smaller screen sizes the widgets tend to disappear in the bottom.</p>
  
  <p><strong>Please see the screen shot of the layout here</strong>
  <img src="https://i.stack.imgur.com/WQmBh.png" alt="Screenshot of the LAYOUTs">
  Here's the xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:id="@+id/activity_fit_employess"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:paddingBottom="@dimen/activity_vertical_margin"
      android:paddingLeft="@dimen/activity_horizontal_margin"
      android:paddingRight="@dimen/activity_horizontal_margin"
      android:paddingTop="@dimen/activity_vertical_margin"
      android:orientation="vertical"
      tools:context="com.thebitshoes.classproject.FitEmployess"&gt;
  
              &lt;ImageView
                  android:layout_width="213dp"
                  android:layout_height="141dp"
                  android:src="@mipmap/adios"
                  android:id="@+id/adios"
                  android:layout_centerHorizontal="true"
                  android:layout_marginBottom="18dp"
                  /&gt;
  
  
              &lt;EditText
                  android:id="@+id/email_tv"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:hint="E-mail"
                  android:layout_marginBottom="22dp"
                  android:layout_below="@id/adios"
                  /&gt;
  
              &lt;EditText
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:inputType="textVisiblePassword"
                  android:ems="10"
                  android:id="@+id/pass_tv"
                  android:layout_marginBottom="27dp"
                  android:hint="Password"
                  android:layout_below="@+id/email_tv"
                  /&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="vertical"
          android:layout_below="@+id/pass_tv"&gt;
  
          &lt;Button
              android:text="Login"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginBottom="11dp"
              android:id="@+id/login_btn"
              android:onClick="loginNow"
              android:layout_weight="0.33"
              /&gt;
  
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="@string/newuser"
              android:layout_marginBottom="12dp"
              android:layout_gravity="center_horizontal"
              android:id="@+id/n_user_tv"
              android:layout_weight="0.33"
  
              /&gt;
  
          &lt;TextView
              android:text="Sign Up"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:id="@+id/signup_tv"
              android:layout_marginBottom="11dp"
              android:textSize="18sp"
              android:layout_gravity="center_horizontal"
              android:layout_weight="0.33" /&gt;
      &lt;/LinearLayout&gt;
  
  
  
  
  
      &lt;/RelativeLayout&gt;
  </code></pre>