Is there a way to add an editable list to my preferences screen? The user should be able to add and remove entries from the list. Or do I need to make a separate screen and save it manually in the settings?
Edit:
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <PreferenceCategory android:summary="@string/MasterDeviceDescription" android:title="@string/MasterDeviceCat"> <EditTextPreference android:key="@string/MasterIP" android:title="@string/MasterIPLabel"></EditTextPreference> <CheckBoxPreference android:key="@string/ManualDevice" android:title="@string/ManualDeviceLabel"></CheckBoxPreference> </PreferenceCategory> <PreferenceCategory android:title="@string/ManualDeviceCat" android:summary="@string/ManualDeviceDescription"> </PreferenceCategory> </PreferenceScreen>
It should be used from the preferences screen called from the menu.
Edit 2
I have to use it to get an optional list of user-created data for use by the application.
SBoss source share