I checked the documentation of EditTextPreference http://developer.android.com/reference/android/preference/EditTextPreference.html
But I failed to found the android:inputType attribute there. Then how it can be used in this code segment
<EditTextPreference
android:key="edit"
android:title="@string/location1"
android:summary="@string/summary1"
android:dialogTitle="@string/location1"
android:dialogMessage="@string/message"
android:inputType="text"
android:singleLine="true"
/>
Same doubt for the android:singleLine attribute.