What's the difference between LinearLayout and LinearLayoutCompat
<p>I know <code>LinearLayoutCompat</code> was realized to give us some newer methods which were added in a higher levels of android to lower levels of Android.</p>
<p>My problem is this method:</p>
<pre><code> linearLayout.setPaddingRelative
</code></pre>
<p>Which was added in API 17 but we should have it in lower API by using the following code right?</p>
<pre><code> linearLayoutCompat.setPaddingRelative
</code></pre>
<p>But my Android Studio still shows the following error on it.</p>
<blockquote>
<p>Call requires API level 17 (current min is 15): android.view.View#setPaddingRelativ</p>
</blockquote>
<p>So what's the difference between <code>LinearLayout</code>and <code>LinearLayoutCompat</code>?</p>