title: Layout clipping / ignoring padding on xhdpi/xxhdpi
body: <p>For my apps main menu I have a <a href="https://github.com/dmitry-zaitsev/CircleLayout" rel="nofollow">CircleLayout</a> inside a RelativeLayout. It is displayed as I wish on all devices except ones with xhdpi or xxhdpi screens, where the padding / margin (tried both) is displayed, but the CircleLayout is bigger than its parent and cropped. Any idea what the high dpi devices are doing differently? Thanks in advance ! :)</p>
  
  <p>What it should look like, working on a Nexus S on the left, result on a Nexus 5 on the right:<a href="https://dl.dropboxusercontent.com/u/7342323/images/nexus5.PNG" rel="nofollow">here</a> </p>
  
  <p>activity_main.xml:</p>
  
  <pre><code>&lt;RelativeLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  android:paddingLeft="@dimen/activity_horizontal_margin"
  android:paddingRight="@dimen/activity_horizontal_margin"
  tools:context=".MainActivity" &gt;
  
  
  
  &lt;com.ericzim.dbtbuddy.Layout.CircleLayout
      android:id="@+id/main"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_centerInParent="true"
  
      &gt;
  
      &lt;include
          android:id="@+id/buttonMe"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          layout="@layout/button_round"
          /&gt;
  
      &lt;include
          android:id="@+id/buttonSleep"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          layout="@layout/button_round" /&gt;
  
      &lt;include
          android:id="@+id/buttonStress"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          layout="@layout/button_round" /&gt;
  
      &lt;include
          android:id="@+id/buttonAnger"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          layout="@layout/button_round" /&gt;
  
      &lt;include
          android:id="@+id/buttonFear"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          layout="@layout/button_round" /&gt;
  
      &lt;include
          android:id="@+id/buttonMemories"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          layout="@layout/button_round" /&gt;
  
      &lt;include
          android:id="@+id/buttonSkills"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          layout="@layout/button_round" /&gt;
  
      &lt;include
          android:id="@+id/buttonResources"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          layout="@layout/button_round" /&gt;
  &lt;/com.ericzim.dbtbuddy.Layout.CircleLayout&gt;
  
  &lt;com.ericzim.dbtbuddy.Layout.CircleLayout
      android:id="@+id/menuMe"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:layout_centerInParent="true"
      android:visibility="invisible"
      app:angleRange="-180" &gt;
  
      &lt;include
          android:id="@+id/buttonSelfWorth"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          layout="@layout/button_round" /&gt;
  
      &lt;include
          android:id="@+id/buttonSecurity"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          layout="@layout/button_round" /&gt;
  
      &lt;include
          android:id="@+id/buttonHelpfulImages"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          layout="@layout/button_round" /&gt;
  
      &lt;include
          android:id="@+id/buttonMindfulness"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          layout="@layout/button_round" /&gt;
  &lt;/com.ericzim.dbtbuddy.Layout.CircleLayout&gt;
  
  &lt;RelativeLayout
      android:id="@+id/MenuButtonBack"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentLeft="true"
      android:layout_centerVertical="true"
      android:paddingLeft="15dp"
      android:visibility="invisible" &gt;
  
      &lt;include
          android:id="@+id/buttonBack"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          layout="@layout/button_round" /&gt;
  &lt;/RelativeLayout&gt;
  
  &lt;include
      android:id="@+id/buttonEmergency"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_centerHorizontal="true"
      android:layout_centerVertical="true"
      layout="@layout/button_round" /&gt;
  
  
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>with activity_horizontal_margin set to 20dp.</p>
  
  <p>The includes are RelativeLayouts looking like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_height="wrap_content" 
    android:layout_width="wrap_content"&gt;
  &lt;ImageView  
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentTop="true" 
      android:layout_centerHorizontal="true"
      android:id="@+id/test_button_image"
      android:paddingLeft="1dp"
      android:paddingRight="1dp"&gt;
   &lt;/ImageView&gt;
  
  &lt;TextView
      android:id="@+id/test_button_text2"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_centerHorizontal="true"
      android:layout_below="@+id/test_button_image"
      android:gravity="center"
      android:textAlignment="center"
      android:text=""
      &gt;
  &lt;/TextView&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>