Grid Exercise
Grid Exercise
Exercise 1
Page background color: #354242
FontSize = 50
Numeric buttons
FontSize = 30
TextColor = #28282c
BackgroundColor = #fff
BorderRadius = 30 (rounded
corners)
Dial button
BackgroundColor = #96ca2d
Grid
Padding = 40
RowSpacing = 10
ColumnSpacing = 10
Note: In the attached solution file, youll see a lot of cosmetic attributes (eg FontSize,
BackgroundColor, etc) repeated over and over. In the future, youll learn how to define
these styles in one place and reference them in multiple places. This will make the code
cleaner and more maintainable. Youll have to make changes in only one place.
1
Grid By: Mosh Hamedani
Exercise 2
This design is similar to the one in StackLayout exercise. Can you spot their differences?
FontSize = 30
FontAttributes = Bold
HorizontalOptions = Center
FontSize = 18