adds stub for notifications

This commit is contained in:
2021-12-29 23:22:12 +01:00
parent 734b64ce3b
commit 6e3f3c44af
25 changed files with 267 additions and 43 deletions

View File

@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
tools:context="com.example.bump.ui.MainActivity">
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"

View File

@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".SecondFragment">
tools:context="com.example.bump.ui.SecondFragment">
<!--androidx.camera.view.PreviewView
android:id="@+id/viewFinder"

View File

@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".FirstFragment">
tools:context="com.example.bump.ui.FirstFragment">
<TextView
android:id="@+id/textview_first"

View File

@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".SecondFragment">
tools:context="com.example.bump.ui.SecondFragment">
<androidx.camera.view.PreviewView
android:id="@+id/viewFinder"

View File

@ -1,7 +1,7 @@
<menu 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"
tools:context="com.maenle.bump.MainActivity">
tools:context="com.maenle.bump.com.example.bump.ui.MainActivity">
<item
android:id="@+id/action_settings"
android:orderInCategory="100"

View File

@ -7,7 +7,7 @@
<fragment
android:id="@+id/FirstFragment"
android:name="com.maenle.bump.FirstFragment"
android:name="com.example.bump.ui.FirstFragment"
android:label="@string/first_fragment_label"
tools:layout="@layout/fragment_first">
@ -17,7 +17,7 @@
</fragment>
<fragment
android:id="@+id/SecondFragment"
android:name="com.maenle.bump.SecondFragment"
android:name="com.example.bump.ui.SecondFragment"
android:label="@string/second_fragment_label"
tools:layout="@layout/fragment_second">
@ -27,7 +27,7 @@
</fragment>
<fragment
android:id="@+id/CameraFragment"
android:name="com.maenle.bump.CameraFragment"
android:name="com.example.bump.ui.CameraFragment"
android:label="@string/camera_fragment_label"
tools:layout="@layout/fragment_camera">

View File

@ -14,4 +14,8 @@
<string name="camera_fragment_label">Camera Fragment</string>
<string name="preference_file_key">code_file_key</string>
<string name="code_key">code_key</string>
<string name="notification_title">Bump</string>
<string name="bump_notification_channel_id">bump_id</string>
<string name="snooze">Snooze</string>
<string name="bump_notification_channel_name">Bump</string>
</resources>