Pranav Ainavolu
Microsoft User Group Hyderabad
@a_pranav | http://pranavon.net
Designing cross-platform User Interface
wit...
Portable Class Libraries
Xamarin + Xamarin.Forms
With Xamarin.Forms:
more code-sharing, native controls
Traditional Xamarin approach
Shared UI Code
Xamarin + Xamarin.Forms
Shared UI Code
Quickly and easily build native user
interfaces using shared code
Xamarin.Forms ele...
Pages
Content MasterDetail Navigation Tabbed Carousel
Layouts
Stack Absolute Relative Grid ContentView ScrollView Frame
Controls
ActivityIndicator BoxView Button DatePicker Editor
Entry Image Label ListView Map
OpenGLView Picker ProgressBar S...
Xamarin.Forms in Action
DEMO
Get Started Today: xamarin.com/download
Upcoming SlideShare
Loading in …5
×

Designing cross-platform User Interface with native performance using Xamarin.Forms

1,607 views

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,607
On SlideShare
0
From Embeds
0
Number of Embeds
19
Actions
Shares
0
Downloads
57
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • We are here to talk about all the brand new features packed into Xamarin 3.
    Xamarin 3 is a combination of over a years worth of Xamarin development and everything we demo here today is what you get when you install or update xamarin today!
    Before we get into Xamarin 3 let’s talk a bit out Xamarin and how
  • Xamarin Forms is a new set of APIs allowing you to quickly and easily write shared User Interface code that is still rendered natively on each platform, while still providing direct access to the underlying SDKs if you need it.
  • We see here the Xamarin approach we talked about earlier
    This enables you to be highly productive, share code, but build out UI on each platform and access platform APIs
    With Xamarin.Forms you now have a nice Shared UI Code layer, but still access to platform APIs
    Entire optional Technology
    You can start from native, pick a few screens, or start with forms, and replace with native later
  • I
  • First you have a set of pages for each screen of your application
    There are things like Content, and MasterDetail which gives you a nice flyout
    With a tabbed view you get the correct look on each platform
    iOS on bottom, Android on top, and on WP you have a Pivot control
  • Inside of a page are layouts
    A lot of options from something simple like a stack panel to complex and powerful grids
  • You have more than 40 controls, layouts, and pages to mix and match from.
    These are all of the controls you have out of the box, you can of course create your own.
    What is unique is you get the native control and have access to it.
    Consider an Entry Field
    On iOS it is mapped to UITextField
    Android it is EditText
    Windows Phoen it is a TextBox
  • If you need to you can watch a short video here
  • Designing cross-platform User Interface with native performance using Xamarin.Forms

    1. 1. Pranav Ainavolu Microsoft User Group Hyderabad @a_pranav | http://pranavon.net Designing cross-platform User Interface with native performance using Xamarin.Forms
    2. 2. Portable Class Libraries
    3. 3. Xamarin + Xamarin.Forms With Xamarin.Forms: more code-sharing, native controls Traditional Xamarin approach Shared UI Code
    4. 4. Xamarin + Xamarin.Forms Shared UI Code Quickly and easily build native user interfaces using shared code Xamarin.Forms elements map to native controls and behaviors Mix-and-match Xamarin.Forms with native APIs
    5. 5. Pages Content MasterDetail Navigation Tabbed Carousel
    6. 6. Layouts Stack Absolute Relative Grid ContentView ScrollView Frame
    7. 7. Controls ActivityIndicator BoxView Button DatePicker Editor Entry Image Label ListView Map OpenGLView Picker ProgressBar SearchBar Slider Stepper TableView TimePicker WebView EntryCell ImageCell SwitchCell TextCell ViewCell
    8. 8. Xamarin.Forms in Action
    9. 9. DEMO
    10. 10. Get Started Today: xamarin.com/download

    ×