Which Layout should I use?


Hello everybody I have a quick question which of the layouts for is best for performance and for smaller apk size ??? StackLayout, FlexLayout or GridLayout ???


First of all, the layout doesn’t decide your APK size. The size is all about how many plugins / libraries / images / files you are bundling with your app.

Also the layout could be decided only based on your design. If you have a 3 / 4 column design, you may use GridLayout. If you are going to have items stacked one after another, it won’t make sense to have GridLayout and assign rows, you should use StackLayout there.

In order to choose right layout, you must get familiar with how layouts work. Below is a nice interactive tutorial for checking layouts. You will also find useful resources from docs.