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..94e8b87 --- /dev/null +++ b/app/build.gradle.kts @@ -0,0 +1,63 @@ +plugins { + alias(libs.plugins.android.application) + alias(libs.plugins.kotlin.android) + alias(libs.plugins.kotlin.compose) + id("com.google.devtools.ksp") version "2.0.21-1.0.27" +} + +android { + namespace = "com.github.nacabaro.vbhelper" + compileSdk = 35 + + defaultConfig { + applicationId = "com.github.nacabaro.vbhelper" + minSdk = 28 + targetSdk = 35 + versionCode = 1 + versionName = "1.0" + + testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" + } + + buildTypes { + release { + isMinifyEnabled = false + proguardFiles( + getDefaultProguardFile("proguard-android-optimize.txt"), + "proguard-rules.pro" + ) + } + } + compileOptions { + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 + } + kotlinOptions { + jvmTarget = "11" + } + buildFeatures { + compose = true + } +} + +dependencies { + implementation(libs.androidx.room.runtime) + implementation(project(":vb-nfc-reader")) + ksp(libs.androidx.room.compiler) + annotationProcessor(libs.androidx.room.compiler) + 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) + 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/github/nacabaro/vbhelper/ExampleInstrumentedTest.kt b/app/src/androidTest/java/com/github/nacabaro/vbhelper/ExampleInstrumentedTest.kt new file mode 100644 index 0000000..3170fe6 --- /dev/null +++ b/app/src/androidTest/java/com/github/nacabaro/vbhelper/ExampleInstrumentedTest.kt @@ -0,0 +1,24 @@ +package com.github.nacabaro.vbhelper + +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.github.nacabaro.vbhelper", 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..2492ae6 --- /dev/null +++ b/app/src/main/AndroidManifest.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/java/com/github/nacabaro/vbhelper/MainActivity.kt b/app/src/main/java/com/github/nacabaro/vbhelper/MainActivity.kt new file mode 100644 index 0000000..4c98062 --- /dev/null +++ b/app/src/main/java/com/github/nacabaro/vbhelper/MainActivity.kt @@ -0,0 +1,121 @@ +package com.github.nacabaro.vbhelper + +import android.content.Intent +import android.nfc.NfcAdapter +import android.nfc.Tag +import android.nfc.tech.NfcA +import android.os.Bundle +import android.provider.Settings +import android.widget.Toast +import androidx.activity.ComponentActivity +import androidx.activity.compose.setContent +import androidx.activity.enableEdgeToEdge +import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.foundation.layout.padding +import androidx.compose.material3.Scaffold +import androidx.compose.material3.Text +import androidx.compose.runtime.Composable +import androidx.compose.ui.Modifier +import androidx.compose.ui.res.stringResource +import androidx.compose.ui.tooling.preview.Preview +import com.github.nacabaro.vbhelper.R +import com.github.cfogrady.vbnfc.CryptographicTransformer +import com.github.cfogrady.vbnfc.TagCommunicator +import com.github.cfogrady.vbnfc.data.DeviceType +import com.github.nacabaro.vbhelper.ui.theme.VBHelperTheme + +class MainActivity : ComponentActivity() { + private lateinit var nfcAdapter: NfcAdapter + private lateinit var deviceToCryptographicTransformers: Map + + // EXTRACTED DIRECTLY FROM EXAMPLE APP + override fun onCreate(savedInstanceState: Bundle?) { + deviceToCryptographicTransformers = getMapOfCryptographicTransformers() + + val maybeNfcAdapter = NfcAdapter.getDefaultAdapter(this) + if (maybeNfcAdapter == null) { + Toast.makeText(this, "No NFC on device!", Toast.LENGTH_SHORT).show() + finish() + return + } + nfcAdapter = maybeNfcAdapter + + + super.onCreate(savedInstanceState) + enableEdgeToEdge() + setContent { + VBHelperTheme { + + } + } + } + + // EXTRACTED DIRECTLY FROM EXAMPLE APP + private fun getMapOfCryptographicTransformers(): Map { + return mapOf( + Pair(DeviceType.VitalBraceletBEDeviceType, + CryptographicTransformer(readableHmacKey1 = resources.getString(com.github.cfogrady.vbnfc.R.string.password1), + readableHmacKey2 = resources.getString(com.github.cfogrady.vbnfc.R.string.password2), + aesKey = resources.getString(com.github.cfogrady.vbnfc.R.string.decryptionKey), + substitutionCipher = resources.getIntArray(com.github.cfogrady.vbnfc.R.array.substitutionArray))), +// Pair(DeviceType.VitalSeriesDeviceType, +// CryptographicTransformer(hmacKey1 = resources.getString(R.string.password1), +// hmacKey2 = resources.getString(R.string.password2), +// decryptionKey = resources.getString(R.string.decryptionKey), +// substitutionCipher = resources.getIntArray(R.array.substitutionArray))), +// Pair(DeviceType.VitalCharactersDeviceType, +// CryptographicTransformer(hmacKey1 = resources.getString(R.string.password1), +// hmacKey2 = resources.getString(R.string.password2), +// decryptionKey = resources.getString(R.string.decryptionKey), +// substitutionCipher = resources.getIntArray(R.array.substitutionArray))) + ) + } + + // EXTRACTED DIRECTLY FROM EXAMPLE APP + private fun showWirelessSettings() { + Toast.makeText(this, "NFC must be enabled", Toast.LENGTH_SHORT).show() + startActivity(Intent(Settings.ACTION_WIRELESS_SETTINGS)) + } + + // EXTRACTED DIRECTLY FROM EXAMPLE APP + private fun buildOnReadTag(handlerFunc: (TagCommunicator)->String): (Tag)->Unit { + return { tag-> + val nfcData = NfcA.get(tag) + if (nfcData == null) { + runOnUiThread { + Toast.makeText(this, "Tag detected is not VB", Toast.LENGTH_SHORT).show() + } + } + nfcData.connect() + nfcData.use { + val tagCommunicator = TagCommunicator.getInstance(nfcData, deviceToCryptographicTransformers) + val successText = handlerFunc(tagCommunicator) + runOnUiThread { + Toast.makeText(this, successText, Toast.LENGTH_SHORT).show() + } + } + } + } + + // EXTRACTED DIRECTLY FROM EXAMPLE APP + private fun handleTag(handlerFunc: (TagCommunicator)->String) { + if (!nfcAdapter.isEnabled) { + showWirelessSettings() + } else { + val options = Bundle() + // Work around for some broken Nfc firmware implementations that poll the card too fast + options.putInt(NfcAdapter.EXTRA_READER_PRESENCE_CHECK_DELAY, 250) + nfcAdapter.enableReaderMode(this, buildOnReadTag(handlerFunc), NfcAdapter.FLAG_READER_NFC_A or NfcAdapter.FLAG_READER_SKIP_NDEF_CHECK, + options + ) + } + } + + // EXTRACTED DIRECTLY FROM EXAMPLE APP + override fun onPause() { + super.onPause() + if (nfcAdapter.isEnabled) { + nfcAdapter.disableReaderMode(this) + } + } +} diff --git a/app/src/main/java/com/github/nacabaro/vbhelper/domain/Dim.kt b/app/src/main/java/com/github/nacabaro/vbhelper/domain/Dim.kt new file mode 100644 index 0000000..199a248 --- /dev/null +++ b/app/src/main/java/com/github/nacabaro/vbhelper/domain/Dim.kt @@ -0,0 +1,12 @@ +package com.github.nacabaro.vbhelper.domain + +import androidx.room.Entity +import androidx.room.PrimaryKey + +@Entity +data class Dim( + @PrimaryKey(autoGenerate = true) + val id: Int, + val name: String, + val stageCount: Int +) diff --git a/app/src/main/java/com/github/nacabaro/vbhelper/domain/DimProgress.kt b/app/src/main/java/com/github/nacabaro/vbhelper/domain/DimProgress.kt new file mode 100644 index 0000000..cb37abb --- /dev/null +++ b/app/src/main/java/com/github/nacabaro/vbhelper/domain/DimProgress.kt @@ -0,0 +1,28 @@ +package com.github.nacabaro.vbhelper.domain + +import androidx.room.Entity +import androidx.room.ForeignKey +import androidx.room.PrimaryKey + +@Entity( + foreignKeys = [ + ForeignKey( + entity = User::class, + parentColumns = ["id"], + childColumns = ["userId"], + onDelete = ForeignKey.CASCADE + ), + ForeignKey( + entity = Dim::class, + parentColumns = ["id"], + childColumns = ["dimId"], + onDelete = ForeignKey.CASCADE + ) + ] +) +data class DimProgress( + @PrimaryKey val dimId: Int, + @PrimaryKey val userId: Int, + val currentStage: Int, + val unlocked: Boolean +) diff --git a/app/src/main/java/com/github/nacabaro/vbhelper/domain/Evolutions.kt b/app/src/main/java/com/github/nacabaro/vbhelper/domain/Evolutions.kt new file mode 100644 index 0000000..58c9163 --- /dev/null +++ b/app/src/main/java/com/github/nacabaro/vbhelper/domain/Evolutions.kt @@ -0,0 +1,30 @@ +package com.github.nacabaro.vbhelper.domain + +import androidx.room.Entity +import androidx.room.ForeignKey +import androidx.room.PrimaryKey + +@Entity( + foreignKeys = [ + ForeignKey( + entity = Mon::class, + parentColumns = ["id"], + childColumns = ["monId"], + onDelete = ForeignKey.CASCADE + ), + ForeignKey( + entity = Mon::class, + parentColumns = ["id"], + childColumns = ["nextMon"], + onDelete = ForeignKey.CASCADE + ) + ] +) +data class Evolutions( + @PrimaryKey val monId: Int, + @PrimaryKey val nextMon: Int, + val trophies: Int, + val vitals: Int, + val totalBattles: Int, + val winRate: Int // Does not need to be a floating point +) diff --git a/app/src/main/java/com/github/nacabaro/vbhelper/domain/Mon.kt b/app/src/main/java/com/github/nacabaro/vbhelper/domain/Mon.kt new file mode 100644 index 0000000..b600adc --- /dev/null +++ b/app/src/main/java/com/github/nacabaro/vbhelper/domain/Mon.kt @@ -0,0 +1,28 @@ +package com.github.nacabaro.vbhelper.domain + +import androidx.room.Entity +import androidx.room.PrimaryKey +import androidx.room.ForeignKey + +@Entity( + foreignKeys = [ + ForeignKey( + entity = Dim::class, + parentColumns = ["id"], + childColumns = ["dimId"], + onDelete = ForeignKey.CASCADE + ) + ] +) +data class Mon ( + @PrimaryKey val id: Int, + val dimId: Int, + val monIndex: Int, + val name: String, + val stage: Int, // These should be replaced with enums + val attribute: Int, // This one too + val baseHp: Int, + val baseBp: Int, + val baseAp: Int, + val evoTime: Int, // In minutes +) \ No newline at end of file diff --git a/app/src/main/java/com/github/nacabaro/vbhelper/domain/User.kt b/app/src/main/java/com/github/nacabaro/vbhelper/domain/User.kt new file mode 100644 index 0000000..f3671d9 --- /dev/null +++ b/app/src/main/java/com/github/nacabaro/vbhelper/domain/User.kt @@ -0,0 +1,11 @@ +package com.github.nacabaro.vbhelper.domain + +import androidx.room.Entity +import androidx.room.PrimaryKey + +@Entity +data class User ( + @PrimaryKey(autoGenerate = true) val id: Int, + val username: String, + val gender: Boolean +) \ No newline at end of file diff --git a/app/src/main/java/com/github/nacabaro/vbhelper/domain/UserHealthData.kt b/app/src/main/java/com/github/nacabaro/vbhelper/domain/UserHealthData.kt new file mode 100644 index 0000000..7cfd127 --- /dev/null +++ b/app/src/main/java/com/github/nacabaro/vbhelper/domain/UserHealthData.kt @@ -0,0 +1,21 @@ +package com.github.nacabaro.vbhelper.domain + +import androidx.room.Entity +import androidx.room.ForeignKey +import androidx.room.PrimaryKey + +@Entity( + foreignKeys = [ + ForeignKey( + entity = User::class, + parentColumns = ["id"], + childColumns = ["userId"], + onDelete = ForeignKey.CASCADE + ) + ] +) +data class UserHealthData( + @PrimaryKey val userId: Int, + val tamerRank: Int, // Old VB thingy, will probably go unused at first + val totalSteps: Int +) diff --git a/app/src/main/java/com/github/nacabaro/vbhelper/domain/UserMonsters.kt b/app/src/main/java/com/github/nacabaro/vbhelper/domain/UserMonsters.kt new file mode 100644 index 0000000..c4c2270 --- /dev/null +++ b/app/src/main/java/com/github/nacabaro/vbhelper/domain/UserMonsters.kt @@ -0,0 +1,45 @@ +package com.github.nacabaro.vbhelper.domain + +import androidx.room.Entity +import androidx.room.ForeignKey +import androidx.room.PrimaryKey + +@Entity( + foreignKeys = [ + ForeignKey( + entity = User::class, + parentColumns = ["id"], + childColumns = ["userId"], + onDelete = ForeignKey.CASCADE + ), + ForeignKey( + entity = Mon::class, + parentColumns = ["id"], + childColumns = ["monId"], + onDelete = ForeignKey.CASCADE + ), + ForeignKey( + entity = UserMonsters::class, + parentColumns = ["id"], + childColumns = ["previousStage"], + onDelete = ForeignKey.CASCADE + ) + ] +) +data class UserMonsters ( + @PrimaryKey(autoGenerate = true) val id: Int, + val userId: Int, + val monId: Int, + val previousStage: Int?, + val vitals: Int, + val trophies: Int, + val trainingAp: Int, + val trainingBp: Int, + val trainingHp: Int, + val rank: Int, // Maybe use another enum (?) + val ability: Int, // Another enum (???) + val evoTimerLeft: Int, // Minutes!! + val limitTimerLeft: Int, // Minutes!!!!! + val totalBattles: Int, + val totalWins: Int +) \ No newline at end of file diff --git a/app/src/main/java/com/github/nacabaro/vbhelper/domain/UserMonstersSpecialMissions.kt b/app/src/main/java/com/github/nacabaro/vbhelper/domain/UserMonstersSpecialMissions.kt new file mode 100644 index 0000000..83810ce --- /dev/null +++ b/app/src/main/java/com/github/nacabaro/vbhelper/domain/UserMonstersSpecialMissions.kt @@ -0,0 +1,33 @@ +package com.github.nacabaro.vbhelper.domain + +import androidx.room.Entity +import androidx.room.ForeignKey +import androidx.room.PrimaryKey + +@Entity( + foreignKeys = [ + ForeignKey( + entity = UserMonsters::class, + parentColumns = ["id"], + childColumns = ["monId"], + onDelete = ForeignKey.CASCADE + ) + ] +) +data class UserMonstersSpecialMissions( + @PrimaryKey val monId: Int, + val slot1: Int, + val timeLeft1: Int, + val progression1: Int, + val slot2: Int, + val timeLeft2: Int, + val progression2: Int, + val slot3: Int, + val timeLeft3: Int, + val progression3: Int, + val slot4: Int, + val timeLeft4: Int, + val progression4: Int +) + +// Not really proud of this one boss diff --git a/app/src/main/java/com/github/nacabaro/vbhelper/domain/UserStepsData.kt b/app/src/main/java/com/github/nacabaro/vbhelper/domain/UserStepsData.kt new file mode 100644 index 0000000..8d4f146 --- /dev/null +++ b/app/src/main/java/com/github/nacabaro/vbhelper/domain/UserStepsData.kt @@ -0,0 +1,21 @@ +package com.github.nacabaro.vbhelper.domain + +import androidx.room.Entity +import androidx.room.ForeignKey +import androidx.room.PrimaryKey + +@Entity( + foreignKeys = [ + ForeignKey( + entity = User::class, + parentColumns = ["id"], + childColumns = ["userId"], + onDelete = ForeignKey.CASCADE + ) + ] +) +data class UserStepsData( + @PrimaryKey val userId: Int, + val day: Int, // Unix? + val stepCount: Int +) diff --git a/app/src/main/java/com/github/nacabaro/vbhelper/ui/theme/Color.kt b/app/src/main/java/com/github/nacabaro/vbhelper/ui/theme/Color.kt new file mode 100644 index 0000000..542c355 --- /dev/null +++ b/app/src/main/java/com/github/nacabaro/vbhelper/ui/theme/Color.kt @@ -0,0 +1,11 @@ +package com.github.nacabaro.vbhelper.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/github/nacabaro/vbhelper/ui/theme/Theme.kt b/app/src/main/java/com/github/nacabaro/vbhelper/ui/theme/Theme.kt new file mode 100644 index 0000000..6673275 --- /dev/null +++ b/app/src/main/java/com/github/nacabaro/vbhelper/ui/theme/Theme.kt @@ -0,0 +1,58 @@ +package com.github.nacabaro.vbhelper.ui.theme + +import android.app.Activity +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 VBHelperTheme( + 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/github/nacabaro/vbhelper/ui/theme/Type.kt b/app/src/main/java/com/github/nacabaro/vbhelper/ui/theme/Type.kt new file mode 100644 index 0000000..9c21c4b --- /dev/null +++ b/app/src/main/java/com/github/nacabaro/vbhelper/ui/theme/Type.kt @@ -0,0 +1,34 @@ +package com.github.nacabaro.vbhelper.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/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..07d5da9 --- /dev/null +++ b/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..6f3b755 --- /dev/null +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 0000000..6f3b755 --- /dev/null +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/app/src/main/res/mipmap-hdpi/ic_launcher.webp new file mode 100644 index 0000000..c209e78 Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/ic_launcher.webp differ diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp new file mode 100644 index 0000000..b2dfe3d Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/app/src/main/res/mipmap-mdpi/ic_launcher.webp new file mode 100644 index 0000000..4f0f1d6 Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/ic_launcher.webp differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp new file mode 100644 index 0000000..62b611d Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/app/src/main/res/mipmap-xhdpi/ic_launcher.webp new file mode 100644 index 0000000..948a307 Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/ic_launcher.webp differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..1b9a695 Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp new file mode 100644 index 0000000..28d4b77 Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..9287f50 Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp new file mode 100644 index 0000000..aa7d642 Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..9126ae3 Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml new file mode 100644 index 0000000..f8c6127 --- /dev/null +++ b/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/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..9dbd136 --- /dev/null +++ b/app/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + VBHelper + \ No newline at end of file diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml new file mode 100644 index 0000000..7c9d23c --- /dev/null +++ b/app/src/main/res/values/themes.xml @@ -0,0 +1,5 @@ + + + +