Reputation: 37
I am learning Android Studio and I was reading about anchor view ID, The documentation didn't give any further information and I was curious to have some guidance on this matter. All They mentioned is that it can be appended as a parameter to the android:layout_below or any other layout alignment attributes in the Relative Layout
Upvotes: 0
Views: 917
Reputation: 3192
By "anchor" it is meant, that your view will be positioned relatively to another view called "anchor view". For example,
android:layout_below="@id/anchor_view"
means, that your view will be positioned below view with id "@id/anchor_view".
Upvotes: 1