title: How to use NumberPicker from QuietlyCoding in preferences?
body: <p>I am trying to use QuietlyCoding NumberPicker because I haven´t found any other but I can´t get it working.
  I imported the library as a project and then I add it to my project:</p>
  
  <p><strong>Preference Activity:</strong></p>
  
  <pre><code>public class MainPrefs extends PreferenceActivity{
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
  
          PreferenceManager preferenceManager = getPreferenceManager();
          preferenceManager.setSharedPreferencesMode(MODE_PRIVATE);
          preferenceManager.setSharedPreferencesName("numberPicker.preferences");
  
          this.addPreferencesFromResource(R.xml.main_preferences);
  
          this.findPreference("SMSSentLimit").setOnPreferenceChangeListener(new OnPreferenceChangeListener(){
              @Override
              public boolean onPreferenceChange(Preference preference, Object newValue) {
                  TrackerService.updateStats(Long.decode(newValue.toString()));
                  return true;
              }
          });
      }
  
  }
  </code></pre>
  
  <p><strong>main_preference.xml</strong>
  
  </p>
  
  <pre><code>&lt;PreferenceCategory android:title="General" &gt;
      &lt;EditTextPreference
          android:defaultValue="0"
          android:title="@string/SMSSentLimitTitle"
          android:key="SMSSentLimit"
          android:summary="@string/SMSSentLimitSummary" 
          android:inputType="number" /&gt;
      &lt;com.michaelnovakjr.numberpicker.NumberPickerPreference
          android:key="demo.preference"
          android:title="Sample Number Picker"
          android:summary="Number picker as a preference"
          picker:defaultValue="15"
          picker:startRange="-50"
          picker:endRange="50" /&gt;
  &lt;/PreferenceCategory&gt;
  </code></pre>
  
  <p></p>
  
  <p>I can´t compile my project on this way, to compile my project I have to edit my .xml on this way:</p>
  
  <pre><code>    &lt;com.michaelnovakjr.numberpicker.NumberPickerPreference
          android:key="demo.preference"
          android:title="Sample Number Picker"
          android:summary="Number picker as a preference" /&gt;
  </code></pre>
  
  <p>Removing defaultValue, startRange and endRange, on this way my project is compiled and I can see my preference but when I click it I get  force close because I didn´t define the values. Why I can add this values ? Have anyone worked whit this library ?</p>
  
  <p>Thank you</p>