summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorNipun Kwatra <nkwatra@google.com>2010-09-14 21:14:25 -0700
committerNipun Kwatra <nkwatra@google.com>2010-09-15 15:51:46 -0700
commitf6a9ed7f6b08d0694795adc6ea6fce999e8cab87 (patch)
treeaa9e103d1efd32be117cbf16d6d821712fd6c619 /res/xml
parentb5ec9823f642decda6467e55dc1fd806d000bb75 (diff)
downloadLegacyCamera-f6a9ed7f6b08d0694795adc6ea6fce999e8cab87.zip
LegacyCamera-f6a9ed7f6b08d0694795adc6ea6fce999e8cab87.tar.gz
LegacyCamera-f6a9ed7f6b08d0694795adc6ea6fce999e8cab87.tar.bz2
Adding ui for setting frame capture interval.
Currently adding a bunch of discrete options for the user to choose from. - Modified BasicIndicator class to allow ListPreference as well as IconListPreference. - Modified addIndicator() in HeadUpDisplay to take ListPreference instead of IconListPreference. - Modified GpsIndicator::getIcon() to return BitmapTexture instead of ResourceTexture as its base class BasicIndicator does the same now. - Fixed default value of time lapse quality. Change-Id: I9f01d8c77e9a803219c4661e10731fabbecf65a9
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/video_preferences.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/xml/video_preferences.xml b/res/xml/video_preferences.xml
index f803c32..5f0e9e7 100644
--- a/res/xml/video_preferences.xml
+++ b/res/xml/video_preferences.xml
@@ -32,6 +32,12 @@
camera:largeIcons="@array/video_time_lapse_quality_icons"
camera:entries="@array/pref_video_time_lapse_quality_entries"
camera:entryValues="@array/pref_video_time_lapse_quality_entryvalues"/>
+ <ListPreference
+ camera:key="pref_video_time_lapse_frame_interval_key"
+ camera:defaultValue="@string/pref_video_time_lapse_frame_interval_default"
+ camera:title="@string/pref_video_time_lapse_frame_interval_title"
+ camera:entries="@array/pref_video_time_lapse_frame_interval_entries"
+ camera:entryValues="@array/pref_video_time_lapse_frame_interval_entryvalues"/>
<IconListPreference
camera:key="pref_camera_video_flashmode_key"
camera:defaultValue="@string/pref_camera_video_flashmode_default"