initial android app setup, adds fragments, camera

- scans in camera view for qr code
- camera view inside fragment
- fragment 1 passed to camera fragment
- prints qr code to log
This commit is contained in:
2021-12-12 15:44:30 +01:00
commit 59044e0554
49 changed files with 1396 additions and 0 deletions

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/nav_graph"
app:startDestination="@id/FirstFragment">
<fragment
android:id="@+id/FirstFragment"
android:name="com.example.bump.FirstFragment"
android:label="@string/first_fragment_label"
tools:layout="@layout/fragment_first">
<action
android:id="@+id/action_FirstFragment_to_SecondFragment"
app:destination="@id/CameraFragment" />
</fragment>
<fragment
android:id="@+id/SecondFragment"
android:name="com.example.bump.SecondFragment"
android:label="@string/second_fragment_label"
tools:layout="@layout/fragment_second">
<action
android:id="@+id/action_SecondFragment_to_FirstFragment"
app:destination="@id/FirstFragment" />
</fragment>
<fragment
android:id="@+id/CameraFragment"
android:name="com.example.bump.CameraFragment"
android:label="@string/camera_fragment_label"
tools:layout="@layout/fragment_camera">
<action
android:id="@+id/action_SecondFragment_to_FirstFragment"
app:destination="@id/FirstFragment" />
</fragment>
</navigation>