Manage your torrents from your Android device
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dan Pasanen 23889ef6b8 clean up all trailing whitespace in all text files 10 years ago
..
res clean up all trailing whitespace in all text files 10 years ago
src/net/margaritov/preference/colorpicker clean up all trailing whitespace in all text files 10 years ago
.classpath Allow filtering (with text entry) on torrents list.\nUpgraded to Eclipse ADT tools v22. 12 years ago
.gitattributes Creating new preferences screens. 12 years ago
.gitignore Creating new preferences screens. 12 years ago
.project Creating new preferences screens. 12 years ago
AndroidManifest.xml clean up all trailing whitespace in all text files 10 years ago
CHANGELOG.rst Creating new preferences screens. 12 years ago
LICENSE Creating new preferences screens. 12 years ago
README.rst Creating new preferences screens. 12 years ago
ant.properties Added Ant (command line) build configuration. 12 years ago
build.xml Updated manifest and changelog for new 2.1.0 release. 11 years ago
proguard-project.txt Added Ant (command line) build configuration. 12 years ago
proguard.cfg Creating new preferences screens. 12 years ago
project.properties Adde max transfer speeds picker.\nBumbed build target to API level 14. 11 years ago
screen_1.png Creating new preferences screens. 12 years ago
screen_2.png Creating new preferences screens. 12 years ago

README.rst

=====================
ColorPickerPreference
=====================

Generally used classes by Daniel Nilsson.
ColorPickerPreference class by Sergey Margaritov.
Packed by Sergey Margaritov.

Features
========

* Color Area
* Hue Slider
* Alpha Slider (disabled by default)
* Old & New Color
* Color Preview in Preferences List

Requirements
============

Tested with APIv7, but maybe will work with early versions

Usage
=====

You can see some tests inside

::

<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="color1"
android:title="@string/color1_title"
android:summary="@string/color1_summary"
android:defaultValue="@color/pumpkin_orange" <!-- integer resources are also accepted -->
alphaSlider="true" <!-- enable alpha slider via XML -->
/>

To enable Alpha Slider in your code use function:
::
setAlphaSliderEnabled(boolean enable)

Screens
=======

* .. image:: https://github.com/attenzione/android-ColorPickerPreference/raw/master/screen_1.png

* .. image:: https://github.com/attenzione/android-ColorPickerPreference/raw/master/screen_2.png