RelativeLayout Exercise
RelativeLayout Exercise
Exercise
Quite often, you can interchange between
absolute or relative layout.
• Banner
• BackgroundColor = “#f7f7f7”
• Should take 1/3 of the page height.
• $11.95 label
• TextColor = “#33353a”
• FontSize = “60”
• FontAttributes = “Bold”
1
Relative Layout By: Mosh Hamedani
• Button
• BackgroundColor = “#1695A3”
• BorderRadius = “15”
• HeightRequest = “30”
• FontSize = “15”
• FontAttributes = “Bold”
• StackLayout that contains the description
• Should be 30 units below the parent.
• “Why pay for credit” label
• FontSize = “15”
• FontAttributes = “Bold”
• Description label
• FontSize = “13”