From 12f4b9a20982fa31806385d8e76f1d6da8320739 Mon Sep 17 00:00:00 2001 From: Owen Lin Date: Mon, 5 Oct 2009 18:13:06 -0700 Subject: Show flash-off indicator on the view-finder. For those devices without flash support, we will use a new mode: NO_FLASH_MODE and show no indicator on the view finder. --- res/layout/camera.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res/layout') diff --git a/res/layout/camera.xml b/res/layout/camera.xml index 8984a0c..b9530e6 100644 --- a/res/layout/camera.xml +++ b/res/layout/camera.xml @@ -80,7 +80,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/flash_icon" - camera:modes="@array/pref_camera_flashmode_entryvalues" + camera:modes="@array/flash_modes" camera:icons="@array/flash_icons" android:visibility="visible"/> -- cgit v1.1