title: View class androidx.appcompat.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant)
body: <p><code>View class androidx.appcompat.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).</code></p>
  <p>Got this message in Logcat after upgrading to <code>androidx.appcompat:appcompat:1.2.0</code></p>
  <p>I don't use styles.
  Why do I get it?</p>
  <pre><code>&lt;androidx.appcompat.widget.AppCompatTextView
          android:id=&quot;@+id/title&quot;
          android:layout_width=&quot;80dp&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:gravity=&quot;top|center_horizontal&quot;
          android:maxWidth=&quot;80dp&quot;
          android:paddingLeft=&quot;2dp&quot;
          android:paddingRight=&quot;2dp&quot;
          android:lines=&quot;2&quot;
          android:textSize=&quot;14dp&quot;
          android:layout_gravity=&quot;top|center_horizontal&quot;/&gt;
  </code></pre>
  <p>Also, this TextView is not part of an Activity, but added to the WindowManager from a Service</p>