0% found this document useful (0 votes)
2 views

Mobile Programming

The document discusses issues related to the appearance and functionality of a mobile programming application, specifically focusing on text styles, layout alignment, and control sizes. It suggests using nested stack layouts for better alignment and proposes the use of radio buttons or checkboxes for ordering options. Additionally, it mentions the need to manage NuGet packages to incorporate necessary libraries for improved functionality.

Uploaded by

ahmed.s.g9800
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Mobile Programming

The document discusses issues related to the appearance and functionality of a mobile programming application, specifically focusing on text styles, layout alignment, and control sizes. It suggests using nested stack layouts for better alignment and proposes the use of radio buttons or checkboxes for ordering options. Additionally, it mentions the need to manage NuGet packages to incorporate necessary libraries for improved functionality.

Uploaded by

ahmed.s.g9800
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 53

COME308 Mobile Programing

Prepared By: Dr. Ihab ELAFF


Views does not Looks good !!
Properties to Change Text Style:
• Size: FontSize="14"
• Color: TextColor="White"
• BackgroundColor: BackgroundColor=“Red“
• Font Style: FontAttributes=“Bold“
FontAttributes="Bold Italic"
• Font: … ???? Later (different way for each
platform)
Views still does not Looks good !!
Putting the Label and the Entry at the same
line using Nested Stack Layout :
<StackLayout Orientation="Horizontal">
<Label Text="X"
FontSize="20"
TextColor="White"
BackgroundColor="Maroon"
FontAttributes="Bold Italic"/>
<Entry x:Name="XX"/>
</StackLayout>
Label and Entry are small in Width
X needs to be aligned in the center
Need some margins on the application
boarders
Entry font size needs to be larger
After Before
Adjust Button Size
Button Width is not changing !!.
Button Width Horizontal Options is “Fill”
Apply Same format for Y and Result
Merge X and Y on the same line
Alignment to center
With TryParse converts wrong entry to Zero
• To add Ascending and Descending
ordering, it is required Radio Button

• Another simple way is to use


CheckBox
It would be difficult to convert checkboxes
into radio buttons using C# !!!
What is the solution ??
• Tools >> Nuget Package Manager
>> Manage Nuget Packages for
Solution...
• Search for : Xamarin.Forms.InputKit
xmlns:input="clr-namespace:Plugin.InputKit.Shared.Controls;assembly=Plugin.InputKit"

You might also like