Using custom renderers to change the look and feel of views
A user interface built with Xamarin.Forms looks and feels native because it is native. Each of the available controls are rendered in the equivalent currently running platform view; for example, an Entry view is a UITextField
in iOS, an EditText
in Android, and a TextBox
in Windows Phone.
The great thing is that you can also create your own, or extend the existing ones. In this section, we will see how you can extend the view and customize the look and feel of the available Entry view.
How to do it…
- Start by creating a cross-platform project in Xamarin Studio or Visual Studio. For this example, we used Visual Studio because we don't have to do extra work to create and connect the Windows ...
Get Xamarin: Cross-Platform Mobile Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.