Android 9 Development Cookbook(Third Edition)
上QQ阅读APP看书,第一时间看更新

Using RelativeLayout

As mentioned in the Introduction section, RelativeLayout allows Views to be position-relative to each other and the parent. RelativeLayout is particularly useful for reducing the number of nested layouts, which is very important for reducing memory and processing requirements.