Merge "Import revised translations.  DO NOT MERGE" into ics-mr1
diff --git a/jni/mosaic_renderer_jni.cpp b/jni/mosaic_renderer_jni.cpp
index fbf6862..bb01e7f 100644
--- a/jni/mosaic_renderer_jni.cpp
+++ b/jni/mosaic_renderer_jni.cpp
@@ -118,6 +118,10 @@
 double gUILayoutScalingX = 1.0f;
 double gUILayoutScalingY = 1.0f;
 
+// Whether the view that we will render preview FBO onto is in landscape or portrait
+// orientation.
+bool gIsLandscapeOrientation = true;
+
 // State of the viewfinder. Set to false when the viewfinder hits the UI edge.
 bool gPanViewfinder = true;
 
@@ -137,12 +141,26 @@
 double g_dTranslationToFBOCenter[16];
 
 // GL 4x4 Identity transformation
-GLfloat g_dAffinetransIdent[] = {
+GLfloat g_dAffinetransIdentGL[] = {
     1., 0., 0., 0.,
     0., 1., 0., 0.,
     0., 0., 1., 0.,
     0., 0., 0., 1.};
 
+// GL 4x4 Rotation transformation (column-majored): 90 degree
+GLfloat g_dAffinetransRotation90GL[] = {
+    0., 1., 0., 0.,
+    -1., 0., 0., 0.,
+    0., 0., 1., 0.,
+    0., 0., 0., 1.};
+
+// 3x3 Rotation transformation (row-majored): 90 degree
+double gRotation90[] = {
+    0., -1., 0.,
+    1., 0., 0.,
+    0., 0., 1.,};
+
+
 float g_dIdent3x3[] = {
     1.0, 0.0, 0.0,
     0.0, 1.0, 0.0,
@@ -219,6 +237,39 @@
     matGL44[15] = mat33[8];
 }
 
+bool continuePanningFBO(double panOffset) {
+    double normalizedScreenLimitLeft = -1.0 + VIEWPORT_BORDER_FACTOR_HORZ * 2.0;
+    double normalizedScreenLimitRight = 1.0 - VIEWPORT_BORDER_FACTOR_HORZ * 2.0;
+    double normalizedXPositionOnScreenLeft;
+    double normalizedXPositionOnScreenRight;
+
+    // Compute the position of the current frame in the screen coordinate system
+    if (gIsLandscapeOrientation) {
+        normalizedXPositionOnScreenLeft = (2.0 *
+            (gCenterOffsetX + panOffset) / gPreviewFBOWidth - 1.0) *
+            gUILayoutScalingX;
+        normalizedXPositionOnScreenRight = (2.0 *
+            ((gCenterOffsetX + panOffset) + gPreviewImageWidth[HR]) /
+            gPreviewFBOWidth - 1.0) * gUILayoutScalingX;
+    } else {
+        normalizedXPositionOnScreenLeft = (2.0 *
+            (gCenterOffsetX + panOffset) / gPreviewFBOWidth - 1.0) *
+            gUILayoutScalingY;
+        normalizedXPositionOnScreenRight = (2.0 *
+            ((gCenterOffsetX + panOffset) + gPreviewImageWidth[HR]) /
+            gPreviewFBOWidth - 1.0) * gUILayoutScalingY;
+    }
+
+    // Stop the viewfinder panning if we hit the maximum border allowed for
+    // this UI layout
+    if (normalizedXPositionOnScreenRight > normalizedScreenLimitRight ||
+            normalizedXPositionOnScreenLeft < normalizedScreenLimitLeft) {
+        return false;
+    } else {
+        return true;
+    }
+}
+
 // This function computes fills the 4x4 matrices g_dAffinetrans,
 // and g_dAffinetransPan using the specified 3x3 affine
 // transformation between the first captured frame and the current frame.
@@ -289,23 +340,7 @@
     }
 
     gLastTx = gThisTx;
-
-    // Compute the position of the current frame in the screen coordinate system
-    // and stop the viewfinder panning if we hit the maximum border allowed for
-    // this UI layout
-    double normalizedXPositionOnScreenLeft = (2.0 *
-            (gCenterOffsetX + gPanOffset) / gPreviewFBOWidth - 1.0) *
-            gUILayoutScalingX;
-    double normalizedScreenLimitLeft = -1.0 + VIEWPORT_BORDER_FACTOR_HORZ * 2.0;
-
-    double normalizedXPositionOnScreenRight = (2.0 *
-            ((gCenterOffsetX + gPanOffset) + gPreviewImageWidth[HR]) /
-            gPreviewFBOWidth - 1.0) * gUILayoutScalingX;
-    double normalizedScreenLimitRight = 1.0 - VIEWPORT_BORDER_FACTOR_HORZ * 2.0;
-
-    if(normalizedXPositionOnScreenRight > normalizedScreenLimitRight ||
-            normalizedXPositionOnScreenLeft < normalizedScreenLimitLeft)
-        gPanViewfinder = false;
+    gPanViewfinder = continuePanningFBO(gPanOffset);
 
     db_Identity3x3(H);
     H[2] = gPanOffset;
@@ -315,7 +350,13 @@
     db_Multiply3x3_3x3(Htemp1, H, gKm);
     db_Multiply3x3_3x3(Hp, gKminv, Htemp1);
 
-    ConvertAffine3x3toGL4x4(g_dAffinetransPan, Hp);
+    if (gIsLandscapeOrientation) {
+        ConvertAffine3x3toGL4x4(g_dAffinetransPan, Hp);
+    } else {
+        // rotate Hp by 90 degress.
+        db_Multiply3x3_3x3(Htemp1, gRotation90, Hp);
+        ConvertAffine3x3toGL4x4(g_dAffinetransPan, Htemp1);
+    }
 }
 
 void AllocateTextureMemory(int widthHR, int heightHR, int widthLR, int heightLR)
@@ -421,7 +462,8 @@
     JNIEXPORT jint JNICALL Java_com_android_camera_panorama_MosaicRenderer_init(
             JNIEnv * env, jobject obj);
     JNIEXPORT void JNICALL Java_com_android_camera_panorama_MosaicRenderer_reset(
-            JNIEnv * env, jobject obj,  jint width, jint height);
+            JNIEnv * env, jobject obj,  jint width, jint height,
+            jboolean isLandscapeOrientation);
     JNIEXPORT void JNICALL Java_com_android_camera_panorama_MosaicRenderer_preprocess(
             JNIEnv * env, jobject obj, jfloatArray stMatrix);
     JNIEXPORT void JNICALL Java_com_android_camera_panorama_MosaicRenderer_transferGPUtoCPU(
@@ -461,19 +503,48 @@
 }
 
 
-JNIEXPORT void JNICALL Java_com_android_camera_panorama_MosaicRenderer_reset(
-        JNIEnv * env, jobject obj,  jint width, jint height)
-{
-    // Scale the current frame's height to the height of view and
-    // maintain the aspect ratio of the current frame on the screen.
-    gUILayoutScalingY = PREVIEW_FBO_HEIGHT_SCALE;
+void calculateUILayoutScaling(int width, int height, bool isLandscape) {
+    if (isLandscape) {
+        //  __________        ______
+        // |__________|  =>  |______|
+        // (Preview FBO)      (View)
+        //
+        // Scale the preview FBO's height to the height of view and
+        // maintain the aspect ratio of the current frame on the screen.
+        gUILayoutScalingY = PREVIEW_FBO_HEIGHT_SCALE;
 
-    // Note that OpenGL scales a texture to view's width and height automatically.
-    // The "width / height" inverts the scaling, so as to maintain the aspect ratio
-    // of the current frame.
-    gUILayoutScalingX = ((float) (PREVIEW_FBO_WIDTH_SCALE * gPreviewImageWidth[LR])
-            / (PREVIEW_FBO_HEIGHT_SCALE * gPreviewImageHeight[LR]) *  PREVIEW_FBO_HEIGHT_SCALE)
-            / ((float) width / height);
+        // Note that OpenGL scales a texture to view's width and height automatically.
+        // The "width / height" inverts the scaling, so as to maintain the aspect ratio
+        // of the current frame.
+        gUILayoutScalingX = ((float) (PREVIEW_FBO_WIDTH_SCALE * gPreviewImageWidth[LR])
+                / (PREVIEW_FBO_HEIGHT_SCALE * gPreviewImageHeight[LR]) *  PREVIEW_FBO_HEIGHT_SCALE)
+                / ((float) width / height);
+    } else {
+        //                     __
+        //  __________        |  |
+        // |__________|  =>   |  |
+        // (Preview FBO)      |  |
+        //                    |__|
+        //                   (View)
+        // Scale the preview FBO's height to the width of view and
+        // maintain the aspect ratio of the current frame on the screen.
+        gUILayoutScalingX = PREVIEW_FBO_HEIGHT_SCALE;
+
+        // Note that OpenGL scales a texture to view's width and height automatically.
+        // The "height / width" inverts the scaling, so as to maintain the aspect ratio
+        // of the current frame.
+        gUILayoutScalingY = ((float) (PREVIEW_FBO_WIDTH_SCALE * gPreviewImageWidth[LR])
+                / (PREVIEW_FBO_HEIGHT_SCALE * gPreviewImageHeight[LR]) *  PREVIEW_FBO_HEIGHT_SCALE)
+                / ((float) height / width);
+
+    }
+}
+
+JNIEXPORT void JNICALL Java_com_android_camera_panorama_MosaicRenderer_reset(
+        JNIEnv * env, jobject obj,  jint width, jint height, jboolean isLandscapeOrientation)
+{
+    gIsLandscapeOrientation = isLandscapeOrientation;
+    calculateUILayoutScaling(width, height, gIsLandscapeOrientation);
 
     gBuffer[0].Init(gPreviewFBOWidth, gPreviewFBOHeight, GL_RGBA);
     gBuffer[1].Init(gPreviewFBOWidth, gPreviewFBOHeight, GL_RGBA);
@@ -543,6 +614,7 @@
     gPreview.SetupGraphics(width, height);
     gPreview.Clear(0.0, 0.0, 0.0, 1.0);
     gPreview.SetViewportMatrix(1, 1, 1, 1);
+
     // Scale the previewFBO so that the viewfinder window fills the layout height
     // while maintaining the image aspect ratio
     gPreview.SetScalingMatrix(gUILayoutScalingX, -1.0f * gUILayoutScalingY);
@@ -560,8 +632,8 @@
 
     env->ReleaseFloatArrayElements(stMatrix, stmat, 0);
 
-    gSurfTexRenderer[LR].DrawTexture(g_dAffinetransIdent);
-    gSurfTexRenderer[HR].DrawTexture(g_dAffinetransIdent);
+    gSurfTexRenderer[LR].DrawTexture(g_dAffinetransIdentGL);
+    gSurfTexRenderer[HR].DrawTexture(g_dAffinetransIdentGL);
 }
 
 #ifndef now_ms
@@ -626,7 +698,12 @@
         gPreview.SetInputTextureName(gBuffer[gCurrentFBOIndex].GetTextureName());
 
         gWarper2.DrawTexture(g_dTranslationToFBOCenterGL);
-        gPreview.DrawTexture(g_dAffinetransIdent);
+
+        if (gIsLandscapeOrientation) {
+            gPreview.DrawTexture(g_dAffinetransIdentGL);
+        } else {
+            gPreview.DrawTexture(g_dAffinetransRotation90GL);
+        }
     }
     else
     {
diff --git a/res/drawable-hdpi/ic_exposure_holo_light.png b/res/drawable-hdpi/ic_exposure_holo_light.png
index 8307baa..1d0311a 100644
--- a/res/drawable-hdpi/ic_exposure_holo_light.png
+++ b/res/drawable-hdpi/ic_exposure_holo_light.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_gallery.png b/res/drawable-hdpi/ic_gallery.png
index bfccaa6..039f38b 100644
--- a/res/drawable-hdpi/ic_gallery.png
+++ b/res/drawable-hdpi/ic_gallery.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_quality_1080p.png b/res/drawable-hdpi/ic_quality_1080p.png
new file mode 100644
index 0000000..77fa550
--- /dev/null
+++ b/res/drawable-hdpi/ic_quality_1080p.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_quality_480p.png b/res/drawable-hdpi/ic_quality_480p.png
new file mode 100644
index 0000000..93bf39c
--- /dev/null
+++ b/res/drawable-hdpi/ic_quality_480p.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_quality_720p.png b/res/drawable-hdpi/ic_quality_720p.png
new file mode 100644
index 0000000..fdf6f8b
--- /dev/null
+++ b/res/drawable-hdpi/ic_quality_720p.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_scn_holo_light.png b/res/drawable-hdpi/ic_scn_holo_light.png
new file mode 100644
index 0000000..6b62dce
--- /dev/null
+++ b/res/drawable-hdpi/ic_scn_holo_light.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_settings_holo_light.png b/res/drawable-hdpi/ic_settings_holo_light.png
index 24d074c..01bd507 100644
--- a/res/drawable-hdpi/ic_settings_holo_light.png
+++ b/res/drawable-hdpi/ic_settings_holo_light.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_timelapse_1.png b/res/drawable-hdpi/ic_timelapse_1.png
index 0fa1f3d..b9603a7 100644
--- a/res/drawable-hdpi/ic_timelapse_1.png
+++ b/res/drawable-hdpi/ic_timelapse_1.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_timelapse_10.png b/res/drawable-hdpi/ic_timelapse_10.png
index e168279..25832a4 100644
--- a/res/drawable-hdpi/ic_timelapse_10.png
+++ b/res/drawable-hdpi/ic_timelapse_10.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_timelapse_1_5.png b/res/drawable-hdpi/ic_timelapse_1_5.png
index 9e5e32b..eb220c5 100644
--- a/res/drawable-hdpi/ic_timelapse_1_5.png
+++ b/res/drawable-hdpi/ic_timelapse_1_5.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_timelapse_2.png b/res/drawable-hdpi/ic_timelapse_2.png
index 25889b6..1f315af 100644
--- a/res/drawable-hdpi/ic_timelapse_2.png
+++ b/res/drawable-hdpi/ic_timelapse_2.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_timelapse_2_5.png b/res/drawable-hdpi/ic_timelapse_2_5.png
index 40ea506..f57ed7d 100644
--- a/res/drawable-hdpi/ic_timelapse_2_5.png
+++ b/res/drawable-hdpi/ic_timelapse_2_5.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_timelapse_3.png b/res/drawable-hdpi/ic_timelapse_3.png
index 3aa85cb..8a8e370 100644
--- a/res/drawable-hdpi/ic_timelapse_3.png
+++ b/res/drawable-hdpi/ic_timelapse_3.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_timelapse_5.png b/res/drawable-hdpi/ic_timelapse_5.png
index 1e5b3af..6831b4a 100644
--- a/res/drawable-hdpi/ic_timelapse_5.png
+++ b/res/drawable-hdpi/ic_timelapse_5.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_timelapse_none.png b/res/drawable-hdpi/ic_timelapse_none.png
index 91193ac..6283f57 100644
--- a/res/drawable-hdpi/ic_timelapse_none.png
+++ b/res/drawable-hdpi/ic_timelapse_none.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_video_effects_background_disco_holo.png b/res/drawable-hdpi/ic_video_effects_background_disco_holo.png
index 046f8d6..367b5cf 100644
--- a/res/drawable-hdpi/ic_video_effects_background_disco_holo.png
+++ b/res/drawable-hdpi/ic_video_effects_background_disco_holo.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_video_effects_background_fields_of_wheat_holo.png b/res/drawable-hdpi/ic_video_effects_background_fields_of_wheat_holo.png
index 900b27f..963c860 100644
--- a/res/drawable-hdpi/ic_video_effects_background_fields_of_wheat_holo.png
+++ b/res/drawable-hdpi/ic_video_effects_background_fields_of_wheat_holo.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_video_effects_background_intergalactic_holo.png b/res/drawable-hdpi/ic_video_effects_background_intergalactic_holo.png
index 78a9cf0..dd375e6 100644
--- a/res/drawable-hdpi/ic_video_effects_background_intergalactic_holo.png
+++ b/res/drawable-hdpi/ic_video_effects_background_intergalactic_holo.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_video_effects_background_normal_holo_dark.png b/res/drawable-hdpi/ic_video_effects_background_normal_holo_dark.png
index 04aa623..f01e41b 100644
--- a/res/drawable-hdpi/ic_video_effects_background_normal_holo_dark.png
+++ b/res/drawable-hdpi/ic_video_effects_background_normal_holo_dark.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_viewfinder_scene_mode.png b/res/drawable-hdpi/ic_viewfinder_scene_mode.png
deleted file mode 100644
index 6bfa713..0000000
--- a/res/drawable-hdpi/ic_viewfinder_scene_mode.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-hdpi/ic_viewfinder_video_quality_1080p.png b/res/drawable-hdpi/ic_viewfinder_video_quality_1080p.png
deleted file mode 100644
index d2a39e4..0000000
--- a/res/drawable-hdpi/ic_viewfinder_video_quality_1080p.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-hdpi/ic_viewfinder_video_quality_480p.png b/res/drawable-hdpi/ic_viewfinder_video_quality_480p.png
deleted file mode 100644
index 398a4b9..0000000
--- a/res/drawable-hdpi/ic_viewfinder_video_quality_480p.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-hdpi/ic_viewfinder_video_quality_720p.png b/res/drawable-hdpi/ic_viewfinder_video_quality_720p.png
deleted file mode 100644
index 5567eb0..0000000
--- a/res/drawable-hdpi/ic_viewfinder_video_quality_720p.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/ic_exposure_holo_light.png b/res/drawable-mdpi/ic_exposure_holo_light.png
index 0d916f9..7236345 100644
--- a/res/drawable-mdpi/ic_exposure_holo_light.png
+++ b/res/drawable-mdpi/ic_exposure_holo_light.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_gallery.png b/res/drawable-mdpi/ic_gallery.png
index b164c59..963f007 100644
--- a/res/drawable-mdpi/ic_gallery.png
+++ b/res/drawable-mdpi/ic_gallery.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_quality_1080p.png b/res/drawable-mdpi/ic_quality_1080p.png
new file mode 100644
index 0000000..767e7ac
--- /dev/null
+++ b/res/drawable-mdpi/ic_quality_1080p.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_quality_480p.png b/res/drawable-mdpi/ic_quality_480p.png
new file mode 100644
index 0000000..acf9809
--- /dev/null
+++ b/res/drawable-mdpi/ic_quality_480p.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_quality_720p.png b/res/drawable-mdpi/ic_quality_720p.png
new file mode 100644
index 0000000..27037c4
--- /dev/null
+++ b/res/drawable-mdpi/ic_quality_720p.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_scn_holo_light.png b/res/drawable-mdpi/ic_scn_holo_light.png
new file mode 100644
index 0000000..b413d60
--- /dev/null
+++ b/res/drawable-mdpi/ic_scn_holo_light.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_settings_holo_light.png b/res/drawable-mdpi/ic_settings_holo_light.png
index dba8990..cb0a902 100644
--- a/res/drawable-mdpi/ic_settings_holo_light.png
+++ b/res/drawable-mdpi/ic_settings_holo_light.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_timelapse_1.png b/res/drawable-mdpi/ic_timelapse_1.png
index fa50e0c..48070f8 100644
--- a/res/drawable-mdpi/ic_timelapse_1.png
+++ b/res/drawable-mdpi/ic_timelapse_1.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_timelapse_10.png b/res/drawable-mdpi/ic_timelapse_10.png
index dd75068..3a8dbf1 100644
--- a/res/drawable-mdpi/ic_timelapse_10.png
+++ b/res/drawable-mdpi/ic_timelapse_10.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_timelapse_1_5.png b/res/drawable-mdpi/ic_timelapse_1_5.png
index a40e530..172fb03 100644
--- a/res/drawable-mdpi/ic_timelapse_1_5.png
+++ b/res/drawable-mdpi/ic_timelapse_1_5.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_timelapse_2.png b/res/drawable-mdpi/ic_timelapse_2.png
index ea7075e..07be67a 100644
--- a/res/drawable-mdpi/ic_timelapse_2.png
+++ b/res/drawable-mdpi/ic_timelapse_2.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_timelapse_2_5.png b/res/drawable-mdpi/ic_timelapse_2_5.png
index 99a2151..f6e11aa 100644
--- a/res/drawable-mdpi/ic_timelapse_2_5.png
+++ b/res/drawable-mdpi/ic_timelapse_2_5.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_timelapse_3.png b/res/drawable-mdpi/ic_timelapse_3.png
index 992b779..0807ffe 100644
--- a/res/drawable-mdpi/ic_timelapse_3.png
+++ b/res/drawable-mdpi/ic_timelapse_3.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_timelapse_5.png b/res/drawable-mdpi/ic_timelapse_5.png
index 7a7eb3a..ab58057 100644
--- a/res/drawable-mdpi/ic_timelapse_5.png
+++ b/res/drawable-mdpi/ic_timelapse_5.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_timelapse_none.png b/res/drawable-mdpi/ic_timelapse_none.png
index 09f0a1a..122e6fa 100644
--- a/res/drawable-mdpi/ic_timelapse_none.png
+++ b/res/drawable-mdpi/ic_timelapse_none.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_video_effects_background_disco_holo.png b/res/drawable-mdpi/ic_video_effects_background_disco_holo.png
index f110ab0..1e04423 100644
--- a/res/drawable-mdpi/ic_video_effects_background_disco_holo.png
+++ b/res/drawable-mdpi/ic_video_effects_background_disco_holo.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_video_effects_background_fields_of_wheat_holo.png b/res/drawable-mdpi/ic_video_effects_background_fields_of_wheat_holo.png
index e6e838f..7b4e579 100644
--- a/res/drawable-mdpi/ic_video_effects_background_fields_of_wheat_holo.png
+++ b/res/drawable-mdpi/ic_video_effects_background_fields_of_wheat_holo.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_video_effects_background_intergalactic_holo.png b/res/drawable-mdpi/ic_video_effects_background_intergalactic_holo.png
index da27e8d..ec9c1bc 100644
--- a/res/drawable-mdpi/ic_video_effects_background_intergalactic_holo.png
+++ b/res/drawable-mdpi/ic_video_effects_background_intergalactic_holo.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_video_effects_background_normal_holo_dark.png b/res/drawable-mdpi/ic_video_effects_background_normal_holo_dark.png
index 26ab64e..f055c48 100644
--- a/res/drawable-mdpi/ic_video_effects_background_normal_holo_dark.png
+++ b/res/drawable-mdpi/ic_video_effects_background_normal_holo_dark.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_viewfinder_scene_mode.png b/res/drawable-mdpi/ic_viewfinder_scene_mode.png
deleted file mode 100644
index 8e29c53..0000000
--- a/res/drawable-mdpi/ic_viewfinder_scene_mode.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/ic_viewfinder_video_quality_1080p.png b/res/drawable-mdpi/ic_viewfinder_video_quality_1080p.png
deleted file mode 100644
index 199e0ef..0000000
--- a/res/drawable-mdpi/ic_viewfinder_video_quality_1080p.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/ic_viewfinder_video_quality_480p.png b/res/drawable-mdpi/ic_viewfinder_video_quality_480p.png
deleted file mode 100644
index e0b4974..0000000
--- a/res/drawable-mdpi/ic_viewfinder_video_quality_480p.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/ic_viewfinder_video_quality_720p.png b/res/drawable-mdpi/ic_viewfinder_video_quality_720p.png
deleted file mode 100644
index 1104ce5..0000000
--- a/res/drawable-mdpi/ic_viewfinder_video_quality_720p.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/bg_camera_pattern.png b/res/drawable-sw600dp-hdpi/bg_camera_pattern.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/bg_camera_pattern.png
rename to res/drawable-sw600dp-hdpi/bg_camera_pattern.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/btn_camera_shutter_holo.png b/res/drawable-sw600dp-hdpi/btn_camera_shutter_holo.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/btn_camera_shutter_holo.png
rename to res/drawable-sw600dp-hdpi/btn_camera_shutter_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/btn_camera_shutter_pressed_holo.png b/res/drawable-sw600dp-hdpi/btn_camera_shutter_pressed_holo.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/btn_camera_shutter_pressed_holo.png
rename to res/drawable-sw600dp-hdpi/btn_camera_shutter_pressed_holo.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/btn_close_settings.png b/res/drawable-sw600dp-hdpi/btn_close_settings.png
new file mode 100644
index 0000000..0172abf
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/btn_close_settings.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/btn_pan_shutter_holo.png b/res/drawable-sw600dp-hdpi/btn_pan_shutter_holo.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/btn_pan_shutter_holo.png
rename to res/drawable-sw600dp-hdpi/btn_pan_shutter_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/btn_pan_shutter_pressed_holo.png b/res/drawable-sw600dp-hdpi/btn_pan_shutter_pressed_holo.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/btn_pan_shutter_pressed_holo.png
rename to res/drawable-sw600dp-hdpi/btn_pan_shutter_pressed_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/btn_pan_shutter_recording_holo.png b/res/drawable-sw600dp-hdpi/btn_pan_shutter_recording_holo.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/btn_pan_shutter_recording_holo.png
rename to res/drawable-sw600dp-hdpi/btn_pan_shutter_recording_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/btn_pan_shutter_recording_pressed_holo.png b/res/drawable-sw600dp-hdpi/btn_pan_shutter_recording_pressed_holo.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/btn_pan_shutter_recording_pressed_holo.png
rename to res/drawable-sw600dp-hdpi/btn_pan_shutter_recording_pressed_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/btn_retake_shutter_holo.png b/res/drawable-sw600dp-hdpi/btn_retake_shutter_holo.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/btn_retake_shutter_holo.png
rename to res/drawable-sw600dp-hdpi/btn_retake_shutter_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/btn_retake_shutter_pressed_holo.png b/res/drawable-sw600dp-hdpi/btn_retake_shutter_pressed_holo.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/btn_retake_shutter_pressed_holo.png
rename to res/drawable-sw600dp-hdpi/btn_retake_shutter_pressed_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/btn_video_shutter_holo.png b/res/drawable-sw600dp-hdpi/btn_video_shutter_holo.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/btn_video_shutter_holo.png
rename to res/drawable-sw600dp-hdpi/btn_video_shutter_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/btn_video_shutter_pressed_holo.png b/res/drawable-sw600dp-hdpi/btn_video_shutter_pressed_holo.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/btn_video_shutter_pressed_holo.png
rename to res/drawable-sw600dp-hdpi/btn_video_shutter_pressed_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/btn_video_shutter_recording_holo.png b/res/drawable-sw600dp-hdpi/btn_video_shutter_recording_holo.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/btn_video_shutter_recording_holo.png
rename to res/drawable-sw600dp-hdpi/btn_video_shutter_recording_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/btn_video_shutter_recording_pressed_holo.png b/res/drawable-sw600dp-hdpi/btn_video_shutter_recording_pressed_holo.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/btn_video_shutter_recording_pressed_holo.png
rename to res/drawable-sw600dp-hdpi/btn_video_shutter_recording_pressed_holo.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_effects_holo_light.png b/res/drawable-sw600dp-hdpi/ic_effects_holo_light.png
new file mode 100644
index 0000000..eac6dba
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_effects_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_exposure_holo_light.png b/res/drawable-sw600dp-hdpi/ic_exposure_holo_light.png
new file mode 100644
index 0000000..ee45cfc
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_exposure_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_flash_auto_holo_light.png b/res/drawable-sw600dp-hdpi/ic_flash_auto_holo_light.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/ic_flash_auto_holo_light.png
rename to res/drawable-sw600dp-hdpi/ic_flash_auto_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_flash_off_holo_light.png b/res/drawable-sw600dp-hdpi/ic_flash_off_holo_light.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/ic_flash_off_holo_light.png
rename to res/drawable-sw600dp-hdpi/ic_flash_off_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_flash_on_holo_light.png b/res/drawable-sw600dp-hdpi/ic_flash_on_holo_light.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/ic_flash_on_holo_light.png
rename to res/drawable-sw600dp-hdpi/ic_flash_on_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_gallery.png b/res/drawable-sw600dp-hdpi/ic_gallery.png
new file mode 100644
index 0000000..12f586a
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_gallery.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_menu_overflow.png b/res/drawable-sw600dp-hdpi/ic_menu_overflow.png
new file mode 100644
index 0000000..a7bdbeb
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_menu_overflow.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_pan_border_fast.9.png b/res/drawable-sw600dp-hdpi/ic_pan_border_fast.9.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/ic_pan_border_fast.9.png
rename to res/drawable-sw600dp-hdpi/ic_pan_border_fast.9.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_pan_left_indicator.png b/res/drawable-sw600dp-hdpi/ic_pan_left_indicator.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/ic_pan_left_indicator.png
rename to res/drawable-sw600dp-hdpi/ic_pan_left_indicator.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_pan_left_indicator_fast.png b/res/drawable-sw600dp-hdpi/ic_pan_left_indicator_fast.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/ic_pan_left_indicator_fast.png
rename to res/drawable-sw600dp-hdpi/ic_pan_left_indicator_fast.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_pan_progression.png b/res/drawable-sw600dp-hdpi/ic_pan_progression.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/ic_pan_progression.png
rename to res/drawable-sw600dp-hdpi/ic_pan_progression.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_pan_right_indicator.png b/res/drawable-sw600dp-hdpi/ic_pan_right_indicator.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/ic_pan_right_indicator.png
rename to res/drawable-sw600dp-hdpi/ic_pan_right_indicator.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_pan_right_indicator_fast.png b/res/drawable-sw600dp-hdpi/ic_pan_right_indicator_fast.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/ic_pan_right_indicator_fast.png
rename to res/drawable-sw600dp-hdpi/ic_pan_right_indicator_fast.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_quality_1080p.png b/res/drawable-sw600dp-hdpi/ic_quality_1080p.png
new file mode 100644
index 0000000..8800ada
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_quality_1080p.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_quality_480p.png b/res/drawable-sw600dp-hdpi/ic_quality_480p.png
new file mode 100644
index 0000000..8140410
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_quality_480p.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_quality_720p.png b/res/drawable-sw600dp-hdpi/ic_quality_720p.png
new file mode 100644
index 0000000..a3d7598
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_quality_720p.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_scn_holo_light.png b/res/drawable-sw600dp-hdpi/ic_scn_holo_light.png
new file mode 100644
index 0000000..e0dd705
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_scn_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_settings_holo_light.png b/res/drawable-sw600dp-hdpi/ic_settings_holo_light.png
new file mode 100644
index 0000000..13c9991
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_settings_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_snapshot_border.9.png b/res/drawable-sw600dp-hdpi/ic_snapshot_border.9.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/ic_snapshot_border.9.png
rename to res/drawable-sw600dp-hdpi/ic_snapshot_border.9.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_switch_photo_facing_holo_light.png b/res/drawable-sw600dp-hdpi/ic_switch_photo_facing_holo_light.png
new file mode 100644
index 0000000..a415e8c
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_switch_photo_facing_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_switch_video_facing_holo_light.png b/res/drawable-sw600dp-hdpi/ic_switch_video_facing_holo_light.png
new file mode 100644
index 0000000..743aea3
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_switch_video_facing_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_timelapse_1.png b/res/drawable-sw600dp-hdpi/ic_timelapse_1.png
new file mode 100644
index 0000000..f4b788e
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_timelapse_1.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_timelapse_10.png b/res/drawable-sw600dp-hdpi/ic_timelapse_10.png
new file mode 100644
index 0000000..fae0820
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_timelapse_10.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_timelapse_1_5.png b/res/drawable-sw600dp-hdpi/ic_timelapse_1_5.png
new file mode 100644
index 0000000..9a2232c
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_timelapse_1_5.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_timelapse_2.png b/res/drawable-sw600dp-hdpi/ic_timelapse_2.png
new file mode 100644
index 0000000..dbb59df
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_timelapse_2.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_timelapse_2_5.png b/res/drawable-sw600dp-hdpi/ic_timelapse_2_5.png
new file mode 100644
index 0000000..41245f6
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_timelapse_2_5.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_timelapse_3.png b/res/drawable-sw600dp-hdpi/ic_timelapse_3.png
new file mode 100644
index 0000000..b3dd3c5
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_timelapse_3.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_timelapse_5.png b/res/drawable-sw600dp-hdpi/ic_timelapse_5.png
new file mode 100644
index 0000000..38a7279
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_timelapse_5.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_timelapse_none.png b/res/drawable-sw600dp-hdpi/ic_timelapse_none.png
new file mode 100644
index 0000000..33e462f
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_timelapse_none.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_white_balance_auto_holo_light.png b/res/drawable-sw600dp-hdpi/ic_white_balance_auto_holo_light.png
new file mode 100644
index 0000000..dc5efea
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_white_balance_auto_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_white_balance_cloudy_holo_light.png b/res/drawable-sw600dp-hdpi/ic_white_balance_cloudy_holo_light.png
new file mode 100644
index 0000000..9bf242d
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_white_balance_cloudy_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_white_balance_fluorescent_holo_light.png b/res/drawable-sw600dp-hdpi/ic_white_balance_fluorescent_holo_light.png
new file mode 100644
index 0000000..1c2d104
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_white_balance_fluorescent_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_white_balance_incandescent_holo_light.png b/res/drawable-sw600dp-hdpi/ic_white_balance_incandescent_holo_light.png
new file mode 100644
index 0000000..b3a0393
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_white_balance_incandescent_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_white_balance_sunlight_holo_light.png b/res/drawable-sw600dp-hdpi/ic_white_balance_sunlight_holo_light.png
new file mode 100644
index 0000000..37212aa
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_white_balance_sunlight_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_zoom_holo_light.png b/res/drawable-sw600dp-hdpi/ic_zoom_holo_light.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/ic_zoom_holo_light.png
rename to res/drawable-sw600dp-hdpi/ic_zoom_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_zoom_in_holo_dark.png b/res/drawable-sw600dp-hdpi/ic_zoom_in_holo_dark.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/ic_zoom_in_holo_dark.png
rename to res/drawable-sw600dp-hdpi/ic_zoom_in_holo_dark.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_zoom_in_holo_light.png b/res/drawable-sw600dp-hdpi/ic_zoom_in_holo_light.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/ic_zoom_in_holo_light.png
rename to res/drawable-sw600dp-hdpi/ic_zoom_in_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_zoom_out_holo_dark.png b/res/drawable-sw600dp-hdpi/ic_zoom_out_holo_dark.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/ic_zoom_out_holo_dark.png
rename to res/drawable-sw600dp-hdpi/ic_zoom_out_holo_dark.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_zoom_out_holo_light.png b/res/drawable-sw600dp-hdpi/ic_zoom_out_holo_light.png
similarity index 100%
rename from res/drawable-w1024dp-hdpi/ic_zoom_out_holo_light.png
rename to res/drawable-sw600dp-hdpi/ic_zoom_out_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/bg_camera_pattern.png b/res/drawable-sw600dp-mdpi/bg_camera_pattern.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/bg_camera_pattern.png
rename to res/drawable-sw600dp-mdpi/bg_camera_pattern.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/btn_camera_shutter_holo.png b/res/drawable-sw600dp-mdpi/btn_camera_shutter_holo.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/btn_camera_shutter_holo.png
rename to res/drawable-sw600dp-mdpi/btn_camera_shutter_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/btn_camera_shutter_pressed_holo.png b/res/drawable-sw600dp-mdpi/btn_camera_shutter_pressed_holo.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/btn_camera_shutter_pressed_holo.png
rename to res/drawable-sw600dp-mdpi/btn_camera_shutter_pressed_holo.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/btn_close_settings.png b/res/drawable-sw600dp-mdpi/btn_close_settings.png
new file mode 100644
index 0000000..d876ac8
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/btn_close_settings.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/btn_ic_camera_shutter.xml b/res/drawable-sw600dp-mdpi/btn_ic_camera_shutter.xml
similarity index 100%
rename from res/drawable-w1024dp-mdpi/btn_ic_camera_shutter.xml
rename to res/drawable-sw600dp-mdpi/btn_ic_camera_shutter.xml
diff --git a/res/drawable-w1024dp-mdpi/btn_ic_mode_switch_camera.xml b/res/drawable-sw600dp-mdpi/btn_ic_mode_switch_camera.xml
similarity index 100%
rename from res/drawable-w1024dp-mdpi/btn_ic_mode_switch_camera.xml
rename to res/drawable-sw600dp-mdpi/btn_ic_mode_switch_camera.xml
diff --git a/res/drawable-w1024dp-mdpi/btn_ic_mode_switch_video.xml b/res/drawable-sw600dp-mdpi/btn_ic_mode_switch_video.xml
similarity index 100%
rename from res/drawable-w1024dp-mdpi/btn_ic_mode_switch_video.xml
rename to res/drawable-sw600dp-mdpi/btn_ic_mode_switch_video.xml
diff --git a/res/drawable-w1024dp-mdpi/btn_pan_shutter_holo.png b/res/drawable-sw600dp-mdpi/btn_pan_shutter_holo.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/btn_pan_shutter_holo.png
rename to res/drawable-sw600dp-mdpi/btn_pan_shutter_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/btn_pan_shutter_pressed_holo.png b/res/drawable-sw600dp-mdpi/btn_pan_shutter_pressed_holo.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/btn_pan_shutter_pressed_holo.png
rename to res/drawable-sw600dp-mdpi/btn_pan_shutter_pressed_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/btn_pan_shutter_recording_holo.png b/res/drawable-sw600dp-mdpi/btn_pan_shutter_recording_holo.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/btn_pan_shutter_recording_holo.png
rename to res/drawable-sw600dp-mdpi/btn_pan_shutter_recording_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/btn_pan_shutter_recording_pressed_holo.png b/res/drawable-sw600dp-mdpi/btn_pan_shutter_recording_pressed_holo.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/btn_pan_shutter_recording_pressed_holo.png
rename to res/drawable-sw600dp-mdpi/btn_pan_shutter_recording_pressed_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/btn_retake_shutter_holo.png b/res/drawable-sw600dp-mdpi/btn_retake_shutter_holo.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/btn_retake_shutter_holo.png
rename to res/drawable-sw600dp-mdpi/btn_retake_shutter_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/btn_retake_shutter_pressed_holo.png b/res/drawable-sw600dp-mdpi/btn_retake_shutter_pressed_holo.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/btn_retake_shutter_pressed_holo.png
rename to res/drawable-sw600dp-mdpi/btn_retake_shutter_pressed_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/btn_shutter.xml b/res/drawable-sw600dp-mdpi/btn_shutter.xml
similarity index 100%
rename from res/drawable-w1024dp-mdpi/btn_shutter.xml
rename to res/drawable-sw600dp-mdpi/btn_shutter.xml
diff --git a/res/drawable-w1024dp-mdpi/btn_video_shutter_holo.png b/res/drawable-sw600dp-mdpi/btn_video_shutter_holo.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/btn_video_shutter_holo.png
rename to res/drawable-sw600dp-mdpi/btn_video_shutter_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/btn_video_shutter_pressed_holo.png b/res/drawable-sw600dp-mdpi/btn_video_shutter_pressed_holo.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/btn_video_shutter_pressed_holo.png
rename to res/drawable-sw600dp-mdpi/btn_video_shutter_pressed_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/btn_video_shutter_recording_holo.png b/res/drawable-sw600dp-mdpi/btn_video_shutter_recording_holo.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/btn_video_shutter_recording_holo.png
rename to res/drawable-sw600dp-mdpi/btn_video_shutter_recording_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/btn_video_shutter_recording_pressed_holo.png b/res/drawable-sw600dp-mdpi/btn_video_shutter_recording_pressed_holo.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/btn_video_shutter_recording_pressed_holo.png
rename to res/drawable-sw600dp-mdpi/btn_video_shutter_recording_pressed_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/button_ic_camera_shutter.png b/res/drawable-sw600dp-mdpi/button_ic_camera_shutter.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/button_ic_camera_shutter.png
rename to res/drawable-sw600dp-mdpi/button_ic_camera_shutter.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/button_ic_camera_shutter_pressed.png b/res/drawable-sw600dp-mdpi/button_ic_camera_shutter_pressed.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/button_ic_camera_shutter_pressed.png
rename to res/drawable-sw600dp-mdpi/button_ic_camera_shutter_pressed.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_effects_holo_light.png b/res/drawable-sw600dp-mdpi/ic_effects_holo_light.png
new file mode 100644
index 0000000..9935f9c
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_effects_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_exposure_holo_light.png b/res/drawable-sw600dp-mdpi/ic_exposure_holo_light.png
new file mode 100644
index 0000000..4f4cc74
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_exposure_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_flash_auto_holo_light.png b/res/drawable-sw600dp-mdpi/ic_flash_auto_holo_light.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/ic_flash_auto_holo_light.png
rename to res/drawable-sw600dp-mdpi/ic_flash_auto_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_flash_off_holo_light.png b/res/drawable-sw600dp-mdpi/ic_flash_off_holo_light.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/ic_flash_off_holo_light.png
rename to res/drawable-sw600dp-mdpi/ic_flash_off_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_flash_on_holo_light.png b/res/drawable-sw600dp-mdpi/ic_flash_on_holo_light.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/ic_flash_on_holo_light.png
rename to res/drawable-sw600dp-mdpi/ic_flash_on_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_gallery.png b/res/drawable-sw600dp-mdpi/ic_gallery.png
new file mode 100644
index 0000000..9388931
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_gallery.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_menu_overflow.png b/res/drawable-sw600dp-mdpi/ic_menu_overflow.png
new file mode 100644
index 0000000..f927168
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_menu_overflow.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_pan_border_fast.9.png b/res/drawable-sw600dp-mdpi/ic_pan_border_fast.9.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/ic_pan_border_fast.9.png
rename to res/drawable-sw600dp-mdpi/ic_pan_border_fast.9.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_pan_left_indicator.png b/res/drawable-sw600dp-mdpi/ic_pan_left_indicator.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/ic_pan_left_indicator.png
rename to res/drawable-sw600dp-mdpi/ic_pan_left_indicator.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_pan_left_indicator_fast.png b/res/drawable-sw600dp-mdpi/ic_pan_left_indicator_fast.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/ic_pan_left_indicator_fast.png
rename to res/drawable-sw600dp-mdpi/ic_pan_left_indicator_fast.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_pan_progression.png b/res/drawable-sw600dp-mdpi/ic_pan_progression.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/ic_pan_progression.png
rename to res/drawable-sw600dp-mdpi/ic_pan_progression.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_pan_right_indicator.png b/res/drawable-sw600dp-mdpi/ic_pan_right_indicator.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/ic_pan_right_indicator.png
rename to res/drawable-sw600dp-mdpi/ic_pan_right_indicator.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_pan_right_indicator_fast.png b/res/drawable-sw600dp-mdpi/ic_pan_right_indicator_fast.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/ic_pan_right_indicator_fast.png
rename to res/drawable-sw600dp-mdpi/ic_pan_right_indicator_fast.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_quality_1080p.png b/res/drawable-sw600dp-mdpi/ic_quality_1080p.png
new file mode 100644
index 0000000..65ec0c7
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_quality_1080p.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_quality_480p.png b/res/drawable-sw600dp-mdpi/ic_quality_480p.png
new file mode 100644
index 0000000..24915f3
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_quality_480p.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_quality_720p.png b/res/drawable-sw600dp-mdpi/ic_quality_720p.png
new file mode 100644
index 0000000..28c58eb
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_quality_720p.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_recording_indicator.png b/res/drawable-sw600dp-mdpi/ic_recording_indicator.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/ic_recording_indicator.png
rename to res/drawable-sw600dp-mdpi/ic_recording_indicator.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_scn_holo_light.png b/res/drawable-sw600dp-mdpi/ic_scn_holo_light.png
new file mode 100644
index 0000000..0b3866e
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_scn_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_settings_holo_light.png b/res/drawable-sw600dp-mdpi/ic_settings_holo_light.png
new file mode 100644
index 0000000..2b89fef
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_settings_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_snapshot_border.9.png b/res/drawable-sw600dp-mdpi/ic_snapshot_border.9.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/ic_snapshot_border.9.png
rename to res/drawable-sw600dp-mdpi/ic_snapshot_border.9.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_switch_photo_facing_holo_light.png b/res/drawable-sw600dp-mdpi/ic_switch_photo_facing_holo_light.png
new file mode 100644
index 0000000..cbb0c83
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_switch_photo_facing_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_switch_video_facing_holo_light.png b/res/drawable-sw600dp-mdpi/ic_switch_video_facing_holo_light.png
new file mode 100644
index 0000000..bf353d2
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_switch_video_facing_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_timelapse_1.png b/res/drawable-sw600dp-mdpi/ic_timelapse_1.png
new file mode 100644
index 0000000..5707841
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_timelapse_1.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_timelapse_10.png b/res/drawable-sw600dp-mdpi/ic_timelapse_10.png
new file mode 100644
index 0000000..da69f4b
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_timelapse_10.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_timelapse_1_5.png b/res/drawable-sw600dp-mdpi/ic_timelapse_1_5.png
new file mode 100644
index 0000000..a2bf827
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_timelapse_1_5.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_timelapse_2.png b/res/drawable-sw600dp-mdpi/ic_timelapse_2.png
new file mode 100644
index 0000000..83e0ed1
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_timelapse_2.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_timelapse_2_5.png b/res/drawable-sw600dp-mdpi/ic_timelapse_2_5.png
new file mode 100644
index 0000000..770a898
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_timelapse_2_5.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_timelapse_3.png b/res/drawable-sw600dp-mdpi/ic_timelapse_3.png
new file mode 100644
index 0000000..9f7cbb2
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_timelapse_3.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_timelapse_5.png b/res/drawable-sw600dp-mdpi/ic_timelapse_5.png
new file mode 100644
index 0000000..f86780b
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_timelapse_5.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_timelapse_none.png b/res/drawable-sw600dp-mdpi/ic_timelapse_none.png
new file mode 100644
index 0000000..67e36a6
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_timelapse_none.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_white_balance_auto_holo_light.png b/res/drawable-sw600dp-mdpi/ic_white_balance_auto_holo_light.png
new file mode 100644
index 0000000..b8ec090
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_white_balance_auto_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_white_balance_cloudy_holo_light.png b/res/drawable-sw600dp-mdpi/ic_white_balance_cloudy_holo_light.png
new file mode 100644
index 0000000..3dbb1e2
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_white_balance_cloudy_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_white_balance_fluorescent_holo_light.png b/res/drawable-sw600dp-mdpi/ic_white_balance_fluorescent_holo_light.png
new file mode 100644
index 0000000..a60a97a
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_white_balance_fluorescent_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_white_balance_incandescent_holo_light.png b/res/drawable-sw600dp-mdpi/ic_white_balance_incandescent_holo_light.png
new file mode 100644
index 0000000..8176071
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_white_balance_incandescent_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_white_balance_sunlight_holo_light.png b/res/drawable-sw600dp-mdpi/ic_white_balance_sunlight_holo_light.png
new file mode 100644
index 0000000..a5a0ab2
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_white_balance_sunlight_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_zoom_holo_light.png b/res/drawable-sw600dp-mdpi/ic_zoom_holo_light.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/ic_zoom_holo_light.png
rename to res/drawable-sw600dp-mdpi/ic_zoom_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_zoom_in_holo_dark.png b/res/drawable-sw600dp-mdpi/ic_zoom_in_holo_dark.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/ic_zoom_in_holo_dark.png
rename to res/drawable-sw600dp-mdpi/ic_zoom_in_holo_dark.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_zoom_in_holo_light.png b/res/drawable-sw600dp-mdpi/ic_zoom_in_holo_light.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/ic_zoom_in_holo_light.png
rename to res/drawable-sw600dp-mdpi/ic_zoom_in_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_zoom_out_holo_dark.png b/res/drawable-sw600dp-mdpi/ic_zoom_out_holo_dark.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/ic_zoom_out_holo_dark.png
rename to res/drawable-sw600dp-mdpi/ic_zoom_out_holo_dark.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_zoom_out_holo_light.png b/res/drawable-sw600dp-mdpi/ic_zoom_out_holo_light.png
similarity index 100%
rename from res/drawable-w1024dp-mdpi/ic_zoom_out_holo_light.png
rename to res/drawable-sw600dp-mdpi/ic_zoom_out_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/bg_camera_pattern.png b/res/drawable-sw600dp-xhdpi/bg_camera_pattern.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/bg_camera_pattern.png
rename to res/drawable-sw600dp-xhdpi/bg_camera_pattern.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/btn_camera_shutter_holo.png b/res/drawable-sw600dp-xhdpi/btn_camera_shutter_holo.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/btn_camera_shutter_holo.png
rename to res/drawable-sw600dp-xhdpi/btn_camera_shutter_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/btn_camera_shutter_pressed_holo.png b/res/drawable-sw600dp-xhdpi/btn_camera_shutter_pressed_holo.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/btn_camera_shutter_pressed_holo.png
rename to res/drawable-sw600dp-xhdpi/btn_camera_shutter_pressed_holo.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/btn_close_settings.png b/res/drawable-sw600dp-xhdpi/btn_close_settings.png
new file mode 100644
index 0000000..dcc7f8d
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/btn_close_settings.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/btn_pan_shutter_holo.png b/res/drawable-sw600dp-xhdpi/btn_pan_shutter_holo.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/btn_pan_shutter_holo.png
rename to res/drawable-sw600dp-xhdpi/btn_pan_shutter_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/btn_pan_shutter_pressed_holo.png b/res/drawable-sw600dp-xhdpi/btn_pan_shutter_pressed_holo.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/btn_pan_shutter_pressed_holo.png
rename to res/drawable-sw600dp-xhdpi/btn_pan_shutter_pressed_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/btn_pan_shutter_recording_holo.png b/res/drawable-sw600dp-xhdpi/btn_pan_shutter_recording_holo.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/btn_pan_shutter_recording_holo.png
rename to res/drawable-sw600dp-xhdpi/btn_pan_shutter_recording_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/btn_pan_shutter_recording_pressed_holo.png b/res/drawable-sw600dp-xhdpi/btn_pan_shutter_recording_pressed_holo.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/btn_pan_shutter_recording_pressed_holo.png
rename to res/drawable-sw600dp-xhdpi/btn_pan_shutter_recording_pressed_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/btn_retake_shutter_holo.png b/res/drawable-sw600dp-xhdpi/btn_retake_shutter_holo.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/btn_retake_shutter_holo.png
rename to res/drawable-sw600dp-xhdpi/btn_retake_shutter_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/btn_retake_shutter_pressed_holo.png b/res/drawable-sw600dp-xhdpi/btn_retake_shutter_pressed_holo.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/btn_retake_shutter_pressed_holo.png
rename to res/drawable-sw600dp-xhdpi/btn_retake_shutter_pressed_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/btn_video_shutter_holo.png b/res/drawable-sw600dp-xhdpi/btn_video_shutter_holo.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/btn_video_shutter_holo.png
rename to res/drawable-sw600dp-xhdpi/btn_video_shutter_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/btn_video_shutter_pressed_holo.png b/res/drawable-sw600dp-xhdpi/btn_video_shutter_pressed_holo.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/btn_video_shutter_pressed_holo.png
rename to res/drawable-sw600dp-xhdpi/btn_video_shutter_pressed_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/btn_video_shutter_recording_holo.png b/res/drawable-sw600dp-xhdpi/btn_video_shutter_recording_holo.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/btn_video_shutter_recording_holo.png
rename to res/drawable-sw600dp-xhdpi/btn_video_shutter_recording_holo.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/btn_video_shutter_recording_pressed_holo.png b/res/drawable-sw600dp-xhdpi/btn_video_shutter_recording_pressed_holo.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/btn_video_shutter_recording_pressed_holo.png
rename to res/drawable-sw600dp-xhdpi/btn_video_shutter_recording_pressed_holo.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_effects_holo_light.png b/res/drawable-sw600dp-xhdpi/ic_effects_holo_light.png
new file mode 100644
index 0000000..8590a9e
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_effects_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_exposure_holo_light.png b/res/drawable-sw600dp-xhdpi/ic_exposure_holo_light.png
new file mode 100644
index 0000000..ed73752
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_exposure_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_flash_auto_holo_light.png b/res/drawable-sw600dp-xhdpi/ic_flash_auto_holo_light.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/ic_flash_auto_holo_light.png
rename to res/drawable-sw600dp-xhdpi/ic_flash_auto_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_flash_off_holo_light.png b/res/drawable-sw600dp-xhdpi/ic_flash_off_holo_light.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/ic_flash_off_holo_light.png
rename to res/drawable-sw600dp-xhdpi/ic_flash_off_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_flash_on_holo_light.png b/res/drawable-sw600dp-xhdpi/ic_flash_on_holo_light.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/ic_flash_on_holo_light.png
rename to res/drawable-sw600dp-xhdpi/ic_flash_on_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_gallery.png b/res/drawable-sw600dp-xhdpi/ic_gallery.png
new file mode 100644
index 0000000..5bc1a2e
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_gallery.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_menu_overflow.png b/res/drawable-sw600dp-xhdpi/ic_menu_overflow.png
new file mode 100644
index 0000000..cd509d2
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_menu_overflow.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_pan_border_fast.9.png b/res/drawable-sw600dp-xhdpi/ic_pan_border_fast.9.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/ic_pan_border_fast.9.png
rename to res/drawable-sw600dp-xhdpi/ic_pan_border_fast.9.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_pan_left_indicator.png b/res/drawable-sw600dp-xhdpi/ic_pan_left_indicator.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/ic_pan_left_indicator.png
rename to res/drawable-sw600dp-xhdpi/ic_pan_left_indicator.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_pan_left_indicator_fast.png b/res/drawable-sw600dp-xhdpi/ic_pan_left_indicator_fast.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/ic_pan_left_indicator_fast.png
rename to res/drawable-sw600dp-xhdpi/ic_pan_left_indicator_fast.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_pan_progression.png b/res/drawable-sw600dp-xhdpi/ic_pan_progression.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/ic_pan_progression.png
rename to res/drawable-sw600dp-xhdpi/ic_pan_progression.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_pan_right_indicator.png b/res/drawable-sw600dp-xhdpi/ic_pan_right_indicator.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/ic_pan_right_indicator.png
rename to res/drawable-sw600dp-xhdpi/ic_pan_right_indicator.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_pan_right_indicator_fast.png b/res/drawable-sw600dp-xhdpi/ic_pan_right_indicator_fast.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/ic_pan_right_indicator_fast.png
rename to res/drawable-sw600dp-xhdpi/ic_pan_right_indicator_fast.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_quality_1080p.png b/res/drawable-sw600dp-xhdpi/ic_quality_1080p.png
new file mode 100644
index 0000000..0dd9598
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_quality_1080p.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_quality_480p.png b/res/drawable-sw600dp-xhdpi/ic_quality_480p.png
new file mode 100644
index 0000000..6dab5c4
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_quality_480p.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_quality_720p.png b/res/drawable-sw600dp-xhdpi/ic_quality_720p.png
new file mode 100644
index 0000000..d129bb5
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_quality_720p.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_scn_holo_light.png b/res/drawable-sw600dp-xhdpi/ic_scn_holo_light.png
new file mode 100644
index 0000000..4369205
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_scn_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_settings_holo_light.png b/res/drawable-sw600dp-xhdpi/ic_settings_holo_light.png
new file mode 100644
index 0000000..9fa8f72
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_settings_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_snapshot_border.9.png b/res/drawable-sw600dp-xhdpi/ic_snapshot_border.9.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/ic_snapshot_border.9.png
rename to res/drawable-sw600dp-xhdpi/ic_snapshot_border.9.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_switch_photo_facing_holo_light.png b/res/drawable-sw600dp-xhdpi/ic_switch_photo_facing_holo_light.png
new file mode 100644
index 0000000..cf8edf8
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_switch_photo_facing_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_switch_video_facing_holo_light.png b/res/drawable-sw600dp-xhdpi/ic_switch_video_facing_holo_light.png
new file mode 100644
index 0000000..d48e403
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_switch_video_facing_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_timelapse_1.png b/res/drawable-sw600dp-xhdpi/ic_timelapse_1.png
new file mode 100644
index 0000000..aa89d30
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_timelapse_1.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_timelapse_10.png b/res/drawable-sw600dp-xhdpi/ic_timelapse_10.png
new file mode 100644
index 0000000..2a1b617
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_timelapse_10.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_timelapse_1_5.png b/res/drawable-sw600dp-xhdpi/ic_timelapse_1_5.png
new file mode 100644
index 0000000..923cec8
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_timelapse_1_5.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_timelapse_2.png b/res/drawable-sw600dp-xhdpi/ic_timelapse_2.png
new file mode 100644
index 0000000..a701142
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_timelapse_2.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_timelapse_2_5.png b/res/drawable-sw600dp-xhdpi/ic_timelapse_2_5.png
new file mode 100644
index 0000000..c12ecd7
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_timelapse_2_5.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_timelapse_3.png b/res/drawable-sw600dp-xhdpi/ic_timelapse_3.png
new file mode 100644
index 0000000..d3f681f
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_timelapse_3.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_timelapse_5.png b/res/drawable-sw600dp-xhdpi/ic_timelapse_5.png
new file mode 100644
index 0000000..1eca86f
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_timelapse_5.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_timelapse_none.png b/res/drawable-sw600dp-xhdpi/ic_timelapse_none.png
new file mode 100644
index 0000000..ace6b36
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_timelapse_none.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_white_balance_auto_holo_light.png b/res/drawable-sw600dp-xhdpi/ic_white_balance_auto_holo_light.png
new file mode 100644
index 0000000..cc41997
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_white_balance_auto_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_white_balance_cloudy_holo_light.png b/res/drawable-sw600dp-xhdpi/ic_white_balance_cloudy_holo_light.png
new file mode 100644
index 0000000..b47c796
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_white_balance_cloudy_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_white_balance_fluorescent_holo_light.png b/res/drawable-sw600dp-xhdpi/ic_white_balance_fluorescent_holo_light.png
new file mode 100644
index 0000000..6792345
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_white_balance_fluorescent_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_white_balance_incandescent_holo_light.png b/res/drawable-sw600dp-xhdpi/ic_white_balance_incandescent_holo_light.png
new file mode 100644
index 0000000..9d0f1a3
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_white_balance_incandescent_holo_light.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_white_balance_sunlight_holo_light.png b/res/drawable-sw600dp-xhdpi/ic_white_balance_sunlight_holo_light.png
new file mode 100644
index 0000000..5388a66
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_white_balance_sunlight_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_zoom_holo_light.png b/res/drawable-sw600dp-xhdpi/ic_zoom_holo_light.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/ic_zoom_holo_light.png
rename to res/drawable-sw600dp-xhdpi/ic_zoom_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_zoom_out_holo_dark.png b/res/drawable-sw600dp-xhdpi/ic_zoom_out_holo_dark.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/ic_zoom_out_holo_dark.png
rename to res/drawable-sw600dp-xhdpi/ic_zoom_out_holo_dark.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_zoom_out_holo_light.png b/res/drawable-sw600dp-xhdpi/ic_zoom_out_holo_light.png
similarity index 100%
rename from res/drawable-w1024dp-xhdpi/ic_zoom_out_holo_light.png
rename to res/drawable-sw600dp-xhdpi/ic_zoom_out_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_effects_holo_light.png b/res/drawable-w1024dp-hdpi/ic_effects_holo_light.png
deleted file mode 100644
index aa46d68..0000000
--- a/res/drawable-w1024dp-hdpi/ic_effects_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_exposure_holo_light.png b/res/drawable-w1024dp-hdpi/ic_exposure_holo_light.png
deleted file mode 100644
index 0285708..0000000
--- a/res/drawable-w1024dp-hdpi/ic_exposure_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_gallery.png b/res/drawable-w1024dp-hdpi/ic_gallery.png
deleted file mode 100644
index 18da118..0000000
--- a/res/drawable-w1024dp-hdpi/ic_gallery.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_menu_overflow.png b/res/drawable-w1024dp-hdpi/ic_menu_overflow.png
deleted file mode 100644
index a12aedf..0000000
--- a/res/drawable-w1024dp-hdpi/ic_menu_overflow.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_settings_holo_light.png b/res/drawable-w1024dp-hdpi/ic_settings_holo_light.png
deleted file mode 100644
index 0711f10..0000000
--- a/res/drawable-w1024dp-hdpi/ic_settings_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_switch_photo_facing_holo_light.png b/res/drawable-w1024dp-hdpi/ic_switch_photo_facing_holo_light.png
deleted file mode 100644
index b73a52a..0000000
--- a/res/drawable-w1024dp-hdpi/ic_switch_photo_facing_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_switch_video_facing_holo_light.png b/res/drawable-w1024dp-hdpi/ic_switch_video_facing_holo_light.png
deleted file mode 100644
index d61eb24..0000000
--- a/res/drawable-w1024dp-hdpi/ic_switch_video_facing_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_timelapse_1.png b/res/drawable-w1024dp-hdpi/ic_timelapse_1.png
deleted file mode 100644
index 97aa325..0000000
--- a/res/drawable-w1024dp-hdpi/ic_timelapse_1.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_timelapse_10.png b/res/drawable-w1024dp-hdpi/ic_timelapse_10.png
deleted file mode 100644
index 56652c3..0000000
--- a/res/drawable-w1024dp-hdpi/ic_timelapse_10.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_timelapse_1_5.png b/res/drawable-w1024dp-hdpi/ic_timelapse_1_5.png
deleted file mode 100644
index 80aeecd..0000000
--- a/res/drawable-w1024dp-hdpi/ic_timelapse_1_5.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_timelapse_2.png b/res/drawable-w1024dp-hdpi/ic_timelapse_2.png
deleted file mode 100644
index bbc0cf2..0000000
--- a/res/drawable-w1024dp-hdpi/ic_timelapse_2.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_timelapse_2_5.png b/res/drawable-w1024dp-hdpi/ic_timelapse_2_5.png
deleted file mode 100644
index 0de667d..0000000
--- a/res/drawable-w1024dp-hdpi/ic_timelapse_2_5.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_timelapse_3.png b/res/drawable-w1024dp-hdpi/ic_timelapse_3.png
deleted file mode 100644
index 64c7187..0000000
--- a/res/drawable-w1024dp-hdpi/ic_timelapse_3.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_timelapse_5.png b/res/drawable-w1024dp-hdpi/ic_timelapse_5.png
deleted file mode 100644
index e11ae4b..0000000
--- a/res/drawable-w1024dp-hdpi/ic_timelapse_5.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_timelapse_none.png b/res/drawable-w1024dp-hdpi/ic_timelapse_none.png
deleted file mode 100644
index aae1eb9..0000000
--- a/res/drawable-w1024dp-hdpi/ic_timelapse_none.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_viewfinder_scene_mode.png b/res/drawable-w1024dp-hdpi/ic_viewfinder_scene_mode.png
deleted file mode 100644
index 187aa24..0000000
--- a/res/drawable-w1024dp-hdpi/ic_viewfinder_scene_mode.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_white_balance_auto_holo_light.png b/res/drawable-w1024dp-hdpi/ic_white_balance_auto_holo_light.png
deleted file mode 100644
index 3be5827..0000000
--- a/res/drawable-w1024dp-hdpi/ic_white_balance_auto_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_white_balance_cloudy_holo_light.png b/res/drawable-w1024dp-hdpi/ic_white_balance_cloudy_holo_light.png
deleted file mode 100644
index 07a008e..0000000
--- a/res/drawable-w1024dp-hdpi/ic_white_balance_cloudy_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_white_balance_fluorescent_holo_light.png b/res/drawable-w1024dp-hdpi/ic_white_balance_fluorescent_holo_light.png
deleted file mode 100644
index 1f1db44..0000000
--- a/res/drawable-w1024dp-hdpi/ic_white_balance_fluorescent_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_white_balance_incandescent_holo_light.png b/res/drawable-w1024dp-hdpi/ic_white_balance_incandescent_holo_light.png
deleted file mode 100644
index f8ee467..0000000
--- a/res/drawable-w1024dp-hdpi/ic_white_balance_incandescent_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_white_balance_sunlight_holo_light.png b/res/drawable-w1024dp-hdpi/ic_white_balance_sunlight_holo_light.png
deleted file mode 100644
index 26f56a8..0000000
--- a/res/drawable-w1024dp-hdpi/ic_white_balance_sunlight_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_effects_holo_light.png b/res/drawable-w1024dp-mdpi/ic_effects_holo_light.png
deleted file mode 100644
index ed09cc9..0000000
--- a/res/drawable-w1024dp-mdpi/ic_effects_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_exposure_holo_light.png b/res/drawable-w1024dp-mdpi/ic_exposure_holo_light.png
deleted file mode 100644
index 5ba7530..0000000
--- a/res/drawable-w1024dp-mdpi/ic_exposure_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_gallery.png b/res/drawable-w1024dp-mdpi/ic_gallery.png
deleted file mode 100644
index c977213..0000000
--- a/res/drawable-w1024dp-mdpi/ic_gallery.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_menu_overflow.png b/res/drawable-w1024dp-mdpi/ic_menu_overflow.png
deleted file mode 100644
index 4a3bde3..0000000
--- a/res/drawable-w1024dp-mdpi/ic_menu_overflow.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_settings_holo_light.png b/res/drawable-w1024dp-mdpi/ic_settings_holo_light.png
deleted file mode 100644
index 9ddcafe..0000000
--- a/res/drawable-w1024dp-mdpi/ic_settings_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_switch_photo_facing_holo_light.png b/res/drawable-w1024dp-mdpi/ic_switch_photo_facing_holo_light.png
deleted file mode 100644
index 566b5fc..0000000
--- a/res/drawable-w1024dp-mdpi/ic_switch_photo_facing_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_switch_video_facing_holo_light.png b/res/drawable-w1024dp-mdpi/ic_switch_video_facing_holo_light.png
deleted file mode 100644
index c1411dd..0000000
--- a/res/drawable-w1024dp-mdpi/ic_switch_video_facing_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_timelapse_1.png b/res/drawable-w1024dp-mdpi/ic_timelapse_1.png
deleted file mode 100644
index 555846f..0000000
--- a/res/drawable-w1024dp-mdpi/ic_timelapse_1.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_timelapse_10.png b/res/drawable-w1024dp-mdpi/ic_timelapse_10.png
deleted file mode 100644
index b0d1f2b..0000000
--- a/res/drawable-w1024dp-mdpi/ic_timelapse_10.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_timelapse_1_5.png b/res/drawable-w1024dp-mdpi/ic_timelapse_1_5.png
deleted file mode 100644
index 1b15630..0000000
--- a/res/drawable-w1024dp-mdpi/ic_timelapse_1_5.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_timelapse_2.png b/res/drawable-w1024dp-mdpi/ic_timelapse_2.png
deleted file mode 100644
index ea99e6e..0000000
--- a/res/drawable-w1024dp-mdpi/ic_timelapse_2.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_timelapse_2_5.png b/res/drawable-w1024dp-mdpi/ic_timelapse_2_5.png
deleted file mode 100644
index b7160a1..0000000
--- a/res/drawable-w1024dp-mdpi/ic_timelapse_2_5.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_timelapse_3.png b/res/drawable-w1024dp-mdpi/ic_timelapse_3.png
deleted file mode 100644
index ce42c43..0000000
--- a/res/drawable-w1024dp-mdpi/ic_timelapse_3.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_timelapse_5.png b/res/drawable-w1024dp-mdpi/ic_timelapse_5.png
deleted file mode 100644
index 3222564..0000000
--- a/res/drawable-w1024dp-mdpi/ic_timelapse_5.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_timelapse_none.png b/res/drawable-w1024dp-mdpi/ic_timelapse_none.png
deleted file mode 100644
index afc8210..0000000
--- a/res/drawable-w1024dp-mdpi/ic_timelapse_none.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_viewfinder_scene_mode.png b/res/drawable-w1024dp-mdpi/ic_viewfinder_scene_mode.png
deleted file mode 100644
index f3fc6d0..0000000
--- a/res/drawable-w1024dp-mdpi/ic_viewfinder_scene_mode.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_white_balance_auto_holo_light.png b/res/drawable-w1024dp-mdpi/ic_white_balance_auto_holo_light.png
deleted file mode 100644
index e26b8a8..0000000
--- a/res/drawable-w1024dp-mdpi/ic_white_balance_auto_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_white_balance_cloudy_holo_light.png b/res/drawable-w1024dp-mdpi/ic_white_balance_cloudy_holo_light.png
deleted file mode 100644
index 5e936ef..0000000
--- a/res/drawable-w1024dp-mdpi/ic_white_balance_cloudy_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_white_balance_fluorescent_holo_light.png b/res/drawable-w1024dp-mdpi/ic_white_balance_fluorescent_holo_light.png
deleted file mode 100644
index 558c333..0000000
--- a/res/drawable-w1024dp-mdpi/ic_white_balance_fluorescent_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_white_balance_incandescent_holo_light.png b/res/drawable-w1024dp-mdpi/ic_white_balance_incandescent_holo_light.png
deleted file mode 100644
index 0f0b9bf..0000000
--- a/res/drawable-w1024dp-mdpi/ic_white_balance_incandescent_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_white_balance_sunlight_holo_light.png b/res/drawable-w1024dp-mdpi/ic_white_balance_sunlight_holo_light.png
deleted file mode 100644
index 326f386..0000000
--- a/res/drawable-w1024dp-mdpi/ic_white_balance_sunlight_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_effects_holo_light.png b/res/drawable-w1024dp-xhdpi/ic_effects_holo_light.png
deleted file mode 100644
index 020cdf8..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_effects_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_exposure_holo_light.png b/res/drawable-w1024dp-xhdpi/ic_exposure_holo_light.png
deleted file mode 100644
index 078925d..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_exposure_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_gallery.png b/res/drawable-w1024dp-xhdpi/ic_gallery.png
deleted file mode 100644
index 0d6b27f..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_gallery.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_menu_overflow.png b/res/drawable-w1024dp-xhdpi/ic_menu_overflow.png
deleted file mode 100644
index 715cff8..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_menu_overflow.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_settings_holo_light.png b/res/drawable-w1024dp-xhdpi/ic_settings_holo_light.png
deleted file mode 100644
index 526d123..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_settings_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_switch_photo_facing_holo_light.png b/res/drawable-w1024dp-xhdpi/ic_switch_photo_facing_holo_light.png
deleted file mode 100644
index d6b4f81..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_switch_photo_facing_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_switch_video_facing_holo_light.png b/res/drawable-w1024dp-xhdpi/ic_switch_video_facing_holo_light.png
deleted file mode 100644
index 376d868..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_switch_video_facing_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_timelapse_1.png b/res/drawable-w1024dp-xhdpi/ic_timelapse_1.png
deleted file mode 100644
index 291a22b..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_timelapse_1.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_timelapse_10.png b/res/drawable-w1024dp-xhdpi/ic_timelapse_10.png
deleted file mode 100644
index 09ae468..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_timelapse_10.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_timelapse_1_5.png b/res/drawable-w1024dp-xhdpi/ic_timelapse_1_5.png
deleted file mode 100644
index 4304281..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_timelapse_1_5.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_timelapse_2.png b/res/drawable-w1024dp-xhdpi/ic_timelapse_2.png
deleted file mode 100644
index 2101bd4..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_timelapse_2.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_timelapse_2_5.png b/res/drawable-w1024dp-xhdpi/ic_timelapse_2_5.png
deleted file mode 100644
index a2d62d1..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_timelapse_2_5.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_timelapse_3.png b/res/drawable-w1024dp-xhdpi/ic_timelapse_3.png
deleted file mode 100644
index 100ab32..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_timelapse_3.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_timelapse_none.png b/res/drawable-w1024dp-xhdpi/ic_timelapse_none.png
deleted file mode 100644
index eecb9a5..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_timelapse_none.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_viewfinder_scene_mode.png b/res/drawable-w1024dp-xhdpi/ic_viewfinder_scene_mode.png
deleted file mode 100644
index b62bf69..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_viewfinder_scene_mode.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_white_balance_auto_holo_light.png b/res/drawable-w1024dp-xhdpi/ic_white_balance_auto_holo_light.png
deleted file mode 100644
index c5e7c28..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_white_balance_auto_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_white_balance_cloudy_holo_light.png b/res/drawable-w1024dp-xhdpi/ic_white_balance_cloudy_holo_light.png
deleted file mode 100644
index b5b23cb..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_white_balance_cloudy_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_white_balance_fluorescent_holo_light.png b/res/drawable-w1024dp-xhdpi/ic_white_balance_fluorescent_holo_light.png
deleted file mode 100644
index 63c9fad..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_white_balance_fluorescent_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_white_balance_incandescent_holo_light.png b/res/drawable-w1024dp-xhdpi/ic_white_balance_incandescent_holo_light.png
deleted file mode 100644
index f00a901..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_white_balance_incandescent_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_white_balance_sunlight_holo_light.png b/res/drawable-w1024dp-xhdpi/ic_white_balance_sunlight_holo_light.png
deleted file mode 100644
index 977501b..0000000
--- a/res/drawable-w1024dp-xhdpi/ic_white_balance_sunlight_holo_light.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xhdpi/ic_exposure_holo_light.png b/res/drawable-xhdpi/ic_exposure_holo_light.png
index 85d6f56..5f4b57b 100644
--- a/res/drawable-xhdpi/ic_exposure_holo_light.png
+++ b/res/drawable-xhdpi/ic_exposure_holo_light.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_gallery.png b/res/drawable-xhdpi/ic_gallery.png
index eb189f8..e7654ee 100644
--- a/res/drawable-xhdpi/ic_gallery.png
+++ b/res/drawable-xhdpi/ic_gallery.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_quality_1080p.png b/res/drawable-xhdpi/ic_quality_1080p.png
new file mode 100644
index 0000000..d3da634
--- /dev/null
+++ b/res/drawable-xhdpi/ic_quality_1080p.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_quality_480p.png b/res/drawable-xhdpi/ic_quality_480p.png
new file mode 100644
index 0000000..d4da42e
--- /dev/null
+++ b/res/drawable-xhdpi/ic_quality_480p.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_quality_720p.png b/res/drawable-xhdpi/ic_quality_720p.png
new file mode 100644
index 0000000..7124c4e
--- /dev/null
+++ b/res/drawable-xhdpi/ic_quality_720p.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_recording_indicator.png b/res/drawable-xhdpi/ic_recording_indicator.png
new file mode 100644
index 0000000..fb3fc69
--- /dev/null
+++ b/res/drawable-xhdpi/ic_recording_indicator.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_scn_holo_light.png b/res/drawable-xhdpi/ic_scn_holo_light.png
new file mode 100644
index 0000000..503f11f
--- /dev/null
+++ b/res/drawable-xhdpi/ic_scn_holo_light.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_settings_holo_light.png b/res/drawable-xhdpi/ic_settings_holo_light.png
index 3a5d0ba..9ce2266 100644
--- a/res/drawable-xhdpi/ic_settings_holo_light.png
+++ b/res/drawable-xhdpi/ic_settings_holo_light.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_timelapse_1.png b/res/drawable-xhdpi/ic_timelapse_1.png
index 7143a6d..978a5f9 100644
--- a/res/drawable-xhdpi/ic_timelapse_1.png
+++ b/res/drawable-xhdpi/ic_timelapse_1.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_timelapse_10.png b/res/drawable-xhdpi/ic_timelapse_10.png
index f81164a..2c26374 100644
--- a/res/drawable-xhdpi/ic_timelapse_10.png
+++ b/res/drawable-xhdpi/ic_timelapse_10.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_timelapse_1_5.png b/res/drawable-xhdpi/ic_timelapse_1_5.png
index 62932aa..51b800f 100644
--- a/res/drawable-xhdpi/ic_timelapse_1_5.png
+++ b/res/drawable-xhdpi/ic_timelapse_1_5.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_timelapse_2.png b/res/drawable-xhdpi/ic_timelapse_2.png
index 51cb628..ff02d1f 100644
--- a/res/drawable-xhdpi/ic_timelapse_2.png
+++ b/res/drawable-xhdpi/ic_timelapse_2.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_timelapse_2_5.png b/res/drawable-xhdpi/ic_timelapse_2_5.png
index d49bf64..e38fc04 100644
--- a/res/drawable-xhdpi/ic_timelapse_2_5.png
+++ b/res/drawable-xhdpi/ic_timelapse_2_5.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_timelapse_3.png b/res/drawable-xhdpi/ic_timelapse_3.png
index 7f85a57..401c733 100644
--- a/res/drawable-xhdpi/ic_timelapse_3.png
+++ b/res/drawable-xhdpi/ic_timelapse_3.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_timelapse_5.png b/res/drawable-xhdpi/ic_timelapse_5.png
index 14e7ea5..7ed793b 100644
--- a/res/drawable-xhdpi/ic_timelapse_5.png
+++ b/res/drawable-xhdpi/ic_timelapse_5.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_timelapse_none.png b/res/drawable-xhdpi/ic_timelapse_none.png
index 93a172b..265f59b 100644
--- a/res/drawable-xhdpi/ic_timelapse_none.png
+++ b/res/drawable-xhdpi/ic_timelapse_none.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_video_effects_background_disco_holo.png b/res/drawable-xhdpi/ic_video_effects_background_disco_holo.png
index 4637f30..9cfab7e 100644
--- a/res/drawable-xhdpi/ic_video_effects_background_disco_holo.png
+++ b/res/drawable-xhdpi/ic_video_effects_background_disco_holo.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_video_effects_background_fields_of_wheat_holo.png b/res/drawable-xhdpi/ic_video_effects_background_fields_of_wheat_holo.png
index bde0833..cfca0b2 100644
--- a/res/drawable-xhdpi/ic_video_effects_background_fields_of_wheat_holo.png
+++ b/res/drawable-xhdpi/ic_video_effects_background_fields_of_wheat_holo.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_video_effects_background_intergalactic_holo.png b/res/drawable-xhdpi/ic_video_effects_background_intergalactic_holo.png
index 6a3b2ff..7426510 100644
--- a/res/drawable-xhdpi/ic_video_effects_background_intergalactic_holo.png
+++ b/res/drawable-xhdpi/ic_video_effects_background_intergalactic_holo.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_video_effects_background_normal_holo_dark.png b/res/drawable-xhdpi/ic_video_effects_background_normal_holo_dark.png
index af56bff..93ca230 100644
--- a/res/drawable-xhdpi/ic_video_effects_background_normal_holo_dark.png
+++ b/res/drawable-xhdpi/ic_video_effects_background_normal_holo_dark.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_viewfinder_scene_mode.png b/res/drawable-xhdpi/ic_viewfinder_scene_mode.png
deleted file mode 100644
index 18b7bbb..0000000
--- a/res/drawable-xhdpi/ic_viewfinder_scene_mode.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xhdpi/ic_viewfinder_video_quality_1080p.png b/res/drawable-xhdpi/ic_viewfinder_video_quality_1080p.png
deleted file mode 100644
index 606e66d..0000000
--- a/res/drawable-xhdpi/ic_viewfinder_video_quality_1080p.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xhdpi/ic_viewfinder_video_quality_480p.png b/res/drawable-xhdpi/ic_viewfinder_video_quality_480p.png
deleted file mode 100644
index 3dd4fb2..0000000
--- a/res/drawable-xhdpi/ic_viewfinder_video_quality_480p.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xhdpi/ic_viewfinder_video_quality_720p.png b/res/drawable-xhdpi/ic_viewfinder_video_quality_720p.png
deleted file mode 100644
index c4e08d9..0000000
--- a/res/drawable-xhdpi/ic_viewfinder_video_quality_720p.png
+++ /dev/null
Binary files differ
diff --git a/res/layout-w1024dp/camera.xml b/res/layout-sw600dp/camera.xml
similarity index 100%
rename from res/layout-w1024dp/camera.xml
rename to res/layout-sw600dp/camera.xml
diff --git a/res/layout-w1024dp/camera_control.xml b/res/layout-sw600dp/camera_control.xml
similarity index 100%
rename from res/layout-w1024dp/camera_control.xml
rename to res/layout-sw600dp/camera_control.xml
diff --git a/res/layout-w1024dp/mode_picker.xml b/res/layout-sw600dp/mode_picker.xml
similarity index 100%
rename from res/layout-w1024dp/mode_picker.xml
rename to res/layout-sw600dp/mode_picker.xml
diff --git a/res/layout-w1024dp/preview_frame.xml b/res/layout-sw600dp/preview_frame.xml
similarity index 100%
rename from res/layout-w1024dp/preview_frame.xml
rename to res/layout-sw600dp/preview_frame.xml
diff --git a/res/layout-w1024dp/preview_frame_video.xml b/res/layout-sw600dp/preview_frame_video.xml
similarity index 100%
rename from res/layout-w1024dp/preview_frame_video.xml
rename to res/layout-sw600dp/preview_frame_video.xml
diff --git a/res/layout-w1024dp/review_control.xml b/res/layout-sw600dp/review_control.xml
similarity index 100%
rename from res/layout-w1024dp/review_control.xml
rename to res/layout-sw600dp/review_control.xml
diff --git a/res/layout-w1024dp/video_camera.xml b/res/layout-sw600dp/video_camera.xml
similarity index 100%
rename from res/layout-w1024dp/video_camera.xml
rename to res/layout-sw600dp/video_camera.xml
diff --git a/res/values-w1024dp/dimens.xml b/res/values-sw600dp/dimens.xml
similarity index 100%
rename from res/values-w1024dp/dimens.xml
rename to res/values-sw600dp/dimens.xml
diff --git a/res/values-w1024dp/styles.xml b/res/values-sw600dp/styles.xml
similarity index 100%
rename from res/values-w1024dp/styles.xml
rename to res/values-sw600dp/styles.xml
diff --git a/res/values-w1280dp/dimens.xml b/res/values-sw800dp/dimens.xml
similarity index 100%
rename from res/values-w1280dp/dimens.xml
rename to res/values-sw800dp/dimens.xml
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index d5bf75f..cf17819 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -33,9 +33,9 @@
     </string-array>
 
     <array name="video_quality_largeicons" translatable="false">
-        <item>@drawable/ic_viewfinder_video_quality_1080p</item>
-        <item>@drawable/ic_viewfinder_video_quality_720p</item>
-        <item>@drawable/ic_viewfinder_video_quality_480p</item>
+        <item>@drawable/ic_quality_1080p</item>
+        <item>@drawable/ic_quality_720p</item>
+        <item>@drawable/ic_quality_480p</item>
     </array>
 
     <!-- Video Preferences Time Lapse Frame Interval icons -->
diff --git a/res/xml/camera_preferences.xml b/res/xml/camera_preferences.xml
index feaa0b0..ee8a091 100644
--- a/res/xml/camera_preferences.xml
+++ b/res/xml/camera_preferences.xml
@@ -34,7 +34,7 @@
             camera:key="pref_camera_scenemode_key"
             camera:defaultValue="@string/pref_camera_scenemode_default"
             camera:title="@string/pref_camera_scenemode_title"
-            camera:singleIcon="@drawable/ic_viewfinder_scene_mode"
+            camera:singleIcon="@drawable/ic_scn_holo_light"
             camera:entries="@array/pref_camera_scenemode_entries"
             camera:entryValues="@array/pref_camera_scenemode_entryvalues" />
     <IconListPreference
diff --git a/src/com/android/camera/ActivityBase.java b/src/com/android/camera/ActivityBase.java
index b2ef481..711ed8e 100644
--- a/src/com/android/camera/ActivityBase.java
+++ b/src/com/android/camera/ActivityBase.java
@@ -20,13 +20,14 @@
 
 import android.app.Activity;
 import android.app.KeyguardManager;
-import android.view.KeyEvent;
 import android.content.Context;
 import android.content.Intent;
+import android.content.pm.ActivityInfo;
 import android.hardware.Camera;
 import android.media.AudioManager;
 import android.os.Bundle;
 import android.util.Log;
+import android.view.KeyEvent;
 
 /**
  * Superclass of Camera and VideoCamera activities.
@@ -41,6 +42,9 @@
 
     @Override
     public void onCreate(Bundle icicle) {
+        if (Util.isTabletUI()) {
+            setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
+        }
         super.onCreate(icicle);
         setVolumeControlStream(AudioManager.STREAM_MUSIC);
     }
@@ -61,11 +65,16 @@
         // Don't grab the camera if in use by lockscreen. For example, face
         // unlock may be using the camera. Camera may be already opened in
         // onCreate. doOnResume should continue if mCameraDevice != null.
-        if (mCameraDevice == null && !hasWindowFocus() && isKeyguardLocked()) {
-            if (LOGV) Log.v(TAG, "onRsume. mOnResumePending=true");
+        // Suppose camera app is in the foreground. If users turn off and turn
+        // on the screen very fast, camera app can still have the focus when the
+        // lock screen shows up. The keyguard takes input focus, so the caemra
+        // app will lose focus when it is displayed.
+        if (LOGV) Log.v(TAG, "onResume. hasWindowFocus()=" + hasWindowFocus());
+        if (mCameraDevice == null && isKeyguardLocked()) {
+            if (LOGV) Log.v(TAG, "onResume. mOnResumePending=true");
             mOnResumePending = true;
         } else {
-            if (LOGV) Log.v(TAG, "onRsume. mOnResumePending=false");
+            if (LOGV) Log.v(TAG, "onResume. mOnResumePending=false");
             doOnResume();
             mOnResumePending = false;
         }
@@ -124,6 +133,12 @@
 
     private boolean isKeyguardLocked() {
         KeyguardManager kgm = (KeyguardManager) getSystemService(Context.KEYGUARD_SERVICE);
+        if (LOGV) {
+            if (kgm != null) {
+                Log.v(TAG, "kgm.isKeyguardLocked()="+kgm.isKeyguardLocked()
+                        + ". kgm.isKeyguardSecure()="+kgm.isKeyguardSecure());
+            }
+        }
         // isKeyguardSecure excludes the slide lock case.
         return (kgm != null) && kgm.isKeyguardLocked() && kgm.isKeyguardSecure();
     }
diff --git a/src/com/android/camera/PreviewFrameLayout.java b/src/com/android/camera/PreviewFrameLayout.java
index 5d31e2b..8429259 100644
--- a/src/com/android/camera/PreviewFrameLayout.java
+++ b/src/com/android/camera/PreviewFrameLayout.java
@@ -16,10 +16,9 @@
 
 package com.android.camera;
 
-import com.android.camera.R;
-
+import android.app.Activity;
 import android.content.Context;
-import android.graphics.Rect;
+import android.content.pm.ActivityInfo;
 import android.util.AttributeSet;
 import android.widget.RelativeLayout;
 /**
@@ -31,14 +30,21 @@
         public void onSizeChanged();
     }
 
-    private double mAspectRatio = 4.0 / 3.0;
+    private double mAspectRatio;
 
     public PreviewFrameLayout(Context context, AttributeSet attrs) {
         super(context, attrs);
+        setAspectRatio(4.0 / 3.0);
     }
 
     public void setAspectRatio(double ratio) {
         if (ratio <= 0.0) throw new IllegalArgumentException();
+
+        if (((Activity) getContext()).getRequestedOrientation()
+                == ActivityInfo.SCREEN_ORIENTATION_PORTRAIT) {
+            ratio = 1 / ratio;
+        }
+
         if (mAspectRatio != ratio) {
             mAspectRatio = ratio;
             requestLayout();
diff --git a/src/com/android/camera/Storage.java b/src/com/android/camera/Storage.java
index 564c088..38a6d48 100644
--- a/src/com/android/camera/Storage.java
+++ b/src/com/android/camera/Storage.java
@@ -84,10 +84,16 @@
             values.put(ImageColumns.LONGITUDE, location.getLongitude());
         }
 
-        Uri uri = resolver.insert(Images.Media.EXTERNAL_CONTENT_URI, values);
-        if (uri == null) {
-            Log.e(TAG, "Failed to write MediaStore");
-            return null;
+        Uri uri = null;
+        try {
+            uri = resolver.insert(Images.Media.EXTERNAL_CONTENT_URI, values);
+        } catch (Throwable th)  {
+            // This can happen when the external volume is already mounted, but
+            // MediaScanner has not notify MediaProvider to add that volume.
+            // The picture is still safe and MediaScanner will find it and
+            // insert it into MediaProvider. The only problem is that the user
+            // cannot click the thumbnail to review the picture.
+            Log.e(TAG, "Failed to write MediaStore" + th);
         }
         return uri;
     }
diff --git a/src/com/android/camera/Util.java b/src/com/android/camera/Util.java
index 4c28e56..21d97c3 100644
--- a/src/com/android/camera/Util.java
+++ b/src/com/android/camera/Util.java
@@ -90,7 +90,7 @@
     }
 
     public static void initialize(Context context) {
-        sIsTabletUI = (context.getResources().getConfiguration().screenWidthDp >= 1024);
+        sIsTabletUI = (context.getResources().getConfiguration().smallestScreenWidthDp >= 600);
 
         DisplayMetrics metrics = new DisplayMetrics();
         WindowManager wm = (WindowManager)
diff --git a/src/com/android/camera/panorama/MosaicRenderer.java b/src/com/android/camera/panorama/MosaicRenderer.java
index 1ff307d..f055c0e 100644
--- a/src/com/android/camera/panorama/MosaicRenderer.java
+++ b/src/com/android/camera/panorama/MosaicRenderer.java
@@ -43,8 +43,9 @@
       *
       * @param width width of the drawing surface in pixels.
       * @param height height of the drawing surface in pixels.
+      * @param isLandscapeOrientation is the orientation of the activity layout in landscape.
       */
-     public static native void reset(int width, int height);
+     public static native void reset(int width, int height, boolean isLandscapeOrientation);
 
      /**
       * Calling this function will render the SurfaceTexture to a new 2D texture
diff --git a/src/com/android/camera/panorama/MosaicRendererSurfaceView.java b/src/com/android/camera/panorama/MosaicRendererSurfaceView.java
index 08d4eff..b2acfde 100644
--- a/src/com/android/camera/panorama/MosaicRendererSurfaceView.java
+++ b/src/com/android/camera/panorama/MosaicRendererSurfaceView.java
@@ -16,7 +16,9 @@
 
 package com.android.camera.panorama;
 
+import android.app.Activity;
 import android.content.Context;
+import android.content.pm.ActivityInfo;
 import android.graphics.PixelFormat;
 import android.opengl.GLSurfaceView;
 import android.os.ConditionVariable;
@@ -33,23 +35,34 @@
     private static final boolean DEBUG = false;
     private MosaicRendererSurfaceViewRenderer mRenderer;
     private ConditionVariable mPreviewFrameReadyForProcessing;
+    private boolean mIsLandscapeOrientation = true;
 
     public MosaicRendererSurfaceView(Context context) {
         super(context);
-        init(false, 0, 0);
-        setZOrderMediaOverlay(true);
+        initialize(context, false, 0, 0);
     }
 
     public MosaicRendererSurfaceView(Context context, AttributeSet attrs) {
         super(context, attrs);
-        init(false, 0, 0);
+        initialize(context, false, 0, 0);
+    }
+
+    public MosaicRendererSurfaceView(Context context, boolean translucent,
+            int depth, int stencil) {
+        super(context);
+        initialize(context, translucent, depth, stencil);
+    }
+
+    private void initialize(Context context, boolean translucent, int depth, int stencil) {
+        getDisplayOrientation(context);
+        init(translucent, depth, stencil);
         setZOrderMediaOverlay(true);
     }
 
-    public MosaicRendererSurfaceView(Context context, boolean translucent, int depth, int stencil) {
-        super(context);
-        init(translucent, depth, stencil);
-        setZOrderMediaOverlay(true);
+    private void getDisplayOrientation(Context context) {
+        Activity activity = (PanoramaActivity) context;
+        mIsLandscapeOrientation = (activity.getRequestedOrientation()
+                == ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE );
     }
 
     private void init(boolean translucent, int depth, int stencil) {
@@ -78,7 +91,7 @@
             new ConfigChooser(5, 6, 5, 0, depth, stencil));
 
         /* Set the renderer responsible for frame rendering */
-        mRenderer = new MosaicRendererSurfaceViewRenderer();
+        mRenderer = new MosaicRendererSurfaceViewRenderer(mIsLandscapeOrientation);
         setRenderer(mRenderer);
         setRenderMode(RENDERMODE_WHEN_DIRTY);
         mPreviewFrameReadyForProcessing = new ConditionVariable();
diff --git a/src/com/android/camera/panorama/MosaicRendererSurfaceViewRenderer.java b/src/com/android/camera/panorama/MosaicRendererSurfaceViewRenderer.java
index b2b2f56..3089972 100755
--- a/src/com/android/camera/panorama/MosaicRendererSurfaceViewRenderer.java
+++ b/src/com/android/camera/panorama/MosaicRendererSurfaceViewRenderer.java
@@ -25,9 +25,14 @@
 public class MosaicRendererSurfaceViewRenderer implements GLSurfaceView.Renderer
 {
     private static final String TAG = "MosaicRendererSurfaceViewRenderer";
+    private boolean mIsLandscapeOrientation;
 
     private MosaicSurfaceCreateListener mSurfaceCreateListener;
 
+    public MosaicRendererSurfaceViewRenderer(boolean isLandscapeOrientation) {
+        mIsLandscapeOrientation = isLandscapeOrientation;
+    }
+
     /** A callback to be called when the surface is created */
     public interface MosaicSurfaceCreateListener {
         public void onMosaicSurfaceCreated(final int surface);
@@ -41,7 +46,7 @@
 
     @Override
     public void onSurfaceChanged(GL10 gl, int width, int height) {
-        MosaicRenderer.reset(width, height);
+        MosaicRenderer.reset(width, height, mIsLandscapeOrientation);
         Log.i(TAG, "Renderer: onSurfaceChanged");
         if (mSurfaceCreateListener != null) {
             mSurfaceCreateListener.onMosaicSurfaceChanged();
diff --git a/src/com/android/camera/panorama/PanoramaActivity.java b/src/com/android/camera/panorama/PanoramaActivity.java
index 6fd9b1a..e63ef71 100755
--- a/src/com/android/camera/panorama/PanoramaActivity.java
+++ b/src/com/android/camera/panorama/PanoramaActivity.java
@@ -983,9 +983,10 @@
         // the screen).
         if (mCameraState != PREVIEW_STOPPED) stopCameraPreview();
 
-        int orientation = Util.getDisplayOrientation(Util.getDisplayRotation(this),
-                CameraHolder.instance().getBackCameraId());
-        mCameraDevice.setDisplayOrientation(orientation);
+        // Set the display orientation to 0, so that the underlying mosaic library
+        // can always get undistorted mPreviewWidth x mPreviewHeight image data
+        // from SurfaceTexture.
+        mCameraDevice.setDisplayOrientation(0);
 
         setPreviewTexture(mSurfaceTexture);
 
diff --git a/src/com/android/camera/ui/ControlPanelLayout.java b/src/com/android/camera/ui/ControlPanelLayout.java
index f85d955..c6ab99f 100644
--- a/src/com/android/camera/ui/ControlPanelLayout.java
+++ b/src/com/android/camera/ui/ControlPanelLayout.java
@@ -16,7 +16,9 @@
 
 package com.android.camera.ui;
 
+import android.app.Activity;
 import android.content.Context;
+import android.content.pm.ActivityInfo;
 import android.util.AttributeSet;
 import android.util.Log;
 import android.widget.RelativeLayout;
@@ -25,8 +27,7 @@
  * A layout which handles the the width of the control panel, which contains
  * the shutter button, thumbnail, front/back camera picker, and mode picker.
  * The purpose of this is to have a consistent width of control panel in camera,
- * camcorder, and panorama modes. The control panel can also be GONE and the
- * preview can expand to full-screen in panorama.
+ * camcorder, and panorama modes.
  */
 public class ControlPanelLayout extends RelativeLayout {
     private static final String TAG = "ControlPanelLayout";
@@ -39,29 +40,50 @@
     protected void onMeasure(int widthSpec, int heightSpec) {
         int widthSpecSize = MeasureSpec.getSize(widthSpec);
         int heightSpecSize = MeasureSpec.getSize(heightSpec);
-        int widthMode = MeasureSpec.getMode(widthSpec);
-        int measuredWidth = 0;
+        int measuredSize = 0;
+        int mode, longSideSize, shortSideSize, minSize, specSize;
 
-        if (widthSpecSize > 0 && heightSpecSize > 0 && widthMode == MeasureSpec.AT_MOST) {
-            // Calculate how big 4:3 preview occupies. Then deduct it from the
-            // width of the parent.
-            measuredWidth = (int) (widthSpecSize - heightSpecSize / 3.0 * 4.0 - 16);
+        boolean isLandscape = (((Activity) getContext()).getRequestedOrientation()
+                == ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
+
+        if (isLandscape) {
+            mode = MeasureSpec.getMode(widthSpec);
+            longSideSize = widthSpecSize;
+            shortSideSize = heightSpecSize;
+            minSize = getSuggestedMinimumWidth();
+            specSize = widthSpecSize;
         } else {
-            Log.e(TAG, "layout_width of ControlPanelLayout should be wrap_content");
+            mode = MeasureSpec.getMode(heightSpec);
+            longSideSize = heightSpecSize;
+            shortSideSize = widthSpecSize;
+            minSize = getSuggestedMinimumHeight();
+            specSize = heightSpecSize;
         }
 
-        // Make sure the width is bigger than the minimum width.
-        int minWidth = getSuggestedMinimumWidth();
-        if (minWidth > measuredWidth) {
-            measuredWidth = minWidth;
+        if (widthSpecSize > 0 && heightSpecSize > 0 && mode == MeasureSpec.AT_MOST) {
+            // Calculate how big 4:3 preview occupies. Then deduct it from the
+            // width of the parent.
+            measuredSize = (int) (longSideSize - shortSideSize / 3.0 * 4.0);
+        } else {
+            Log.e(TAG, "layout_xxx of ControlPanelLayout should be wrap_content");
+        }
+
+        // Make sure the width is bigger than the minimum length.
+        if (minSize > measuredSize) {
+            measuredSize = minSize;
         }
 
         // The width cannot be bigger than the constraint.
-        if (widthMode == MeasureSpec.AT_MOST && measuredWidth > widthSpecSize) {
-            measuredWidth = widthSpecSize;
+        if (mode == MeasureSpec.AT_MOST && measuredSize > specSize) {
+            measuredSize = specSize;
         }
 
-        super.onMeasure(MeasureSpec.makeMeasureSpec(measuredWidth, MeasureSpec.EXACTLY),
-                heightSpec);
+        if (isLandscape) {
+            widthSpec = MeasureSpec.makeMeasureSpec(measuredSize, MeasureSpec.EXACTLY);
+        } else {
+            heightSpec = MeasureSpec.makeMeasureSpec(measuredSize, MeasureSpec.EXACTLY);
+        }
+
+        super.onMeasure(widthSpec, heightSpec);
     }
 }