在相机应用程序中,了解如何构建包含实时相机预览的布局

In a camera application, understanding how to build a layout containing the live camera preview

Android Developer Guide about developing a Camera application 中,在演示了如何创建相机预览后 class,他们正在演示如何构建包含相机预览的基本 XML 布局。

section titled "Placing preview in a layout"中表示

This layout type is used so that additional picture information or controls can be overlayed on the live camera preview images.

问题是

  1. 他们说的是什么附加图片信息?

  2. 覆盖附加图片信息或控制实时相机预览是什么意思图片?他们在谈论什么控件?

补充图片信息

当前相机状态或您要显示的信息。

例如:图片尺寸(分辨率)、图片比例、拍照张数等。


额外的控制

更改相机设置或自定义操作。

例如:切换图片大小、闪光灯on/off、添加滤镜等。