title: In current theme failed to find style 'floatingActionButtonStyle'
body: <p>Failed to find style '<code>floatingActionButtonStyle</code>' in current theme.</p>
  
  <p><strong>I even tried doing this in my style.xml</strong></p>
  
  <pre><code>&lt;style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar"&gt;
  &lt;!-- Customize your theme here. --&gt;
  &lt;item name="floatingActionButtonStyle"&gt;@style/Widget.Design.FloatingActionButton&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>It did not work. I used Base.theme because of appcompat problem I was facing . <strong>My appcompat is</strong> - <code>'com.android.support:appcompat-v7:28.0.0-alpha1</code></p>
  
  <p>Here is the XML file where error is shown:</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:id="@+id/activity_main"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:paddingBottom="16dp"
  android:paddingLeft="16dp"
  android:paddingRight="16dp"
  android:paddingTop="16dp"
  
  tools:context=".MainActivity"&gt;
  
  &lt;android.support.design.widget.FloatingActionButton
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:clickable="true"
      android:focusable="true"
      android:src="@drawable/ic_send"
      android:id="@+id/fab"
      android:tint="@android:color/white"
      android:layout_alignParentBottom="true"
      android:layout_alignParentLeft="true"
      android:layout_alignParentStart="true"
      app:fabSize="mini"
      /&gt;
  &lt;android.support.design.widget.TextInputLayout
      android:layout_height="wrap_content"
      android:layout_width="match_parent"
      android:layout_toLeftOf="@+id/fab"
      android:layout_alignParentBottom="true"
  
      android:layout_toStartOf="@+id/fab"
      android:layout_alignParentStart="true"
  
      android:layout_alignParentLeft="true"
      &gt;
  
      &lt;EditText
          android:id="@+id/input"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:hint="Message..."
          android:inputType="text" /&gt;
  
  &lt;/android.support.design.widget.TextInputLayout&gt;
  
  &lt;ListView
      android:id="@+id/list_of_message"
      android:layout_alignParentTop="true"
      android:layout_alignParentStart="true"
      android:layout_above="@+id/fab"
      android:dividerHeight="16dp"
      android:divider="@android:color/transparent"
      android:layout_marginBottom="16dp"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_alignParentLeft="true"&gt;
  
  &lt;/ListView&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Build.gradle(app)</p>
  
  <pre><code>  apply plugin: 'com.android.application'
  
      android {
  
      compileSdkVersion 28
      defaultConfig {
          applicationId "com.example.hp.chatapp"
          minSdkVersion 16
          targetSdkVersion 28
          versionCode 1
          versionName "1.0"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
      }
  dependencies {
  
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation 'com.android.support:appcompat-v7:27.1.1'
      implementation 'com.android.support.constraint:constraint-layout:1.1.2'
      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:1.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  
      //add library
      implementation 'com.android.support:design:27.1.1'
     // implementation 'com.firebaseui:firebase-ui-database:4.1.0'
  
      }
      apply plugin: 'com.google.gms.google-services'
  </code></pre>