title: Number Preferences in Preference Activity in Android
body: <p>What I want to do is I am working on a game of life program.  I want to take the time delay and make it a preference, but I want to make it available for people to type in a specific time.  The number can be in miliseconds or seconds.  </p>
  
  <p>However I'm a little stuck on how to proceed, I haven't been able to find a simple preference that already handles this, but there might be one.  Is there an easy way to make this preference and confirm that the entered data is an integer or afloat?</p>