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