title: Android fab icon Could not find class 'android.graphics.drawable.RippleDrawable'
body: <p>In Android when i run application it fires this error:</p>
  
  <pre><code>Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
  </code></pre>
  
  <p>The error fires when i uncomment those lines:</p>
  
  <pre><code> fabAddLocation = (FloatingActionButton) findViewById(R.id.fab_add_location);
  
          fabAddLocation.setOnClickListener(new View.OnClickListener() {
              public void onClick(View v) {
                 ...
              }
          });
  </code></pre>
  
  <p>I think it may be compatibility issue. I using the below support libraries:</p>
  
  <pre><code>compile 'com.android.support:appcompat-v7:25.1.0'
  compile 'com.android.support:support-v4:25.1.0'
  compile 'com.android.support:design:25.1.0'
  compile 'com.android.support:recyclerview-v7:25.1.0'
  compile 'com.android.support:cardview-v7:25.1.0'
  </code></pre>
  
  <p>And thise config in module build.gradle:</p>
  
  <pre><code>android {
      compileSdkVersion 25
      buildToolsVersion "25.0.2"
      defaultConfig {
          applicationId "com.mypackage.myproj"
          minSdkVersion 15
          targetSdkVersion 25
          versionCode 1
          versionName "1.0"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
  </code></pre>
  
  <p>The activity extends AppCompatActivity</p>
  
  <p>XML Layout of the Activity:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.design.widget.CoordinatorLayout
      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:id="@+id/main_content"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context="....MainActivity"&gt;
  
      &lt;fragment
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:name="com.google.android.gms.maps.MapFragment"
          android:id="@+id/mapFragment" /&gt;
  
      &lt;android.support.design.widget.FloatingActionButton
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="bottom|right"
          android:layout_margin="10dp"
          android:src="@mipmap/ic_add_fab"
          app:layout_anchor="@id/mapFragment"
          android:id="@+id/fab_add_location"
          app:layout_anchorGravity="bottom|left|end" /&gt;
  
  
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>