summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2010-09-08 16:37:55 -0700
committerWu-cheng Li <wuchengli@google.com>2010-09-08 17:35:28 -0700
commit7add00693c1ec910bc8700fe046ee18cbe4e1148 (patch)
treea9554e92997bd8803ae35fc8352b3a242b6960e3 /res
parent72569f22ad072666ff313d5eecfd25e8b653bd54 (diff)
downloadLegacyCamera-7add00693c1ec910bc8700fe046ee18cbe4e1148.zip
LegacyCamera-7add00693c1ec910bc8700fe046ee18cbe4e1148.tar.gz
LegacyCamera-7add00693c1ec910bc8700fe046ee18cbe4e1148.tar.bz2
Add switch camera on-screen button.
Change-Id: I1564fdf0f7f70f15278bdbdee6d9b5c8a6e683e0
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/ic_menuselect_camera_facing_back.pngbin0 -> 156 bytes
-rw-r--r--res/drawable-hdpi/ic_menuselect_camera_facing_front.pngbin0 -> 156 bytes
-rw-r--r--res/drawable-hdpi/ic_viewfinder_camera_facing_back.pngbin0 -> 1627 bytes
-rw-r--r--res/drawable-hdpi/ic_viewfinder_camera_facing_front.pngbin0 -> 1627 bytes
-rw-r--r--res/drawable-mdpi/ic_menuselect_camera_facing_back.pngbin0 -> 152 bytes
-rw-r--r--res/drawable-mdpi/ic_menuselect_camera_facing_front.pngbin0 -> 152 bytes
-rw-r--r--res/drawable-mdpi/ic_viewfinder_camera_facing_back.pngbin0 -> 1017 bytes
-rw-r--r--res/drawable-mdpi/ic_viewfinder_camera_facing_front.pngbin0 -> 1017 bytes
-rw-r--r--res/values/strings.xml2
-rw-r--r--res/xml/camera_preferences.xml4
-rw-r--r--res/xml/video_preferences.xml4
11 files changed, 10 insertions, 0 deletions
diff --git a/res/drawable-hdpi/ic_menuselect_camera_facing_back.png b/res/drawable-hdpi/ic_menuselect_camera_facing_back.png
new file mode 100644
index 0000000..53fcd8e
--- /dev/null
+++ b/res/drawable-hdpi/ic_menuselect_camera_facing_back.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_menuselect_camera_facing_front.png b/res/drawable-hdpi/ic_menuselect_camera_facing_front.png
new file mode 100644
index 0000000..53fcd8e
--- /dev/null
+++ b/res/drawable-hdpi/ic_menuselect_camera_facing_front.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_viewfinder_camera_facing_back.png b/res/drawable-hdpi/ic_viewfinder_camera_facing_back.png
new file mode 100644
index 0000000..1a53019
--- /dev/null
+++ b/res/drawable-hdpi/ic_viewfinder_camera_facing_back.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_viewfinder_camera_facing_front.png b/res/drawable-hdpi/ic_viewfinder_camera_facing_front.png
new file mode 100644
index 0000000..1a53019
--- /dev/null
+++ b/res/drawable-hdpi/ic_viewfinder_camera_facing_front.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_menuselect_camera_facing_back.png b/res/drawable-mdpi/ic_menuselect_camera_facing_back.png
new file mode 100644
index 0000000..023a5f7
--- /dev/null
+++ b/res/drawable-mdpi/ic_menuselect_camera_facing_back.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_menuselect_camera_facing_front.png b/res/drawable-mdpi/ic_menuselect_camera_facing_front.png
new file mode 100644
index 0000000..023a5f7
--- /dev/null
+++ b/res/drawable-mdpi/ic_menuselect_camera_facing_front.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_viewfinder_camera_facing_back.png b/res/drawable-mdpi/ic_viewfinder_camera_facing_back.png
new file mode 100644
index 0000000..49b6ec9
--- /dev/null
+++ b/res/drawable-mdpi/ic_viewfinder_camera_facing_back.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_viewfinder_camera_facing_front.png b/res/drawable-mdpi/ic_viewfinder_camera_facing_front.png
new file mode 100644
index 0000000..49b6ec9
--- /dev/null
+++ b/res/drawable-mdpi/ic_viewfinder_camera_facing_front.png
Binary files differ
diff --git a/res/values/strings.xml b/res/values/strings.xml
index b78c85b..22ecd0d 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -117,6 +117,8 @@
<!-- Settings screen, camera selection dialog title. Users can select a camera from the phone (front-facing or back-facing). [CHAR LIMIT=20] -->
<string name="pref_camera_id_title">Select camera</string>
+ <string name="pref_camera_id_default">0</string>
+
<!-- In select camera setting, back facing camera. [CHAR LIMIT=14] -->
<string name="pref_camera_id_entry_back">Back</string>
<!-- In select camera setting, front-facing camera. [CHAR LIMIT=14] -->
diff --git a/res/xml/camera_preferences.xml b/res/xml/camera_preferences.xml
index b0da97c..6968270 100644
--- a/res/xml/camera_preferences.xml
+++ b/res/xml/camera_preferences.xml
@@ -75,5 +75,9 @@
camera:title="@string/pref_camera_focusmode_title"
camera:entries="@array/pref_camera_focusmode_entries"
camera:entryValues="@array/pref_camera_focusmode_entryvalues" />
+ <IconListPreference
+ camera:key="pref_camera_id_key"
+ camera:defaultValue="@string/pref_camera_id_default"
+ camera:title="@string/pref_camera_id_title" />
</PreferenceGroup>
</PreferenceGroup>
diff --git a/res/xml/video_preferences.xml b/res/xml/video_preferences.xml
index 6345351..f803c32 100644
--- a/res/xml/video_preferences.xml
+++ b/res/xml/video_preferences.xml
@@ -54,5 +54,9 @@
camera:title="@string/pref_camera_coloreffect_title"
camera:entries="@array/pref_camera_coloreffect_entries"
camera:entryValues="@array/pref_camera_coloreffect_entryvalues"/>
+ <IconListPreference
+ camera:key="pref_camera_id_key"
+ camera:defaultValue="@string/pref_camera_id_default"
+ camera:title="@string/pref_camera_id_title" />
</PreferenceGroup>
</PreferenceGroup>