Skip to content
This repository was archived by the owner on Oct 10, 2020. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,30 @@ If you changed the protos.proto you've to execute the ./generate_proto.sh to upd
### Android "Could not find org.jetbrains.kotlin:kotlin-stdlib-jre..."
Change `org.jetbrains.kotlin:kotlin-stdlib-jre` to `org.jetbrains.kotlin:kotlin-stdlib-jdk`
([StackOverflow](https://stackoverflow.com/a/53358817))


## Customizing Scanning Screen

### Title in Appbar at top [Android]

Open up : android/app/src/main/**AndroidManifest.xml

After `</activity>` closing tag add following:
```xml
<activity
android:name="de.mintware.barcode_scan.BarcodeScannerActivity"
android:label="My Activity Title" />
```
(Replace "My Activity Title" with your desired title)


### Hiding Appbar [Android]

Open AndroidManifest.xml like above and add below code after `</activity>` closing tag

```xml
<activity
android:name="de.mintware.barcode_scan.BarcodeScannerActivity"
android:theme="@android:style/Theme.Black.NoTitleBar" />
```