diff --git a/myapplication/.gitignore b/myapplication/.gitignore new file mode 100644 index 0000000..42afabf --- /dev/null +++ b/myapplication/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/myapplication/build.gradle b/myapplication/build.gradle new file mode 100644 index 0000000..966d2c5 --- /dev/null +++ b/myapplication/build.gradle @@ -0,0 +1,38 @@ +plugins { + id 'com.android.application' +} + +android { + compileSdkVersion 30 + buildToolsVersion "30.0.3" + + defaultConfig { + applicationId "com.example.myapplication" + minSdkVersion 16 + targetSdkVersion 30 + versionCode 1 + versionName "1.0" + + testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + } + + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } +} + +dependencies { + + implementation 'com.android.support:appcompat-v7:28.0.0' + implementation 'com.android.support.constraint:constraint-layout:2.0.1' + testImplementation 'junit:junit:4.+' + androidTestImplementation 'com.android.support.test:runner:1.0.2' + androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' +} \ No newline at end of file diff --git a/myapplication/proguard-rules.pro b/myapplication/proguard-rules.pro new file mode 100644 index 0000000..481bb43 --- /dev/null +++ b/myapplication/proguard-rules.pro @@ -0,0 +1,21 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/myapplication/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.java b/myapplication/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.java new file mode 100644 index 0000000..a587abf --- /dev/null +++ b/myapplication/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.java @@ -0,0 +1,25 @@ +package com.example.myapplication; + +import android.content.Context; +import android.support.test.InstrumentationRegistry; +import android.support.test.runner.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/myapplication/src/main/AndroidManifest.xml b/myapplication/src/main/AndroidManifest.xml new file mode 100644 index 0000000..e00d793 --- /dev/null +++ b/myapplication/src/main/AndroidManifest.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/myapplication/src/main/java/com/example/myapplication/MainActivity.java b/myapplication/src/main/java/com/example/myapplication/MainActivity.java new file mode 100644 index 0000000..9af7179 --- /dev/null +++ b/myapplication/src/main/java/com/example/myapplication/MainActivity.java @@ -0,0 +1,13 @@ +package com.example.myapplication; + +import android.support.v7.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/myapplication/src/main/res/drawable-v24/ic_launcher_foreground.xml b/myapplication/src/main/res/drawable-v24/ic_launcher_foreground.xml new file mode 100644 index 0000000..2b068d1 --- /dev/null +++ b/myapplication/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/myapplication/src/main/res/drawable/ic_launcher_background.xml b/myapplication/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..07d5da9 --- /dev/null +++ b/myapplication/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/myapplication/src/main/res/layout/activity_main.xml b/myapplication/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..84f1951 --- /dev/null +++ b/myapplication/src/main/res/layout/activity_main.xml @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/myapplication/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/myapplication/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..eca70cf --- /dev/null +++ b/myapplication/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/myapplication/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/myapplication/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 0000000..eca70cf --- /dev/null +++ b/myapplication/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/myapplication/src/main/res/mipmap-hdpi/ic_launcher.png b/myapplication/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000..a571e60 Binary files /dev/null and b/myapplication/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/myapplication/src/main/res/mipmap-hdpi/ic_launcher_round.png b/myapplication/src/main/res/mipmap-hdpi/ic_launcher_round.png new file mode 100644 index 0000000..61da551 Binary files /dev/null and b/myapplication/src/main/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/myapplication/src/main/res/mipmap-mdpi/ic_launcher.png b/myapplication/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000..c41dd28 Binary files /dev/null and b/myapplication/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/myapplication/src/main/res/mipmap-mdpi/ic_launcher_round.png b/myapplication/src/main/res/mipmap-mdpi/ic_launcher_round.png new file mode 100644 index 0000000..db5080a Binary files /dev/null and b/myapplication/src/main/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/myapplication/src/main/res/mipmap-xhdpi/ic_launcher.png b/myapplication/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000..6dba46d Binary files /dev/null and b/myapplication/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/myapplication/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/myapplication/src/main/res/mipmap-xhdpi/ic_launcher_round.png new file mode 100644 index 0000000..da31a87 Binary files /dev/null and b/myapplication/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/myapplication/src/main/res/mipmap-xxhdpi/ic_launcher.png b/myapplication/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..15ac681 Binary files /dev/null and b/myapplication/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/myapplication/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/myapplication/src/main/res/mipmap-xxhdpi/ic_launcher_round.png new file mode 100644 index 0000000..b216f2d Binary files /dev/null and b/myapplication/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/myapplication/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/myapplication/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000..f25a419 Binary files /dev/null and b/myapplication/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/myapplication/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/myapplication/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png new file mode 100644 index 0000000..e96783c Binary files /dev/null and b/myapplication/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/myapplication/src/main/res/values-night/themes.xml b/myapplication/src/main/res/values-night/themes.xml new file mode 100644 index 0000000..ec9b5dc --- /dev/null +++ b/myapplication/src/main/res/values-night/themes.xml @@ -0,0 +1,10 @@ + + + + \ No newline at end of file diff --git a/myapplication/src/main/res/values/colors.xml b/myapplication/src/main/res/values/colors.xml new file mode 100644 index 0000000..f8c6127 --- /dev/null +++ b/myapplication/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/myapplication/src/main/res/values/strings.xml b/myapplication/src/main/res/values/strings.xml new file mode 100644 index 0000000..3de1a39 --- /dev/null +++ b/myapplication/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + My Application + \ No newline at end of file diff --git a/myapplication/src/main/res/values/themes.xml b/myapplication/src/main/res/values/themes.xml new file mode 100644 index 0000000..7e6caac --- /dev/null +++ b/myapplication/src/main/res/values/themes.xml @@ -0,0 +1,10 @@ + + + + \ No newline at end of file diff --git a/myapplication/src/test/java/com/example/myapplication/ExampleUnitTest.java b/myapplication/src/test/java/com/example/myapplication/ExampleUnitTest.java new file mode 100644 index 0000000..bf43ee5 --- /dev/null +++ b/myapplication/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