From 652a7b8672977438e2f75987feacfbccc375d95a Mon Sep 17 00:00:00 2001 From: Sultan Ahmad Rizki Badani Date: Fri, 15 Nov 2024 15:25:06 +0700 Subject: [PATCH] KalkulatorBMI --- .gitignore | 15 ++ .idea/.gitignore | 3 + .idea/.name | 1 + .idea/compiler.xml | 6 + .idea/deploymentTargetSelector.xml | 10 + .idea/gradle.xml | 19 ++ .idea/inspectionProfiles/Project_Default.xml | 53 +++++ .idea/kotlinc.xml | 6 + .idea/migrations.xml | 10 + .idea/misc.xml | 10 + .idea/vcs.xml | 6 + app/.gitignore | 1 + app/build.gradle.kts | 73 +++++++ app/proguard-rules.pro | 21 ++ .../ExampleInstrumentedTest.kt | 24 +++ app/src/main/AndroidManifest.xml | 21 ++ .../example/kalkulatorbmiuts/MainActivity.kt | 68 +++++++ .../kalkulatorbmiuts/ui/theme/Color.kt | 11 ++ .../kalkulatorbmiuts/ui/theme/Theme.kt | 57 ++++++ .../example/kalkulatorbmiuts/ui/theme/Type.kt | 34 ++++ .../res/drawable/edit_text_background.xml | 6 + .../res/drawable/ic_launcher_background.xml | 74 +++++++ .../res/drawable/ic_launcher_foreground.xml | 30 +++ .../main/res/drawable/progress_bar_bmi.xml | 44 +++++ app/src/main/res/layout/activity_main.xml | 145 ++++++++++++++ .../res/mipmap-anydpi-v26/ic_launcher.xml | 5 + .../mipmap-anydpi-v26/ic_launcher_round.xml | 5 + app/src/main/res/mipmap-hdpi/ic_launcher.webp | Bin 0 -> 3928 bytes .../mipmap-hdpi/ic_launcher_foreground.webp | Bin 0 -> 11066 bytes .../res/mipmap-hdpi/ic_launcher_round.webp | Bin 0 -> 5726 bytes app/src/main/res/mipmap-mdpi/ic_launcher.webp | Bin 0 -> 2542 bytes .../mipmap-mdpi/ic_launcher_foreground.webp | Bin 0 -> 6384 bytes .../res/mipmap-mdpi/ic_launcher_round.webp | Bin 0 -> 3444 bytes .../main/res/mipmap-xhdpi/ic_launcher.webp | Bin 0 -> 5778 bytes .../mipmap-xhdpi/ic_launcher_foreground.webp | Bin 0 -> 17000 bytes .../res/mipmap-xhdpi/ic_launcher_round.webp | Bin 0 -> 8602 bytes .../main/res/mipmap-xxhdpi/ic_launcher.webp | Bin 0 -> 9538 bytes .../mipmap-xxhdpi/ic_launcher_foreground.webp | Bin 0 -> 31302 bytes .../res/mipmap-xxhdpi/ic_launcher_round.webp | Bin 0 -> 13694 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.webp | Bin 0 -> 13786 bytes .../ic_launcher_foreground.webp | Bin 0 -> 49320 bytes .../res/mipmap-xxxhdpi/ic_launcher_round.webp | Bin 0 -> 20208 bytes app/src/main/res/values/colors.xml | 10 + app/src/main/res/values/ids.xml | 5 + app/src/main/res/values/strings.xml | 3 + app/src/main/res/values/styles.xml | 8 + app/src/main/res/values/themes.xml | 8 + app/src/main/res/xml/backup_rules.xml | 13 ++ .../main/res/xml/data_extraction_rules.xml | 19 ++ .../kalkulatorbmiuts/ExampleUnitTest.kt | 17 ++ build.gradle.kts | 5 + gradle.properties | 23 +++ gradle/libs.versions.toml | 42 ++++ gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 59203 bytes gradle/wrapper/gradle-wrapper.properties | 6 + gradlew | 185 ++++++++++++++++++ gradlew.bat | 89 +++++++++ settings.gradle.kts | 24 +++ 58 files changed, 1215 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/.gitignore create mode 100644 .idea/.name create mode 100644 .idea/compiler.xml create mode 100644 .idea/deploymentTargetSelector.xml create mode 100644 .idea/gradle.xml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/kotlinc.xml create mode 100644 .idea/migrations.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/vcs.xml create mode 100644 app/.gitignore create mode 100644 app/build.gradle.kts create mode 100644 app/proguard-rules.pro create mode 100644 app/src/androidTest/java/com/example/kalkulatorbmiuts/ExampleInstrumentedTest.kt create mode 100644 app/src/main/AndroidManifest.xml create mode 100644 app/src/main/java/com/example/kalkulatorbmiuts/MainActivity.kt create mode 100644 app/src/main/java/com/example/kalkulatorbmiuts/ui/theme/Color.kt create mode 100644 app/src/main/java/com/example/kalkulatorbmiuts/ui/theme/Theme.kt create mode 100644 app/src/main/java/com/example/kalkulatorbmiuts/ui/theme/Type.kt create mode 100644 app/src/main/res/drawable/edit_text_background.xml create mode 100644 app/src/main/res/drawable/ic_launcher_background.xml create mode 100644 app/src/main/res/drawable/ic_launcher_foreground.xml create mode 100644 app/src/main/res/drawable/progress_bar_bmi.xml create mode 100644 app/src/main/res/layout/activity_main.xml create mode 100644 app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml create mode 100644 app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml create mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher.webp create mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp create mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher_round.webp create mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher.webp create mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp create mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher_round.webp create mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher.webp create mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp create mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp create mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher.webp create mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp create mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp create mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp create mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp create mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp create mode 100644 app/src/main/res/values/colors.xml create mode 100644 app/src/main/res/values/ids.xml create mode 100644 app/src/main/res/values/strings.xml create mode 100644 app/src/main/res/values/styles.xml create mode 100644 app/src/main/res/values/themes.xml create mode 100644 app/src/main/res/xml/backup_rules.xml create mode 100644 app/src/main/res/xml/data_extraction_rules.xml create mode 100644 app/src/test/java/com/example/kalkulatorbmiuts/ExampleUnitTest.kt create mode 100644 build.gradle.kts create mode 100644 gradle.properties create mode 100644 gradle/libs.versions.toml create mode 100644 gradle/wrapper/gradle-wrapper.jar create mode 100644 gradle/wrapper/gradle-wrapper.properties create mode 100644 gradlew create mode 100644 gradlew.bat create mode 100644 settings.gradle.kts diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..aa724b7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +*.iml +.gradle +/local.properties +/.idea/caches +/.idea/libraries +/.idea/modules.xml +/.idea/workspace.xml +/.idea/navEditor.xml +/.idea/assetWizardSettings.xml +.DS_Store +/build +/captures +.externalNativeBuild +.cxx +local.properties diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..005a1aa --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +Kalkulator BMI UTS \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..b589d56 --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml new file mode 100644 index 0000000..b268ef3 --- /dev/null +++ b/.idea/deploymentTargetSelector.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml new file mode 100644 index 0000000..0897082 --- /dev/null +++ b/.idea/gradle.xml @@ -0,0 +1,19 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..6806f5a --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,53 @@ + + + + \ No newline at end of file diff --git a/.idea/kotlinc.xml b/.idea/kotlinc.xml new file mode 100644 index 0000000..fdf8d99 --- /dev/null +++ b/.idea/kotlinc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/migrations.xml b/.idea/migrations.xml new file mode 100644 index 0000000..f8051a6 --- /dev/null +++ b/.idea/migrations.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..0ad17cb --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/.gitignore b/app/.gitignore new file mode 100644 index 0000000..42afabf --- /dev/null +++ b/app/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/app/build.gradle.kts b/app/build.gradle.kts new file mode 100644 index 0000000..2cdfdba --- /dev/null +++ b/app/build.gradle.kts @@ -0,0 +1,73 @@ +plugins { + alias(libs.plugins.android.application) + alias(libs.plugins.kotlin.android) +} + +android { + namespace = "com.example.kalkulatorbmiuts" + compileSdk = 35 + + defaultConfig { + applicationId = "com.example.kalkulatorbmiuts" + minSdk = 28 + targetSdk = 35 + versionCode = 1 + versionName = "1.0" + + testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" + vectorDrawables { + useSupportLibrary = true + } + } + + buildTypes { + release { + isMinifyEnabled = false + proguardFiles( + getDefaultProguardFile("proguard-android-optimize.txt"), + "proguard-rules.pro" + ) + } + } + compileOptions { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 + } + kotlinOptions { + jvmTarget = "1.8" + } + buildFeatures { + compose = true + } + composeOptions { + kotlinCompilerExtensionVersion = "1.5.1" + } + packaging { + resources { + excludes += "/META-INF/{AL2.0,LGPL2.1}" + } + } +} + +dependencies { + + implementation(libs.androidx.core.ktx) + implementation(libs.androidx.lifecycle.runtime.ktx) + implementation(libs.androidx.activity.compose) + implementation(platform(libs.androidx.compose.bom)) + implementation(libs.androidx.ui) + implementation(libs.androidx.ui.graphics) + implementation(libs.androidx.ui.tooling.preview) + implementation(libs.androidx.material3) + implementation(libs.androidx.appcompat) + implementation(libs.material) + implementation(libs.androidx.activity) + implementation(libs.androidx.constraintlayout) + testImplementation(libs.junit) + androidTestImplementation(libs.androidx.junit) + androidTestImplementation(libs.androidx.espresso.core) + androidTestImplementation(platform(libs.androidx.compose.bom)) + androidTestImplementation(libs.androidx.ui.test.junit4) + debugImplementation(libs.androidx.ui.tooling) + debugImplementation(libs.androidx.ui.test.manifest) +} \ No newline at end of file diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro new file mode 100644 index 0000000..481bb43 --- /dev/null +++ b/app/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/app/src/androidTest/java/com/example/kalkulatorbmiuts/ExampleInstrumentedTest.kt b/app/src/androidTest/java/com/example/kalkulatorbmiuts/ExampleInstrumentedTest.kt new file mode 100644 index 0000000..ae10c1d --- /dev/null +++ b/app/src/androidTest/java/com/example/kalkulatorbmiuts/ExampleInstrumentedTest.kt @@ -0,0 +1,24 @@ +package com.example.kalkulatorbmiuts + +import androidx.test.platform.app.InstrumentationRegistry +import androidx.test.ext.junit.runners.AndroidJUnit4 + +import org.junit.Test +import org.junit.runner.RunWith + +import org.junit.Assert.* + +/** + * Instrumented test, which will execute on an Android device. + * + * See [testing documentation](http://d.android.com/tools/testing). + */ +@RunWith(AndroidJUnit4::class) +class ExampleInstrumentedTest { + @Test + fun useAppContext() { + // Context of the app under test. + val appContext = InstrumentationRegistry.getInstrumentation().targetContext + assertEquals("com.example.kalkulatorbmiuts", appContext.packageName) + } +} \ No newline at end of file diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..ec09de8 --- /dev/null +++ b/app/src/main/AndroidManifest.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + diff --git a/app/src/main/java/com/example/kalkulatorbmiuts/MainActivity.kt b/app/src/main/java/com/example/kalkulatorbmiuts/MainActivity.kt new file mode 100644 index 0000000..390a850 --- /dev/null +++ b/app/src/main/java/com/example/kalkulatorbmiuts/MainActivity.kt @@ -0,0 +1,68 @@ +package com.example.kalkulatorbmiuts + +import android.annotation.SuppressLint +import android.graphics.drawable.ColorDrawable +import android.os.Bundle +import android.widget.* +import androidx.appcompat.app.AppCompatActivity + +class MainActivity : AppCompatActivity() { + + @SuppressLint("SetTextI18n") + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + setContentView(R.layout.activity_main) + + val etBerat: EditText = findViewById(R.id.etWeight) + val etTinggi: EditText = findViewById(R.id.etHeight) + val btnHitung: Button = findViewById(R.id.btnCalculate) + val tvKategoriBMI: TextView = findViewById(R.id.tvBMICategory) + val tvTinggi: TextView = findViewById(R.id.tvHeight) + val tvBerat: TextView = findViewById(R.id.tvWeight) + val bmiProgressBar: ProgressBar = findViewById(R.id.bmiProgressBar) + val tvNilaiBMI: TextView = findViewById(R.id.tvBMIValue) + + btnHitung.setOnClickListener { + val berat = etBerat.text.toString() + val tinggi = etTinggi.text.toString() + + if (berat.isEmpty() || tinggi.isEmpty()) { + tvKategoriBMI.text = "Harap masukkan berat dan tinggi yang valid" + } else { + try { + val beratValue = berat.toFloat() + val tinggiValue = tinggi.toFloat() / 100 + val bmi = beratValue / (tinggiValue * tinggiValue) + + tvNilaiBMI.text = "BMI Anda: %.2f".format(bmi) + + val kategori = when { + bmi < 18.5 -> "Kekurangan Berat Badan" + bmi in 18.5..24.9 -> "Berat Badan Normal" + bmi in 25.0..29.9 -> "Kelebihan Berat Badan" + else -> "Obesitas" + } + tvKategoriBMI.text = kategori + tvTinggi.text = "Tinggi (cm): $tinggi" + tvBerat.text = "Berat (kg): $berat" + + bmiProgressBar.progress = bmi.toInt() + + setProgressBarColor(bmi, bmiProgressBar) + + } catch (e: Exception) { + tvKategoriBMI.text = "Input tidak valid. Harap masukkan angka yang valid." + } + } + } + } + + private fun setProgressBarColor(bmi: Float, progressBar: ProgressBar) { + when { + bmi < 18.5 -> progressBar.progressDrawable = ColorDrawable(getColor(R.color.underweight)) + bmi in 18.5..24.9 -> progressBar.progressDrawable = ColorDrawable(getColor(R.color.normalWeight)) + bmi in 25.0..29.9 -> progressBar.progressDrawable = ColorDrawable(getColor(R.color.overweight)) + else -> progressBar.progressDrawable = ColorDrawable(getColor(R.color.obesity)) + } + } +} diff --git a/app/src/main/java/com/example/kalkulatorbmiuts/ui/theme/Color.kt b/app/src/main/java/com/example/kalkulatorbmiuts/ui/theme/Color.kt new file mode 100644 index 0000000..07f780e --- /dev/null +++ b/app/src/main/java/com/example/kalkulatorbmiuts/ui/theme/Color.kt @@ -0,0 +1,11 @@ +package com.example.kalkulatorbmiuts.ui.theme + +import androidx.compose.ui.graphics.Color + +val Purple80 = Color(0xFFD0BCFF) +val PurpleGrey80 = Color(0xFFCCC2DC) +val Pink80 = Color(0xFFEFB8C8) + +val Purple40 = Color(0xFF6650a4) +val PurpleGrey40 = Color(0xFF625b71) +val Pink40 = Color(0xFF7D5260) \ No newline at end of file diff --git a/app/src/main/java/com/example/kalkulatorbmiuts/ui/theme/Theme.kt b/app/src/main/java/com/example/kalkulatorbmiuts/ui/theme/Theme.kt new file mode 100644 index 0000000..ebc00d7 --- /dev/null +++ b/app/src/main/java/com/example/kalkulatorbmiuts/ui/theme/Theme.kt @@ -0,0 +1,57 @@ +package com.example.kalkulatorbmiuts.ui.theme + +import android.os.Build +import androidx.compose.foundation.isSystemInDarkTheme +import androidx.compose.material3.MaterialTheme +import androidx.compose.material3.darkColorScheme +import androidx.compose.material3.dynamicDarkColorScheme +import androidx.compose.material3.dynamicLightColorScheme +import androidx.compose.material3.lightColorScheme +import androidx.compose.runtime.Composable +import androidx.compose.ui.platform.LocalContext + +private val DarkColorScheme = darkColorScheme( + primary = Purple80, + secondary = PurpleGrey80, + tertiary = Pink80 +) + +private val LightColorScheme = lightColorScheme( + primary = Purple40, + secondary = PurpleGrey40, + tertiary = Pink40 + + /* Other default colors to override + background = Color(0xFFFFFBFE), + surface = Color(0xFFFFFBFE), + onPrimary = Color.White, + onSecondary = Color.White, + onTertiary = Color.White, + onBackground = Color(0xFF1C1B1F), + onSurface = Color(0xFF1C1B1F), + */ +) + +@Composable +fun KalkulatorBMIUTSTheme( + darkTheme: Boolean = isSystemInDarkTheme(), + // Dynamic color is available on Android 12+ + dynamicColor: Boolean = true, + content: @Composable () -> Unit +) { + val colorScheme = when { + dynamicColor && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S -> { + val context = LocalContext.current + if (darkTheme) dynamicDarkColorScheme(context) else dynamicLightColorScheme(context) + } + + darkTheme -> DarkColorScheme + else -> LightColorScheme + } + + MaterialTheme( + colorScheme = colorScheme, + typography = Typography, + content = content + ) +} \ No newline at end of file diff --git a/app/src/main/java/com/example/kalkulatorbmiuts/ui/theme/Type.kt b/app/src/main/java/com/example/kalkulatorbmiuts/ui/theme/Type.kt new file mode 100644 index 0000000..df88230 --- /dev/null +++ b/app/src/main/java/com/example/kalkulatorbmiuts/ui/theme/Type.kt @@ -0,0 +1,34 @@ +package com.example.kalkulatorbmiuts.ui.theme + +import androidx.compose.material3.Typography +import androidx.compose.ui.text.TextStyle +import androidx.compose.ui.text.font.FontFamily +import androidx.compose.ui.text.font.FontWeight +import androidx.compose.ui.unit.sp + +// Set of Material typography styles to start with +val Typography = Typography( + bodyLarge = TextStyle( + fontFamily = FontFamily.Default, + fontWeight = FontWeight.Normal, + fontSize = 16.sp, + lineHeight = 24.sp, + letterSpacing = 0.5.sp + ) + /* Other default text styles to override + titleLarge = TextStyle( + fontFamily = FontFamily.Default, + fontWeight = FontWeight.Normal, + fontSize = 22.sp, + lineHeight = 28.sp, + letterSpacing = 0.sp + ), + labelSmall = TextStyle( + fontFamily = FontFamily.Default, + fontWeight = FontWeight.Medium, + fontSize = 11.sp, + lineHeight = 16.sp, + letterSpacing = 0.5.sp + ) + */ +) \ No newline at end of file diff --git a/app/src/main/res/drawable/edit_text_background.xml b/app/src/main/res/drawable/edit_text_background.xml new file mode 100644 index 0000000..2b10bbe --- /dev/null +++ b/app/src/main/res/drawable/edit_text_background.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..ca3826a --- /dev/null +++ b/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/ic_launcher_foreground.xml b/app/src/main/res/drawable/ic_launcher_foreground.xml new file mode 100644 index 0000000..2b068d1 --- /dev/null +++ b/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/progress_bar_bmi.xml b/app/src/main/res/drawable/progress_bar_bmi.xml new file mode 100644 index 0000000..db341f6 --- /dev/null +++ b/app/src/main/res/drawable/progress_bar_bmi.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..f6f1dab --- /dev/null +++ b/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,145 @@ + + + + + + + + + + + + + +