title: Preference: can I find the input type when the preference item is clicked
body: <p>The Preference Screen XML; note that one preference is "numberDecimal".</p>
  
  <pre><code>&lt;PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" &gt;
      &lt;EditTextPreference
          android:inputType="textCapWords"
          android:key="tsName"
          android:title="@string/pref_common_test_name_title" /&gt;
      &lt;EditTextPreference
          android:inputType="numberDecimal"
          android:key="tsSledWeightValue"
          android:title="@string/pref_cof_test_sled_weight" /&gt;
  &lt;/PreferenceScreen&gt;
  </code></pre>
  
  <p>The Preference onClick method: now I want to determine if that preference's input type is "numberDecimal", because I want to call custom editor.</p>
  
  <pre><code>private static Preference.OnPreferenceClickListener sBindEditorToPreferenceClickListener = new Preference.OnPreferenceClickListener() {
      public boolean onPreferenceClick(Preference preference) {
          boolean isHandled = false;
          if (preference instanceof EditTextPreference) {
  // *******  CAN I FIND THE PREFERENCE'S "inputType" HERE?
  // ******* EXAMPLE: if(preference.inputType == android:numberDecimal) {}
          }
          return isHandled;
     }
  };
  </code></pre>
  
  <p>EDIT: Or is there a better way to implement this?</p>