Small fixes

pull/1/head
Mattia Iavarone 7 years ago
parent 9774bcc1ce
commit aece03384d
  1. 5
      README.md
  2. 4
      demo/src/main/res/layout/activity_main.xml
  3. 2
      demo/src/main/res/values/strings.xml

@ -212,7 +212,7 @@ This means that part of the preview is hidden, and the image output will contain
## XML Attributes ## XML Attributes
```xml ```xml
<com.otaliastudios.cameraview.CameraView xmlns:app="http://schemas.android.com/apk/res-auto" <com.otaliastudios.cameraview.CameraView
android:id="@+id/camera" android:id="@+id/camera"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -226,8 +226,7 @@ This means that part of the preview is hidden, and the image output will contain
app:cameraCropOutput="true" app:cameraCropOutput="true"
app:cameraJpegQuality="100" app:cameraJpegQuality="100"
app:cameraVideoQuality="480p" app:cameraVideoQuality="480p"
app:cameraWhiteBalance="auto" app:cameraWhiteBalance="auto" />
android:adjustViewBounds="true" />
``` ```
|XML Attribute|Method|Values|Default Value| |XML Attribute|Method|Values|Default Value|

@ -291,7 +291,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<com.flurgle.cameraview.demo.AutoUnfocusEditText <com.otaliastudios.cameraview.demo.AutoUnfocusEditText
android:id="@+id/width" android:id="@+id/width"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -391,7 +391,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<com.flurgle.cameraview.demo.AutoUnfocusEditText <com.otaliastudios.cameraview.demo.AutoUnfocusEditText
android:id="@+id/height" android:id="@+id/height"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -1,3 +1,3 @@
<resources> <resources>
<string name="app_name">CameraKit Preview</string> <string name="app_name">CameraView Engine Preview</string>
</resources> </resources>

Loading…
Cancel
Save