Karamunting.Android.Akshay2211.Ariana

Xamarin.Android Bindings for Akshay Sharma's Ariana, a multi color background library. Provide Multiple Gradients in ImageViews and Texts.


Keywords
android, android-library, android-ui, color, drawable, droid, gradient, imageview, textview, viewpager, xamarin, xamarin-android, xamarin.android, gradients
License
Apache-2.0
Install
Install-Package Karamunting.Android.Akshay2211.Ariana -Version 1.0.1

Documentation

Ariana [obsolete]

Provide Multiple Gradients in ImageViews and Texts

Demo

Usage

set Gradient background ImageView

    imageView.setBackground(Ariana.drawable(Utils.getColors()),GradientAngle.LEFT_BOTTOM_TO_RIGHT_TOP);
    

set Gradient background for TextView

    Ariana.setGradient(textView,Utils.getColors(),GradientAngle.LEFT_BOTTOM_TO_RIGHT_TOP);
    

add listener to ViewPager for background ImageView

    viewPager.addOnPageChangeListener(new ArianaBackgroundListener(Utils.getColors(), imageView, viewPager));
    

add listener to ViewPager for TextView

    viewPager.addOnPageChangeListener(new ArianaTextListener(Utils.getColors(), textView, viewPager));
    

Download

Grab via Gradle:

compile 'com.fxn769:ariana:1.0'

or Maven:

<dependency>
  <groupId>com.fxn769</groupId>
  <artifactId>ariana</artifactId>
  <version>1.0</version>
  <type>pom</type>
</dependency>

or ivy:

<dependency org='com.fxn769' name='ariana' rev='1.0'>
  <artifact name='ariana' ext='pom' />
</dependency>

License

Licensed under the Apache License, Version 2.0, click here for the full license.

Author & support

This project was created by Akshay Sharma.

If you appreciate my work, consider buying me a cup of ☕ to keep me recharged 🤘 by PayPal

I love using my work and I'm available for contract work. Freelancing helps to maintain and keep my open source projects up to date!

forthebadge