Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Inclass Two 1. Create a Xamarin.Forms Inclass2 project. 2. Create a TabbedPage and link your App class to it 3. Create a ContentPage named LabelDemo
Inclass Two 1. Create a Xamarin.Forms Inclass2 project. 2. Create a TabbedPage and link your App class to it 3. Create a ContentPage named LabelDemo that is structured as follows and add it to the TabbedPage. A ContentPage that contains a StackLayout that contains two Labels. One for the heading and one for the text. The heading Label object should have the following characteristics. . Centered horizontally. The font size should be 50. The text should be bold and italic. The text content is shown below. The text Label object should have the following characteristics. The vertical layout should be CenterAndExpand. The font size is medium. . The text content is shown below. Label . Xunto y bocht www O Windows 4. Create a ContentPage named BoxViewDemo that is structured as follows and add it to the TabbedPage. A ContentPage that contains a StackLayout that contains a Label and a BoxView. The heading Label object should have the following characteristics. Centered horizontally. The font size should be 50. The text should be bold and italic. The text content is shown below. . . The BoxView object should have the following characteristics. . The color should be Red. . The width and height should be 150. . It should be centered horizontally. The vertical layout is CenterAndExpand. BoxView 5. Create a ContentPage named Frame Demo that is structured as follows and add it to the TabbedPage. A ContentPage that contains a StackLayout that contains a Label and a Frame. The Frame will contain a Label The heading Label object should have the following characteristics. Centered horizontally. The font size should be 50. The text should be bold and italic. The text content is shown below. The Frame object should have the following characteristics. The color of the background is yellow Centered horizontally, The vertical layout is CenterAndExpand. . The Label contained in the Frame should have the following characteristics. The color of the text should be white. The color of the background should be teal. The font size should be set to large. The text content is shown below. Frame thalamicamebomo . 6. Create a ContentPage named StackLayoutDemo that is structured as follows and add it to the TabbedPage. A ContentPage that contains a StackLayout that contains a Label and two additional StackLayouts. The heading Label object should have the following characteristics. Centered horizontally. The font size should be 40. The text should be bold and italic. The text content is shown below. The first additional StackLayout contains eight Labels and has the following characteristics. The vertical layout is FillAndExpand. The spacing is 0. The margin is 20 Label 1 has the following characteristics. Text set to "StackLayout" Horizontal layout set to Start. Label 2 has the following characteristics. Text set to "stacks its children" Horizontal layout set to Center. Label 3 has the following characteristics. Text set to "vertically" Horizontal layout set to End. . Label 4 has the following characteristics. Text set to "by default," Horizontal layout set to Center. Label 5 has the following characteristics. Text set to "but horizontal placement" Horizontal layout set to Start. Label 6 has the following characteristics. Text set to "can be controlled with" Horizontal layout set to Center. Label 7 has the following characteristics. Text set to "the HorizontalOptions property." Horizontal layout set to End. Label 8 has the following characteristics. Text set to "An Expand option allows one or more children to occupy the area within the remaining space of the StackLayout after it's been sized to the height of its parent." Horizontal layout set to End. The vertical layout is CenterAndExpand. The second additional StackLayout contains three Labels and has the following characteristics. The spacing is 0. The orientation is horizontal. Label 1 has the following characteristics. Text set to "Stacking" Label 2 has the following characteristics. Text set to "can also be" Horizontal layout set to CenterAndExpand. Label 3 has the following characteristics. Text set to "horizontal." StackLayout Demo 7. The final app should look like the following with the Label page the default page. Label want bere down
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started