Giter Site home page Giter Site logo

luismts / materialdesigncontrolsplugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from horussoftwareuy/materialdesigncontrolsplugin

0.0 1.0 0.0 166.22 MB

Material Design Controls Plugin for Xamarin.Forms

License: MIT License

C# 99.93% Shell 0.07%

materialdesigncontrolsplugin's Introduction

MaterialDesignControls Plugin for Xamarin Forms

MaterialDesignControls Plugin for Xamarin Forms is a collection of Xamarin.Forms controls that apply the Material Design Guidelines

Controls Index

Setup

Platform Support

Platform Version
Xamarin.iOS iOS 8+
Xamarin.Android API 16+
Xamarin.Forms >= 4.4.0.991864

API Usage

You must add this line to your platform specific project (AppDelegate.cs, MainActivity.cs) before you use MaterialDesignControls:

if you're using iOS:

Plugin.MaterialDesignControls.iOS.Renderer.Init();           

or if you're using Android:

Plugin.MaterialDesignControls.Android.Renderer.Init();           

You must add this namespace to your xaml files:

xmlns:material="clr-namespace:Plugin.MaterialDesignControls;assembly=Plugin.MaterialDesignControls"

Controls

MaterialButton

Buttons allow users to take actions, and make choices, with a single tap.

View documentation


MaterialChips & MaterialChipsGroup

Chips are compact elements that represent an input, attribute, or action.

View documentation


MaterialDatePicker

Date pickers let users select a date.

View documentation


MaterialEditor

Text fields let users enter and edit text.

View documentation


MaterialEntry

Text fields let users enter and edit text.

View documentation


MaterialCodeEntry

Code fields let users enter and edit pin codes.

View documentation


MaterialField

Displays a value with its respective label in read-only format.

View documentation


MaterialPicker

Pickers let users select an option.

View documentation


MaterialDoublePicker

Double pickers let users select two options in the same dialog.

View documentation


MaterialSelection

Selection let users select an option.

View documentation


MaterialTimePicker

Time pickers let users select a time.

View documentation


MaterialRating

Displays a rating control

View documentation


MaterialSlider

Displays a slider control

View documentation


MaterialSegmented

Displays a segmented control

View documentation


MaterialDivider

A divider is a thin line that groups content in lists and layouts.

View documentation


MaterialRadioButtons

Displays a radiobuttons control

View documentation


MaterialFloatingButton

Displays a floating button

View documentation


MaterialCheckbox

Displays a checkbox control

View documentation


MaterialSwitch

Switches toggle the state of a single item on or off.

View documentation



Effects

TouchAndPressEffect

Effect to detect the different types of taps on a view: Pressing, Released and Canceled can be detected.

Example

<MyControl.Effects>
    <material:TouchAndPressEffect />
</MyControl.Effects>
public class MyControl : ContentView, ITouchAndPressEffectConsumer
{
    public void ConsumeEvent(EventType gestureType)
    {
        TouchAndPressAnimation.Animate(this, gestureType);
    }
}

Demo

https://github.com/HorusSoftwareUY/MaterialDesignControlsPlugin/tree/master/example

Developed by

Contributions

Contributions are welcome! If you find a bug want a feature added please report it.

If you want to contribute code please file an issue, create a branch, and file a pull request.

License

MIT License - see LICENSE.txt

materialdesigncontrolsplugin's People

Contributors

agustinbonilla avatar seba47 avatar agaldanaw2 avatar clayachahui avatar

Watchers

James Cloos avatar

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.