Android Compose: Difference between revisions
Jump to navigation
Jump to search
Created page with "=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 we think. If you are a column the main axis is down (y-axis). If you are a row you align on the x-axis." |
|||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
Been a while since I started looking at Android, I makes me happy to do this. Love the technical aspect. | Been a while since I started looking at Android, I makes me happy to do this. Love the technical aspect. | ||
=Starting out= | =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 | 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.<br> | ||
<br> | |||
If you are a column the main axis is down (y-axis). If you are a row you align on the x-axis.<br> | |||
<br> | |||
They provide | |||
*HorizontalAlignment | |||
*verticalArrangement | |||
<br> | |||
If you are a row the main axis is across (x-axis). If you are a column you align on the y-axis.<br> | |||
<br> | |||
They provide | |||
*VerticalAlignment | |||
*HorizontalArrangement |
Latest revision as of 05:45, 7 March 2025
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