I have made a Preference Screen which I want to make function able.
Sorry I can't post any Screen Shot of the Preference Screen as I have not gain required Reputation.
Here's my PreferenceScreen code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
<PreferenceCategory android:title="Notifications">
<RingtonePreference
android:summary="Choose a Ringtone"
android:title="Notification Ringtone"
android:key="ringtonePref" />
<ListPreference
android:title="Notification Timer"
android:summary="Select when to Notify"
android:dialogTitle="Show Notification after every:"
android:positiveButtonText="OK"
android:negativeButtonText="Cancel"
android:entries="@array/entries"
android:entryValues="@array/entries"
android:key="listPrefs" />
<ListPreference
android:title="LED Color"
android:summary="Choose LED Color"
android:positiveButtonText="OK"
android:negativeButtonText="Cancel"
android:entries="@array/colors"
android:entryValues="@array/colors"
android:key="listPrefs2" />
<CheckBoxPreference
android:title="LED"
android:defaultValue="true"
android:summary="Flash LED or Not"
android:key="checkBoxPrefs2"/>
<CheckBoxPreference
android:title="Vibrate"
android:defaultValue="true"
android:summary="Vibrate on receiving Notification"
android:key="checkBoxPrefs3" />
</PreferenceCategory>
</PreferenceScreen>
for ex - I want that when user select the time interval to be notified it should be get notified at that time interval only & like when user uncheck the Vibration, the vibration should stop.
I hope you all have understood what I i want.
Please HELP!