Skip to content

Commit

Permalink
Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy-budiyev committed May 19, 2022
1 parent e5beaab commit 97e2410
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ dependencyResolutionManagement {
Step 2. Add dependency:
```gradle
dependencies {
implementation 'com.github.yuriy-budiyev:code-scanner:2.1.2'
implementation 'com.github.yuriy-budiyev:code-scanner:2.2.0'
}
```
Add camera permission and hardware feature to AndroidManifest.xml (Don't forget about dynamic permissions on API >= 23):
Expand Down Expand Up @@ -87,6 +87,7 @@ Define a view in your layout file:
app:frameAspectRatioHeight="1"
app:frameSize="0.75"
app:frameThickness="2dp"
app:frameVerticalBias="0.5"
app:maskColor="#77000000"/>
</FrameLayout>
```
Expand Down Expand Up @@ -196,7 +197,7 @@ class MainFragment : Fragment() {
private lateinit var codeScanner: CodeScanner

override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?): View? {
savedInstanceState: Bundle?): View {
return inflater.inflate(R.layout.fragment_main, container, false)
}

Expand Down

0 comments on commit 97e2410

Please sign in to comment.