How to add a TextViewPreference

285 views Asked by At

Is there a way to add a TextView into a PreferenceScreen. I tryed somethink like

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >

        <EditTextPreference
            android:key="key"
            android:selectable="false"
            android:summary="summary"
            android:title="title" >
        </EditTextPreference>

</PreferenceScreen>

The idea is to set the EditText not selectable. But as I suspect, this isn't very elegant.

0

There are 0 answers