summaryrefslogtreecommitdiffstats
path: root/docs/html/guide/topics/media/camera.jd
diff options
context:
space:
mode:
Diffstat (limited to 'docs/html/guide/topics/media/camera.jd')
-rw-r--r--docs/html/guide/topics/media/camera.jd2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/guide/topics/media/camera.jd b/docs/html/guide/topics/media/camera.jd
index a63270a..3fe23f8 100644
--- a/docs/html/guide/topics/media/camera.jd
+++ b/docs/html/guide/topics/media/camera.jd
@@ -617,7 +617,7 @@ public class CameraActivity extends Activity {
// Create our Preview view and set it as the content of our activity.
mPreview = new CameraPreview(this, mCamera);
- FrameLayout preview = (FrameLayout) findViewById(id.camera_preview);
+ FrameLayout preview = (FrameLayout) findViewById(R.id.camera_preview);
preview.addView(mPreview);
}
}