Skip to content

Commit

Permalink
Merge pull request #63 from CameraKit/develop
Browse files Browse the repository at this point in the history
v4.0.1 - Content Updates
  • Loading branch information
austinkettner authored Jan 10, 2019
2 parents e34f887 + d3b0157 commit d6357aa
Show file tree
Hide file tree
Showing 4 changed files with 417 additions and 4 deletions.
1 change: 1 addition & 0 deletions components/docs/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class Docs extends React.Component {
const options = {
'1.0.0-beta3.10': 'v1.0.0-beta3.10',
'1.0.0-beta3.9': 'v1.0.0-beta3.9',
'0.13.4': 'v0.13.4',
'0.13.2': 'v0.13.2',
};

Expand Down
8 changes: 4 additions & 4 deletions components/docs/versions/0.13.2/page1.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

## Setup

Add __CameraKit__ to the dependencies block in your <b>app</b> level <b>uild.gradle</b>:
Add __CameraKit__ to the dependencies block in your <b>app</b> level <b>build.gradle</b>:

```groovy
compile 'com.wonderkiln:camerakit:0.12.0'
compile 'com.wonderkiln:camerakit:0.13.2'
```

## Usage
Expand Down Expand Up @@ -374,9 +374,9 @@ You can setup the <b>CameraView</b> dimensions however you want. When your dimen

### adjustViewBounds

You can use a mix of a fixed dimension (a set value or <b>match_parent</b>) as well as <b>wrap_content</b>. When you do this make sure you set <b>android:adjustViewBounds="true"</b> on the <b>CameraView</b>.
You can use a mix of a fixed dimension (a set value or <b>match\_parent</b>) as well as <b>wrap\_content</b>. When you do this make sure you set <b>android:adjustViewBounds="true"</b> on the <b>CameraView</b>.

When you do this the dimension set to <b>wrap_content</b> will automatically align with the true aspect ratio of the preview surface. In this case the whole preview will be visible with no cropping.
When you do this the dimension set to <b>wrap\_content</b> will automatically align with the true aspect ratio of the preview surface. In this case the whole preview will be visible with no cropping.

## Events

Expand Down
Loading

0 comments on commit d6357aa

Please sign in to comment.