Files
sweet_dreams/SweetDreamsLib/res/xml/settings_lite.xml
ricky barrette bb5957b7d8 SweetDreamsFull.java
renamed all field variables to follow proper syntax
created isFull a protected static field boolean to change certain things between full and lite 
i set the default run time to 30 minutes

created sounds_lite.xml us be used with sweet dreams lite

created settings_lite.xml to be used for settings for the lite version

TimePickerPreference.java
i changed the method for saving time to a method that only uses one preference key\
i set the default time to 30 minutes
2011-02-11 14:04:53 +00:00

38 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
android:title="White Noise Options">
<ListPreference android:dialogTitle="Pick A Sound"
android:entryValues="@array/sounds_lite"
android:entries="@array/sounds_lite"
android:key="sounds"
android:title="Sounds"/>
</PreferenceCategory>
<PreferenceCategory
android:title="Timer Options">
<CheckBoxPreference
android:title="Enable"
android:summary="Enable Timer"
android:defaultValue="false"
android:key="timer_enabled"
/>
<com.TwentyCodes.android.SweetDreamsLib.TimePickerPreference
android:title="Timer"
android:enabled="false"
android:key="timer_length"
/>
<CheckBoxPreference
android:title="Exit On Finish"
android:summary="Closes Application When Timer Finishes"
android:defaultValue="false"
android:key="timer_exit_on_finish"
android:dependency="timer_enabled"
/>
</PreferenceCategory>
</PreferenceScreen>