GithubHelp home page GithubHelp logo

davidortinau / flexibility Goto Github PK

View Code? Open in Web Editor NEW
95.0 10.0 31.0 11.6 MB

Xamarin.Forms FlexLayout samples styled in a variety of ways: directly, XAML Styles, XAML Styles in a Resource Dictionary, CSS inline, and CSS loaded from a StyleSheet.

C# 99.47% CSS 0.53%
xamarin-forms stylesheets visual-state-manager css

flexibility's Introduction

Flexibility Sample App

A series of layout exercises to explore layouts that can be achieved with the new Flexbox inspired layout, aptly named FlexLayout. This layout doesn't replace all others, but is most appropriate for:

  • promoting a flat, and thus more performant view hierarchy
  • layouts that depend on spacing and distribution of content
  • layouts that need to adapt to a variety of different screen dimentions

FlexLayout and CSS require Xamarin.Forms 3.0.0+

I also styled each page with a slightly different method, including:

  • direct styling
  • XAML Style blocks
  • XAML Styles loaded form a separate ResourceDictionary
  • CSS loaded from a StyleSheet
  • CSS in the XAML page

The LoginPage also demonstrates the new VisualStateManager.

droid

ios

flexibility's People

Contributors

davidortinau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flexibility's Issues

Unable to restore Nuget packages!

Unable to find version '3.1.0.278271-nightly' of package 'Xamarin.Forms'. https://api.nuget.org/v3/index.json: Package 'Xamarin.Forms.3.1.0.278271-nightly' is not found on source 'https://api.nuget.org/v3/index.json'.

I am using Visual Studio for Mac which gives less control over the packages in the project. Is there a way to set the nuget to restore from prerelease?

Can't Add Floating XAML file to Project?

Hey there,

Looking forward to trying out all these new things in XF so I installed the latest pre-release package and wanted to give the resource dictionary source references a go but when I attempt to add a .xaml file to any folders I get this error:

Microsoft Visual Studio

Cannot add 'Converters\ConverterRD.xaml' to the project, because the path is explicitly excluded from the project (C:\Users\MZ.nuget\packages\xamarin.forms\3.0.0.296286-pre2\build\netstandard2.0\Xamarin.Forms.DefaultItems.targets (15,3)).

OK

Thoughts?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.