title: Android Lint not detect UnusedAttribute
body: <p>In an empty project(create from new project),Android Studio can not detect lint issue "UnusedAttribute", neither code editor display hint or run Ananlyze manually(the item is checked).</p>
  
  <p>And there is <strong>no lint.xml</strong> or lint config in build.gradle file in project.</p>
  
  <p><a href="https://i.stack.imgur.com/Xgmd1.png" rel="nofollow noreferrer">android studio screenshot</a></p>
  
  <p>my code is </p>
  
  <pre><code>&lt;TextView
      android:layout_width="0dp"
      android:layout_height="wrap_content"
      android:text="Hello World!"
      android:paddingHorizontal="52dp"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintLeft_toLeftOf="parent"
      app:layout_constraintRight_toRightOf="parent"
      app:layout_constraintTop_toTopOf="parent" /&gt;
  </code></pre>
  
  <p><strong>android:paddingHorizontal</strong> is introduced in version 26, and my minSdkVersion is 16.</p>
  
  <p>Also, command line </p>
  
  <pre><code>./gradlew :app:lintDebug
  </code></pre>
  
  <p>output:<strong>lint-results-debug.html</strong> also show no detect "UnusedAttribute" problem.</p>
  
  <p>I think it is my env or ide problem, but do not know what is it.
  Anyone have this problem?</p>
  
  <p>Additional information:</p>
  
  <p>I want a clean project to figure out this problem and create empty project. In my production project Android studio also can not detect <strong>android:paddingHorizontal</strong> issue, but can detect <strong>android:networkSecurityConfig</strong>, and command line output is here:</p>
  
  <p><a href="https://i.stack.imgur.com/7k5C2.png" rel="nofollow noreferrer">lint-results-debug.html screenshot</a></p>