在做camera和SurfaceView做摄像头程序时,需要获取camera支持的相片大小,在低版本sdk中没有getSupportedPictureSizes函数,怎么办呢,请参阅下面的关键代码: 1.定义Size类 public class Size { /*** * Sets the dimensions for pictures. * * @param w the photo width (pixels) * @param h the photo height (pixels) */ p
WindowManager.LayoutParams: int TYPE_SYSTEM_ALERT Window type: system window, such as low power alert.(系统窗体,例如低电量警告提示框)int TYPE_SYSTEM_OVERLAY Window type: system overlay windows, which need to be displayed on top of everything else.(系统覆盖窗体,哪个需要显示在