title: Error inflating class com.sothree.slidinguppanel.SlidingUpPanelLayout
body: <p>I'm using <a href="https://github.com/umano/AndroidSlidingUpPanel" rel="nofollow" title="umano&#39;s SlidingUpPanel library">umano's SlidingUpPanel library</a> in my project, but when I tried to run the app, an <code>InflateException</code> was raised.</p>
  
  <pre><code>android.view.InflateException: Binary XML file line #1: Error inflating class com.sothree.slidinguppanel.SlidingUpPanelLayout
  </code></pre>
  
  <p>This is my layout</p>
  
  <pre><code>&lt;com.sothree.slidinguppanel.SlidingUpPanelLayout 
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="@color/bg_main"
      android:layout_gravity="bottom"&gt;
  
      &lt;CalendarView
          android:layout_width="match_parent"
          android:layout_height="match_parent"/&gt;
  
      &lt;RelativeLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
          &lt;!-- other layout --&gt;
      &lt;/RelativeLayout&gt;
  &lt;/com.sothree.slidinguppanel.SlidingUpPanelLayout&gt;
  </code></pre>
  
  <p>And this is my gradle dependencies</p>
  
  <pre><code>dependencies {
      compile fileTree(include: ['*.jar'], dir: 'libs')
      compile('com.google.android.gms:play-services:6.1.71') {
          exclude module: 'support-v4'
      }
      compile 'com.sothree.slidinguppanel:library:3.0.0'
      compile 'com.google.guava:guava-collections:r03'
      compile 'com.roomorama:caldroid:1.1.8'
  }
  </code></pre>
  
  <p>What did I do wrong?</p>