Update README

This commit is contained in:
Jenly
2023-03-06 23:55:20 +08:00
parent 12498358e7
commit 9b73dc3a23

View File

@@ -217,7 +217,7 @@ getCameraScan()
**ivFlashlight** 是布局内置的手电筒,如果是继承 **CaptureActivity****CaptureFragment**控件id可复写`getFlashlightId`方法自定义,默认为 **ivFlashlight**。返回0表示无需内置手电筒。您也可以自己去定义 **ivFlashlight** 是布局内置的手电筒,如果是继承 **CaptureActivity****CaptureFragment**控件id可复写`getFlashlightId`方法自定义,默认为 **ivFlashlight**。返回0表示无需内置手电筒。您也可以自己去定义
> 可自定义布局(覆写`getLayoutId方法`),布局内至少要保证有 **PreviewView**。 > 可自定义布局(覆写`getLayoutId`方法),布局内至少要保证有 **PreviewView**。
```Xml ```Xml
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"