While using Android Studio, I came across constraint layout. I used the below mentioned link to understand all about it:
but I still have a small question. In RelativeLayout, we use android:layout_alignParentBottom
, android:layout_alignParentTop
, etc. They all start with android
. But in ConstraintLayout, we have to use app:layout_constraintLeft_toRightOf
, etc.
Can you explain me the difference between using app
and android
prefix and their importance?