Slide 5
Slide 5 text
Font Scale: Normal
Font Scale: Large
DayTile() Technical Approach
There are multiple ways to achieve this. We
want to display either a Row or a Column of
items based on font scale value.
1. One approach is to use an if else
conditional logic to switch between a
Row and Column.
2. Another approach can be to use a
ConstraintLayout, however it will be
hard to maintain all the conditional
constraints.
Since, maintaining the conditional constraints
of the layout will be challenging, therefore, the
first approach of switching between a Row
and a Column seems easy and optimal at this
time.