summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/VideoCamera.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/VideoCamera.java')
-rw-r--r--src/com/android/camera/VideoCamera.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/VideoCamera.java b/src/com/android/camera/VideoCamera.java
index 300d31f..d0027f2 100644
--- a/src/com/android/camera/VideoCamera.java
+++ b/src/com/android/camera/VideoCamera.java
@@ -504,8 +504,8 @@ public class VideoCamera extends ActivityBase
}
private void initializeZoomPicker() {
- Button zoomIncrement = (Button) findViewById(R.id.zoom_increment);
- Button zoomDecrement = (Button) findViewById(R.id.zoom_decrement);
+ View zoomIncrement = findViewById(R.id.zoom_increment);
+ View zoomDecrement = findViewById(R.id.zoom_decrement);
TextView zoomRatio = (TextView) findViewById(R.id.zoom_ratio);
if (zoomIncrement != null && zoomDecrement != null && mParameters.isZoomSupported()) {
mZoomPicker = new ZoomPicker(this, zoomIncrement, zoomDecrement, zoomRatio);