title: Crash on Android 10 (InflateException in layout/abc_screen_simple line #17)
body: <p>My application works fine from Android 4.3 until Android 9 Pie, but my application doesn't work on Android 10 (Q API 29) and crashes. This is my logcat - why this is happening?</p>
  
  <pre><code>java.lang.RuntimeException: Unable to start activity 
       ComponentInfo{ir.mahdi.circulars/ir.mahdi.circulars.MainActivity}: 
       android.view.InflateException: Binary XML file line #17 
       in ir.mahdi.circulars:layout/abc_screen_simple: Binary XML file line #17 
       in ir.mahdi.circulars:layout/abc_screen_simple: 
           Error inflating class androidx.appcompat.widget.FitWindowsLinearLayout
  </code></pre>
  
  <p>and this is my mainActivity.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;androidx.coordinatorlayout.widget.CoordinatorLayout 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/white"
      android:layoutDirection="ltr"
      tools:context=".MainActivity"&gt;
  
  
  &lt;/androidx.coordinatorlayout.widget.CoordinatorLayout&gt;
  </code></pre>
  
  <p>update</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 29
      defaultConfig {
          minSdkVersion 16
          targetSdkVersion 29
          multiDexEnabled true
          testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
          }
      } }
  
  dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation 'androidx.appcompat:appcompat:1.0.0'
      implementation 'com.google.android.material:material:1.0.0'
      implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'androidx.test:runner:1.2.0'
      androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' }
  </code></pre>