Relative layout in android | How relative layout works and it's attributes example.

preview_player
Показать описание
Android RelativeLayout enables you to specify how child views are positioned relative to each other. The position of each view can be specified as relative to sibling elements or relative to the parent.

As we discussed, in RelativeLayout we need to specify the position of child views relative to each other or relative to the parent. In case if we didn’t specify the position of child views, by default all child views are positioned to top-left of the layout.In this video we described what is relative layout and how relative layout works in Android Studio. You can also see the attributes of relative layout in this video. Here you can see how android relative layout attributes works.

#relative_layout_in_android #androidrelativelayout
Рекомендации по теме