diff --git a/code/MyApplication/app/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.java b/code/MyApplication/app/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.java new file mode 100644 index 0000000..982ba51 --- /dev/null +++ b/code/MyApplication/app/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.java @@ -0,0 +1,26 @@ +package com.example.myapplication; + +import android.content.Context; + +import androidx.test.platform.app.InstrumentationRegistry; +import androidx.test.ext.junit.runners.AndroidJUnit4; + +import org.junit.Test; +import org.junit.runner.RunWith; + +import static org.junit.Assert.*; + +/** + * Instrumented test, which will execute on an Android device. + * + * @see Testing documentation + */ +@RunWith(AndroidJUnit4.class) +public class ExampleInstrumentedTest { + @Test + public void useAppContext() { + // Context of the app under test. + Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); + assertEquals("com.example.myapplication", appContext.getPackageName()); + } +} \ No newline at end of file diff --git a/code/MyApplication/app/src/main/AndroidManifest.xml b/code/MyApplication/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..d030f57 --- /dev/null +++ b/code/MyApplication/app/src/main/AndroidManifest.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/code/MyApplication/app/src/main/java/com/example/myapplication/MainActivity.java b/code/MyApplication/app/src/main/java/com/example/myapplication/MainActivity.java new file mode 100644 index 0000000..e640aaf --- /dev/null +++ b/code/MyApplication/app/src/main/java/com/example/myapplication/MainActivity.java @@ -0,0 +1,14 @@ +package com.example.myapplication; + +import androidx.appcompat.app.AppCompatActivity; + +import android.os.Bundle; + +public class MainActivity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_main); + } +} \ No newline at end of file diff --git a/code/MyApplication/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/code/MyApplication/app/src/main/res/drawable-v24/ic_launcher_foreground.xml new file mode 100644 index 0000000..2b068d1 --- /dev/null +++ b/code/MyApplication/app/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/code/MyApplication/app/src/main/res/drawable/ic_launcher_background.xml b/code/MyApplication/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..07d5da9 --- /dev/null +++ b/code/MyApplication/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/MyApplication/app/src/main/res/layout/activity_main.xml b/code/MyApplication/app/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..4fc2444 --- /dev/null +++ b/code/MyApplication/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/code/MyApplication/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/code/MyApplication/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..eca70cf --- /dev/null +++ b/code/MyApplication/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/code/MyApplication/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/code/MyApplication/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 0000000..eca70cf --- /dev/null +++ b/code/MyApplication/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/code/MyApplication/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/code/MyApplication/app/src/main/res/mipmap-hdpi/ic_launcher.webp new file mode 100644 index 0000000..c209e78 Binary files /dev/null and b/code/MyApplication/app/src/main/res/mipmap-hdpi/ic_launcher.webp differ diff --git a/code/MyApplication/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/code/MyApplication/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp new file mode 100644 index 0000000..b2dfe3d Binary files /dev/null and b/code/MyApplication/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ diff --git a/code/MyApplication/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/code/MyApplication/app/src/main/res/mipmap-mdpi/ic_launcher.webp new file mode 100644 index 0000000..4f0f1d6 Binary files /dev/null and b/code/MyApplication/app/src/main/res/mipmap-mdpi/ic_launcher.webp differ diff --git a/code/MyApplication/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/code/MyApplication/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp new file mode 100644 index 0000000..62b611d Binary files /dev/null and b/code/MyApplication/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ diff --git a/code/MyApplication/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/code/MyApplication/app/src/main/res/mipmap-xhdpi/ic_launcher.webp new file mode 100644 index 0000000..948a307 Binary files /dev/null and b/code/MyApplication/app/src/main/res/mipmap-xhdpi/ic_launcher.webp differ diff --git a/code/MyApplication/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/code/MyApplication/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..1b9a695 Binary files /dev/null and b/code/MyApplication/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ diff --git a/code/MyApplication/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/code/MyApplication/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp new file mode 100644 index 0000000..28d4b77 Binary files /dev/null and b/code/MyApplication/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ diff --git a/code/MyApplication/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/code/MyApplication/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..9287f50 Binary files /dev/null and b/code/MyApplication/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ diff --git a/code/MyApplication/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/code/MyApplication/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp new file mode 100644 index 0000000..aa7d642 Binary files /dev/null and b/code/MyApplication/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ diff --git a/code/MyApplication/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/code/MyApplication/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..9126ae3 Binary files /dev/null and b/code/MyApplication/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ diff --git a/code/MyApplication/app/src/main/res/values-night/themes.xml b/code/MyApplication/app/src/main/res/values-night/themes.xml new file mode 100644 index 0000000..203e219 --- /dev/null +++ b/code/MyApplication/app/src/main/res/values-night/themes.xml @@ -0,0 +1,16 @@ + + + + \ No newline at end of file diff --git a/code/MyApplication/app/src/main/res/values/colors.xml b/code/MyApplication/app/src/main/res/values/colors.xml new file mode 100644 index 0000000..f8c6127 --- /dev/null +++ b/code/MyApplication/app/src/main/res/values/colors.xml @@ -0,0 +1,10 @@ + + + #FFBB86FC + #FF6200EE + #FF3700B3 + #FF03DAC5 + #FF018786 + #FF000000 + #FFFFFFFF + \ No newline at end of file diff --git a/code/MyApplication/app/src/main/res/values/strings.xml b/code/MyApplication/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..3de1a39 --- /dev/null +++ b/code/MyApplication/app/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + My Application + \ No newline at end of file diff --git a/code/MyApplication/app/src/main/res/values/themes.xml b/code/MyApplication/app/src/main/res/values/themes.xml new file mode 100644 index 0000000..eebc2d0 --- /dev/null +++ b/code/MyApplication/app/src/main/res/values/themes.xml @@ -0,0 +1,16 @@ + + + + \ No newline at end of file diff --git a/code/MyApplication/app/src/test/java/com/example/myapplication/ExampleUnitTest.java b/code/MyApplication/app/src/test/java/com/example/myapplication/ExampleUnitTest.java new file mode 100644 index 0000000..bf43ee5 --- /dev/null +++ b/code/MyApplication/app/src/test/java/com/example/myapplication/ExampleUnitTest.java @@ -0,0 +1,17 @@ +package com.example.myapplication; + +import org.junit.Test; + +import static org.junit.Assert.*; + +/** + * Example local unit test, which will execute on the development machine (host). + * + * @see Testing documentation + */ +public class ExampleUnitTest { + @Test + public void addition_isCorrect() { + assertEquals(4, 2 + 2); + } +} \ No newline at end of file