title: Elevation on a layout which has a shape drawable background with different corner radii
body: <p>I have a layout for the list item which looks like this:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_marginBottom="@dimen/spacing_very_small"
      android:layout_marginEnd="@dimen/spacing_large"
      android:layout_marginStart="64dp"
      android:layout_marginTop="@dimen/spacing_very_small"&gt;
  
  
      &lt;LinearLayout
          android:minWidth="100dp"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:orientation="vertical"
          android:layout_alignParentEnd="true"
          android:background="@drawable/red_bubble"
          android:gravity="end"
          android:layout_margin="8dp"
          android:elevation="4dp"
          &gt;
  
          &lt;TextView
              android:id="@+id/content"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:lineSpacingMultiplier="1.1"
              android:paddingTop="@dimen/spacing_normal"
              android:paddingBottom="@dimen/spacing_small"
              android:paddingStart="@dimen/spacing_normal"
              android:paddingEnd="@dimen/spacing_normal"
              android:textColor="@color/white"
              android:text="TEST"/&gt;
  
          &lt;TextView
              android:id="@+id/date"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:textSize="12dp"
              android:gravity="end"
              android:paddingStart="@dimen/spacing_normal"
              android:paddingEnd="@dimen/spacing_normal"
              android:paddingBottom="@dimen/spacing_normal"
              android:textColor="@color/white"
              android:text="yesterday"/&gt;
  
      &lt;/LinearLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>And the background for the LinearLayout is a shape with red color and rounded edges:</p>
  
  <pre><code>&lt;shape xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
      &lt;solid android:color="@color/red"/&gt;
  
      &lt;corners android:bottomRightRadius="5dp" android:bottomLeftRadius="20dp"
      android:topLeftRadius="5dp" android:topRightRadius="5dp" /&gt;
  
  &lt;/shape&gt;
  </code></pre>
  
  <p>Question is, why does elevation work, and there is a shadow, when all edges have same radii, but when I change radius for one of the angles (bottom left in this case) shadow disappears?</p>
  
  <p><img src="https://i.imgur.com/QLZgpcf.png" alt="Test"></p>
  
  <p>And is there a solution for this problem?</p>