diff --git a/.idea/.gitignore b/.idea/.gitignore
deleted file mode 100644
index 26d3352..0000000
--- a/.idea/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-# Default ignored files
-/shelf/
-/workspace.xml
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
deleted file mode 100644
index fb7f4a8..0000000
--- a/.idea/compiler.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
deleted file mode 100644
index 440480e..0000000
--- a/.idea/gradle.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
deleted file mode 100644
index 0380d8d..0000000
--- a/.idea/jarRepositories.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
deleted file mode 100644
index 4700283..0000000
--- a/.idea/misc.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml
deleted file mode 100644
index 797acea..0000000
--- a/.idea/runConfigurations.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/build.gradle b/Curs-1/DemoApp/app/build.gradle
similarity index 92%
rename from app/build.gradle
rename to Curs-1/DemoApp/app/build.gradle
index dc2b947..01de2d0 100644
--- a/app/build.gradle
+++ b/Curs-1/DemoApp/app/build.gradle
@@ -4,9 +4,10 @@ plugins {
android {
compileSdkVersion 30
+ buildToolsVersion "30.0.3"
defaultConfig {
- applicationId "com.magdamiu.androidfundamentalsmai2021"
+ applicationId "com.example.demoapp"
minSdkVersion 21
targetSdkVersion 30
versionCode 1
diff --git a/Curs-1/DemoApp/app/build/generated/source/buildConfig/debug/com/example/demoapp/BuildConfig.java b/Curs-1/DemoApp/app/build/generated/source/buildConfig/debug/com/example/demoapp/BuildConfig.java
new file mode 100644
index 0000000..c24e2e9
--- /dev/null
+++ b/Curs-1/DemoApp/app/build/generated/source/buildConfig/debug/com/example/demoapp/BuildConfig.java
@@ -0,0 +1,12 @@
+/**
+ * Automatically generated file. DO NOT MODIFY
+ */
+package com.example.demoapp;
+
+public final class BuildConfig {
+ public static final boolean DEBUG = Boolean.parseBoolean("true");
+ public static final String APPLICATION_ID = "com.example.demoapp";
+ public static final String BUILD_TYPE = "debug";
+ public static final int VERSION_CODE = 1;
+ public static final String VERSION_NAME = "1.0";
+}
diff --git a/app/proguard-rules.pro b/Curs-1/DemoApp/app/proguard-rules.pro
similarity index 100%
rename from app/proguard-rules.pro
rename to Curs-1/DemoApp/app/proguard-rules.pro
diff --git a/app/src/androidTest/java/com/magdamiu/androidfundamentalsmai2021/ExampleInstrumentedTest.java b/Curs-1/DemoApp/app/src/androidTest/java/com/example/demoapp/ExampleInstrumentedTest.java
similarity index 81%
rename from app/src/androidTest/java/com/magdamiu/androidfundamentalsmai2021/ExampleInstrumentedTest.java
rename to Curs-1/DemoApp/app/src/androidTest/java/com/example/demoapp/ExampleInstrumentedTest.java
index 7d3d26b..034a00d 100644
--- a/app/src/androidTest/java/com/magdamiu/androidfundamentalsmai2021/ExampleInstrumentedTest.java
+++ b/Curs-1/DemoApp/app/src/androidTest/java/com/example/demoapp/ExampleInstrumentedTest.java
@@ -1,4 +1,4 @@
-package com.magdamiu.androidfundamentalsmai2021;
+package com.example.demoapp;
import android.content.Context;
@@ -21,6 +21,6 @@ public class ExampleInstrumentedTest {
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
- assertEquals("com.magdamiu.androidfundamentalsmai2021", appContext.getPackageName());
+ assertEquals("com.example.demoapp", appContext.getPackageName());
}
}
\ No newline at end of file
diff --git a/app/src/main/AndroidManifest.xml b/Curs-1/DemoApp/app/src/main/AndroidManifest.xml
similarity index 84%
rename from app/src/main/AndroidManifest.xml
rename to Curs-1/DemoApp/app/src/main/AndroidManifest.xml
index a36ea3f..d873389 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/Curs-1/DemoApp/app/src/main/AndroidManifest.xml
@@ -1,6 +1,6 @@
+ package="com.example.demoapp">
+ android:theme="@style/Theme.DemoApp">
diff --git a/app/src/main/java/com/magdamiu/androidfundamentalsmai2021/MainActivity.java b/Curs-1/DemoApp/app/src/main/java/com/example/demoapp/MainActivity.java
similarity index 56%
rename from app/src/main/java/com/magdamiu/androidfundamentalsmai2021/MainActivity.java
rename to Curs-1/DemoApp/app/src/main/java/com/example/demoapp/MainActivity.java
index 92b85d0..f3fd9df 100644
--- a/app/src/main/java/com/magdamiu/androidfundamentalsmai2021/MainActivity.java
+++ b/Curs-1/DemoApp/app/src/main/java/com/example/demoapp/MainActivity.java
@@ -1,9 +1,11 @@
-package com.magdamiu.androidfundamentalsmai2021;
+package com.example.demoapp;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
-import android.util.Log;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
@@ -11,9 +13,6 @@ public class MainActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
-
- Log.e("tag-error", "my first error log");
- Log.v("tag-verbose", "my first verbose log");
- Log.w("tag-warning", "my first warning log");
}
+
}
\ No newline at end of file
diff --git a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/Curs-1/DemoApp/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
similarity index 100%
rename from app/src/main/res/drawable-v24/ic_launcher_foreground.xml
rename to Curs-1/DemoApp/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
diff --git a/Curs-1/DemoApp/app/src/main/res/drawable-v24/paint_palette.png b/Curs-1/DemoApp/app/src/main/res/drawable-v24/paint_palette.png
new file mode 100644
index 0000000..d1e5615
Binary files /dev/null and b/Curs-1/DemoApp/app/src/main/res/drawable-v24/paint_palette.png differ
diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/Curs-1/DemoApp/app/src/main/res/drawable/ic_launcher_background.xml
similarity index 100%
rename from app/src/main/res/drawable/ic_launcher_background.xml
rename to Curs-1/DemoApp/app/src/main/res/drawable/ic_launcher_background.xml
diff --git a/Curs-1/DemoApp/app/src/main/res/layout/activity_main.xml b/Curs-1/DemoApp/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 0000000..7c3d624
--- /dev/null
+++ b/Curs-1/DemoApp/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,188 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/Curs-1/DemoApp/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
similarity index 100%
rename from app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
rename to Curs-1/DemoApp/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/Curs-1/DemoApp/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
similarity index 100%
rename from app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
rename to Curs-1/DemoApp/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/Curs-1/DemoApp/app/src/main/res/mipmap-hdpi/ic_launcher.png
similarity index 100%
rename from app/src/main/res/mipmap-hdpi/ic_launcher.png
rename to Curs-1/DemoApp/app/src/main/res/mipmap-hdpi/ic_launcher.png
diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/Curs-1/DemoApp/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
similarity index 100%
rename from app/src/main/res/mipmap-hdpi/ic_launcher_round.png
rename to Curs-1/DemoApp/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.png b/Curs-1/DemoApp/app/src/main/res/mipmap-mdpi/ic_launcher.png
similarity index 100%
rename from app/src/main/res/mipmap-mdpi/ic_launcher.png
rename to Curs-1/DemoApp/app/src/main/res/mipmap-mdpi/ic_launcher.png
diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/Curs-1/DemoApp/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
similarity index 100%
rename from app/src/main/res/mipmap-mdpi/ic_launcher_round.png
rename to Curs-1/DemoApp/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/Curs-1/DemoApp/app/src/main/res/mipmap-xhdpi/ic_launcher.png
similarity index 100%
rename from app/src/main/res/mipmap-xhdpi/ic_launcher.png
rename to Curs-1/DemoApp/app/src/main/res/mipmap-xhdpi/ic_launcher.png
diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/Curs-1/DemoApp/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
similarity index 100%
rename from app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
rename to Curs-1/DemoApp/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/Curs-1/DemoApp/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
similarity index 100%
rename from app/src/main/res/mipmap-xxhdpi/ic_launcher.png
rename to Curs-1/DemoApp/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/Curs-1/DemoApp/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
similarity index 100%
rename from app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
rename to Curs-1/DemoApp/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/Curs-1/DemoApp/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
similarity index 100%
rename from app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
rename to Curs-1/DemoApp/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/Curs-1/DemoApp/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
similarity index 100%
rename from app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
rename to Curs-1/DemoApp/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
diff --git a/app/src/main/res/values-night/themes.xml b/Curs-1/DemoApp/app/src/main/res/values-night/themes.xml
similarity index 87%
rename from app/src/main/res/values-night/themes.xml
rename to Curs-1/DemoApp/app/src/main/res/values-night/themes.xml
index f49fac5..1ff0edb 100644
--- a/app/src/main/res/values-night/themes.xml
+++ b/Curs-1/DemoApp/app/src/main/res/values-night/themes.xml
@@ -1,6 +1,6 @@
-