title: Android tvdpi vs xhdpi screen issue
body: <p>I'm developing an app for a tablet which until recently was tested in an emulator for Nexus 7 (7.27'',800x1280:tvdpi). Everything was fine until I decided to test the app in a different emulator, one created similar to samsung galaxy note 2 (5.6'',720x1280:xhdpi) and it doesn't look so well.</p>
  
  <p>For example, take a look at this custom alert dialog I'm using.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
            android:id="@+id/dialog_layout_root"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="10dp"
            android:background="@color/light_gray"&gt;
           &lt;Button
               android:id="@+id/facebook_login_button"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:layout_centerHorizontal="true"
               android:layout_marginTop="40dp"/&gt;
           &lt;TextView
               android:id="@+id/or_text"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:textIsSelectable="true"
               android:layout_centerHorizontal="true"
               android:layout_marginTop="20dp"
               android:textSize="20sp"
               android:textColor="@color/black"
               android:layout_below="@id/facebook_login_button"/&gt;
           &lt;TextView
               android:id="@+id/sign_in_text"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:textIsSelectable="true"
               android:layout_marginLeft="10dp"
               android:layout_marginTop="20dp"
               android:textSize="20sp"
               android:textColor="@color/gray"
               android:layout_below="@id/or_text"/&gt;
           &lt;EditText
               android:id="@+id/login_email"
               android:layout_width="320dp"
               android:layout_height="wrap_content"
               android:layout_marginLeft="10dp"
               android:layout_below="@id/sign_in_text"
               android:hint="@string/email_login"
               android:inputType="textEmailAddress"/&gt;
           &lt;EditText
               android:id="@+id/login_password"
               android:layout_width="320dp"
               android:layout_height="wrap_content"
               android:layout_marginLeft="10dp"
               android:layout_below="@id/login_email"
               android:hint="@string/pass_login"
               android:inputType="textPassword"/&gt;
           &lt;TextView
               android:id="@+id/case_sensitive_text"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:textIsSelectable="true"
               android:layout_marginLeft="10dp"
               android:layout_marginTop="20dp"
               android:textSize="18sp"
               android:textColor="@color/gray"
               android:layout_below="@id/login_password"/&gt;
           &lt;CheckBox
               android:id="@+id/remember_login"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:textColor="@color/black"
               android:layout_below="@id/case_sensitive_text"/&gt;
           &lt;Button
               android:id="@+id/sign_in_button"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:layout_below="@id/remember_login"
               android:layout_marginLeft="300dp"/&gt;
           &lt;TextView
               android:id="@+id/forget_password_text"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:textIsSelectable="true"
               android:layout_marginLeft="180dp"
               android:textSize="18sp"
               android:textColor="@color/black"
               android:layout_below="@id/sign_in_button"/&gt;
           &lt;View
              android:id="@+id/horizontal_line"
              android:layout_width="360dp"
              android:layout_marginTop="20dp"
              android:layout_height="1dp"
              android:background="@android:color/darker_gray"
              android:layout_below="@id/forget_password_text"/&gt;
           &lt;TextView
               android:id="@+id/new_app_text"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:textIsSelectable="true"
               android:textSize="18sp"
               android:textColor="@color/black"
               android:layout_below="@id/horizontal_line"/&gt;
           &lt;TextView
               android:id="@+id/create_account_text"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:textIsSelectable="true"
               android:textSize="18sp"
               android:textColor="@color/gray"
               android:layout_below="@id/new_app_text"/&gt;
           &lt;Button 
               android:id="@+id/create_account_button"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:layout_below="@id/create_account_text"
               android:layout_marginLeft="250dp"
               android:layout_marginTop="10dp"/&gt;
           &lt;TextView
               android:id="@+id/terms_conditions_text"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:textIsSelectable="true"
               android:textSize="12sp"
               android:textColor="@color/gray"
               android:layout_below="@id/create_account_button"/&gt;
           &lt;TextView
               android:id="@+id/vertical_rule"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:textIsSelectable="true"
               android:textSize="12sp"
               android:textColor="@color/gray"
               android:layout_below="@id/create_account_button"
               android:layout_toRightOf="@id/terms_conditions_text"/&gt;
           &lt;TextView
               android:id="@+id/privacy_policy_text"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:textIsSelectable="true"
               android:textSize="12sp"
               android:textColor="@color/gray"
               android:layout_below="@id/create_account_button"
               android:layout_toRightOf="@id/vertical_rule"/&gt;             
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>As you can see I'm using Relative Layout and I use dp everywhere and sp for font size.
  If you notice on the background of the alert dialog not even the fragments are displaying correct.
  You can take a look here: <a href="http://imageshack.us/g/692/tvdpi.jpg/" rel="nofollow">http://imageshack.us/g/692/tvdpi.jpg/</a></p>
  
  <p>Any suggestions why is this happening? </p>
  
  <p>Thanks in advance.</p>