Android Compose

From bibbleWiki
Jump to navigation Jump to search

Introduction

Been a while since I started looking at Android, I makes me happy to do this. Love the technical aspect.

Starting out

I find it really hard to understand the approach to Alignment when we deal with rows and columns but doing the course on Compose finally makes sense.

If you are a column the main axis is down (y-axis). If you are a row you align on the x-axis.

They provide

  • HorizontalAlignment
  • verticalArrangement


If you are a row the main axis is across (x-axis). If you are a column you align on the y-axis.

They provide

  • VerticalAlignment
  • HorizontalArrangement