# Create region in Android studio

> Creating a region is easy, just start a comment with region and end with endregion:

- Canonical: https://preview.arshadmehmood.com/today-i-learned/android/create-region-android-studio/
- Section: android
- Author: Arshad Mehmood

Creating a region is easy, just start a comment with `region` and end with `endregion`:

```
//region Set up views
setContentView(R.layout.layout_activity);
//endregion
```

