title: IllegalArgumentException: width and height must be > 0 in activity
body: <p>When running my app on a tablet rather then on a phone (which I've never tried before) I get this stack trace when I start a certain activity. I have looked through the .xml files of that activity to look for anything that might be 0 at runtime, and replaced everything that came to mind (like for example <code>?attr/actionBarSize</code>) but it didn't change anything. My biggest problem: <strong>The stack trace is too long to get to the origin of the exception</strong>. Any ideas how I can find my mistake?
  PS: I don't know of any Bitmap in that activity, which makes it even more confusing</p>
  
  <pre><code>java.lang.IllegalArgumentException: width and height must be &gt; 0                                                                        
       at android.graphics.Bitmap.createBitmap(Bitmap.java:933)                                                                           
       at android.graphics.Bitmap.createBitmap(Bitmap.java:912)                                                                         
       at android.graphics.Bitmap.createBitmap(Bitmap.java:879)                                                                       
       at android.graphics.drawable.VectorDrawable$VectorDrawableState.createCachedBitmapIfNeeded(VectorDrawable.java:711) 
       at android.graphics.drawable.VectorDrawable.draw(VectorDrawable.java:278)
       at android.graphics.drawable.DrawableContainer.draw(DrawableContainer.java:76)
       at android.widget.ExpandableListView.dispatchDraw(ExpandableListView.java:460)
       at android.view.View.draw(View.java:16272)
       at android.widget.AbsListView.draw(AbsListView.java:5983)
       at android.view.View.updateDisplayListIfDirty(View.java:15192)
       at android.view.View.getDisplayList(View.java:15215)
       at android.view.View.draw(View.java:15990)
       at android.view.ViewGroup.drawChild(ViewGroup.java:3708)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)
       at android.view.View.draw(View.java:16272)
       at android.view.View.updateDisplayListIfDirty(View.java:15192)
       at android.view.View.getDisplayList(View.java:15215)
       at android.view.View.draw(View.java:15990)
       at android.view.ViewGroup.drawChild(ViewGroup.java:3708)
       at android.support.design.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:1127)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)
       at android.view.View.updateDisplayListIfDirty(View.java:15187)
       at android.view.View.getDisplayList(View.java:15215)
       at android.view.View.draw(View.java:15990)
       at android.view.ViewGroup.drawChild(ViewGroup.java:3708)
       at android.support.v4.widget.DrawerLayout.drawChild(DrawerLayout.java:1369)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)
       at android.view.View.draw(View.java:16272)
       at android.view.View.updateDisplayListIfDirty(View.java:15192)
       at android.view.View.getDisplayList(View.java:15215)
       at android.view.View.draw(View.java:15990)
       at android.view.ViewGroup.drawChild(ViewGroup.java:3708)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)
       at android.view.View.updateDisplayListIfDirty(View.java:15187)
       at android.view.View.getDisplayList(View.java:15215)
       at android.view.View.draw(View.java:15990)
       at android.view.ViewGroup.drawChild(ViewGroup.java:3708)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)
       at android.view.View.updateDisplayListIfDirty(View.java:15187)
       at android.view.View.getDisplayList(View.java:15215)
       at android.view.View.draw(View.java:15990)
       at android.view.ViewGroup.drawChild(ViewGroup.java:3708)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)
       at android.view.View.updateDisplayListIfDirty(View.java:15187)
       at android.view.View.getDisplayList(View.java:15215)
       at android.view.View.draw(View.java:15990)
       at android.view.ViewGroup.drawChild(ViewGroup.java:3708)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)
       at android.view.View.updateDisplayListIfDirty(View.java:15187)
       at android.view.View.getDisplayList(View.java:15215)
       at android.view.View.draw(View.java:15990)
       at android.view.ViewGroup.drawChild(ViewGroup.java:3708)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)
       at android.view.View.draw(View.java:16272)
       at android.widget.FrameLayout.draw(FrameLayout.java:592)
       at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:3047)
       at android.view.View.updateDisplayListIfDirty(View.java:15192)
       at android.view.View.getDisplayList(View.java:15215)
       at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:307)
       at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:313)
       at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:352)
       at android.view.ViewRootImpl.draw(ViewRootImpl.java:2815)
       at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2638)
       at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2226)
       at android.view.ViewRootImpl.doTraversal(ViewRootIm
  </code></pre>
  
  <p>Well, and here are my depenencies from gradle, I'm now using the 24 support libraries but the error persist...</p>
  
  <pre><code>dependencies {
      compile fileTree(include: ['*.jar'], dir: 'libs')
      wearApp project(':wear')
      testCompile 'junit:junit:4.12'
      compile 'com.google.android.gms:play-services:9.4.0'
      compile 'org.postgresql:postgresql:9.4.1208.jre7'
      compile 'com.google.android.gms:play-services-ads:9.4.0'
      compile 'com.google.android.gms:play-services-identity:9.4.0'
      compile 'com.google.android.gms:play-services-gcm:9.4.0'
      compile 'com.android.support:multidex:1.0.0'
      compile 'com.google.android.support:wearable:1.4.0'
      compile 'com.google.firebase:firebase-core:9.4.0'
      compile 'com.google.firebase:firebase-crash:9.4.0'
      compile 'com.google.firebase:firebase-messaging:9.4.0'
      compile 'com.android.support:support-v4:24.2.1'
      compile 'com.android.support:recyclerview-v7:24.2.1'
      compile 'com.android.support:design:24.2.1'
      compile 'com.android.support:palette-v7:24.2.1'
  }
  </code></pre>
  
  <p>And here comes the .xml code for the activity that crashes:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="@color/colorPrimary"
      app:layout_behavior="@string/appbar_scrolling_view_behavior"
      tools:context="org.pbdevelopement.cineapp.SpielplanActivity"
      tools:showIn="@layout/app_bar_spielplan"&gt;
  
      &lt;ExpandableListView
          android:id="@+id/spielplan_list_view"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:divider="@color/Grey600"
          android:dividerHeight="1dp"
          android:groupIndicator="@drawable/group_selector_icon"
          android:layout_alignParentStart="true"
          android:layout_alignParentTop="true" /&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>