From da3e9964a4a82a942d7f450e7c89904f5c5aa03f Mon Sep 17 00:00:00 2001 From: Wu-cheng Li Date: Tue, 8 Dec 2009 12:47:21 +0800 Subject: Add flash light setting in video camera. http://b/2118298 --- res/layout/video_camera.xml | 5 +++++ res/values/arrays.xml | 18 ++++++++++++++++++ res/values/strings.xml | 3 +++ res/xml/video_preferences.xml | 8 ++++++++ 4 files changed, 34 insertions(+) (limited to 'res') diff --git a/res/layout/video_camera.xml b/res/layout/video_camera.xml index b6717d8..85f7f07 100644 --- a/res/layout/video_camera.xml +++ b/res/layout/video_camera.xml @@ -72,6 +72,11 @@ android:layout_height="wrap_content"> + diff --git a/res/values/arrays.xml b/res/values/arrays.xml index fe07fba..d8fcec4 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -126,6 +126,22 @@ @drawable/ic_viewfinder_flash_off + + + @string/pref_camera_flashmode_entry_on + @string/pref_camera_flashmode_entry_off + + + + torch + off + + + + @drawable/ic_viewfinder_flash_on + @drawable/ic_viewfinder_flash_off + + off on @@ -139,6 +155,7 @@ auto on + torch off @string/pref_camera_flashmode_no_flash @@ -146,6 +163,7 @@ @drawable/ic_viewfinder_flash_auto @drawable/ic_viewfinder_flash_on + @drawable/ic_viewfinder_flash_on @drawable/ic_viewfinder_flash_off @drawable/ic_viewfinder_empty diff --git a/res/values/strings.xml b/res/values/strings.xml index de74e1e..5cd38e7 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -229,6 +229,9 @@ Flash mode + + off + auto diff --git a/res/xml/video_preferences.xml b/res/xml/video_preferences.xml index 105d1fc..3f8b99d 100644 --- a/res/xml/video_preferences.xml +++ b/res/xml/video_preferences.xml @@ -33,6 +33,14 @@ android:entryValues="@array/pref_camera_video_duration_entryvalues" android:dialogTitle="@string/pref_camera_video_duration_dialogtitle" /> +