title: White line at the bottom of the screen (LinearLayout)
body: <p>I am working on a login screen for my app. The issue is I am getting a white line at the bottom of the screen on every device and on the emulator as well.
  You can check the output here: 
  <a href="http://www.imgur.com/cTMu4Ap" rel="nofollow">http://www.imgur.com/cTMu4Ap</a>
  This is my xml code for the layout. Please note that I am using layout_weight property for equal space among all devices.</p>
  
  <pre><code>&lt;LinearLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"
      &gt;
  
      &lt;ImageView
          android:layout_width="wrap_content"
          android:layout_height="0dp"
          android:layout_weight="0.5"
          android:src="@mipmap/ic_launcher"
          android:layout_gravity="center"
          /&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="0dp"
          android:layout_weight="1"
          android:orientation="vertical"
          android:paddingLeft="55dp"
          android:paddingRight="55dp"
          android:background="@color/colorPrimary"
          &gt;
          &lt;EditText
              android:id="@+id/edtEmailOrMobileNumber"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:hint="@string/email_or_mobile_number"
              android:background="@null"
              android:inputType="textEmailAddress"
              android:textColor="@android:color/white"
              android:textColorHint="@android:color/white"
              android:drawableLeft="@drawable/ic_clear"
  
              android:layout_marginTop="64dp"
              /&gt;
          &lt;View
              android:layout_width="match_parent"
              android:layout_height="1dp"
              android:background="@android:color/white"
              android:layout_marginTop="10dp"
              android:layout_marginBottom="10dp"
              /&gt;
          &lt;EditText
              android:id="@+id/edtPassword"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:hint="@string/password"
              android:background="@null"
              android:inputType="textPassword"
              android:textColor="@android:color/white"
              android:textColorHint="@android:color/white"
              android:drawableLeft="@drawable/ic_clear"
              android:drawableRight="@drawable/ic_clear"
  
              android:layout_marginBottom="20dp"
              /&gt;
          &lt;Button
              android:id="@+id/btnSignIn"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="@string/sign_in"
              android:layout_gravity="center"
              android:textColor="@color/blue_login_button"
              android:background="@drawable/rounded_corner_button_login_background"
              android:textAllCaps="false"
              /&gt;
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="0dp"
              android:layout_weight="1"
              android:text="@string/dont_have_an_account"
              android:layout_gravity="center"
              android:gravity="center|bottom"
              android:paddingBottom="30dp"
              android:textColor="@android:color/white"
              /&gt;
      &lt;/LinearLayout&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="0dp"
          android:layout_weight="0.2"
          android:orientation="vertical"
          android:gravity="center"
          android:background="@drawable/button_create_account_background"
          android:clickable="true"
          &gt;
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="@string/create_an_account"
              android:textColor="@android:color/white"
              /&gt;
      &lt;/LinearLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>