sirajsumra92 / range-seek-bar

Automatically exported from code.google.com/p/range-seek-bar
0 stars 0 forks source link

Expansion upon xml support #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Purpose of code changes on this branch:
To expand upon the a previous implementation to support defining from within 
xml (https://code.google.com/p/range-seek-bar/issues/detail?id=3).

When reviewing my code changes, please focus on:
New xml enum attribute "type" was created that contains the various supported 
types, a convenience function was added to the enum to help translate between 
this the attribute and the enum.
New xml attribute "notifyWhileDragging" was added to define this value from 
within xml

attr.xml goes in the "res/values" folder

Note I've only tested in my own project with a few of the supported types, more 
testing will be needed for use-cases involving the other types

Original issue reported on code.google.com by jasonmpr...@gmail.com on 7 Feb 2013 at 10:55

Attachments: