In some of our examples we use RelativeLayout to setup activities or layouts. We do this to make it simpler to start a project and show a sample. If our sample is using RelativeLayout you can use this steps to set it up.
Learn how you can start creating apps with Flutter.
Learn more
We will prepare our activity for use with RelativeLayout
1. Open Layout Editor for MainActivity. You can read more about Layout Editor on our blog.

2. Just to make it simple for us to add buttons on screen, we will change the ConstraintLayout to RelativeLayout
- Switch to text mode

- Select tag for constraint layout and rename it


- Switch to design mode again