Introducing the standard UI login experience
Held within the source code examples in this chapter, you will find a simple Xamarin.Forms
application called
BasicUI. All the code for this section is taken from there. It is very minimal. When executed, you will see the following:
While these are purely functional, they don't exactly look nice. The problem is that we can't change the look and feel very easily. This is due to the technology behind Xamarin Forms.
Abstract this, abstract that
If you think of any user interface, you will find a lot of commonality, as given in the following table:
UI element |
Android name |
iOS name |
---|---|---|
Label Editable text Image Table View Dropdown Lists
|
TextView EditView ImageView Table Layout View Spinner ListView
|
UILabel UITextView UITextField UIImageView UITableView UIView UIPickerView UITableView
|
Each of these will have their own properties (such as size and color), and each will have their own events. The point is that there is...