commit 79b967b022257c3efbdcf20861f173943cdcdebd Author: hmz <467536748@qq.com> Date: Wed May 6 15:32:38 2026 +0800 init 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/AndroidProjectSystem.xml b/.idea/AndroidProjectSystem.xml new file mode 100644 index 0000000..4a53bee --- /dev/null +++ b/.idea/AndroidProjectSystem.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/MarsCodeWorkspaceAppSettings.xml b/.idea/MarsCodeWorkspaceAppSettings.xml new file mode 100644 index 0000000..e2a065b --- /dev/null +++ b/.idea/MarsCodeWorkspaceAppSettings.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..b86273d --- /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..e522a44 --- /dev/null +++ b/.idea/deploymentTargetSelector.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml new file mode 100644 index 0000000..02c4aa5 --- /dev/null +++ b/.idea/gradle.xml @@ -0,0 +1,18 @@ + + + + + + + \ 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..7061a0d --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,61 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..b2c751a --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/planningMode.xml b/.idea/planningMode.xml new file mode 100644 index 0000000..7eedc47 --- /dev/null +++ b/.idea/planningMode.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml new file mode 100644 index 0000000..16660f1 --- /dev/null +++ b/.idea/runConfigurations.xml @@ -0,0 +1,17 @@ + + + + + + \ 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..f0d98e0 --- /dev/null +++ b/app/build.gradle.kts @@ -0,0 +1,63 @@ +plugins { + alias(libs.plugins.android.application) + alias(libs.plugins.kotlin.compose) +} + +android { + namespace = "com.audio.vibe" + compileSdk = 36 + + defaultConfig { + applicationId = "com.audio.vibe" + minSdk = 30 + targetSdk = 36 + 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_17 + targetCompatibility = JavaVersion.VERSION_17 + + } + buildFeatures { + compose = true + } +} + +dependencies { + implementation(platform(libs.androidx.compose.bom)) + implementation(libs.androidx.activity.compose) + implementation(libs.androidx.compose.material3) + implementation(libs.androidx.compose.material.icons.extended) + implementation(libs.androidx.compose.runtime) + implementation(libs.androidx.compose.ui) + implementation(libs.androidx.compose.ui.graphics) + implementation(libs.androidx.compose.ui.text) + implementation(libs.androidx.compose.ui.tooling.preview) + implementation(libs.androidx.core.ktx) + implementation(libs.androidx.lifecycle.runtime.ktx) + implementation(libs.androidx.material3) + implementation(libs.androidx.navigation.compose) + implementation(libs.androidx.navigation.runtime.ktx) + implementation(libs.androidx.ui) + testImplementation(libs.junit) + androidTestImplementation(platform(libs.androidx.compose.bom)) + androidTestImplementation(libs.androidx.compose.ui.test.junit4) + androidTestImplementation(libs.androidx.espresso.core) + androidTestImplementation(libs.androidx.junit) + debugImplementation(libs.androidx.compose.ui.test.manifest) + debugImplementation(libs.androidx.compose.ui.tooling) +} \ 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/audio/vibe/ExampleInstrumentedTest.kt b/app/src/androidTest/java/com/audio/vibe/ExampleInstrumentedTest.kt new file mode 100644 index 0000000..d0cbb54 --- /dev/null +++ b/app/src/androidTest/java/com/audio/vibe/ExampleInstrumentedTest.kt @@ -0,0 +1,24 @@ +package com.audio.vibe + +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.audio.vibe", 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..0ea0f3e --- /dev/null +++ b/app/src/main/AndroidManifest.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/java/com/audio/vibe/AudioVibeApp.kt b/app/src/main/java/com/audio/vibe/AudioVibeApp.kt new file mode 100644 index 0000000..3ce9018 --- /dev/null +++ b/app/src/main/java/com/audio/vibe/AudioVibeApp.kt @@ -0,0 +1,9 @@ +package com.audio.vibe + +import android.app.Application + +class AudioVibeApp : Application() { + override fun onCreate() { + super.onCreate() + } +} diff --git a/app/src/main/java/com/audio/vibe/MainActivity.kt b/app/src/main/java/com/audio/vibe/MainActivity.kt new file mode 100644 index 0000000..4532185 --- /dev/null +++ b/app/src/main/java/com/audio/vibe/MainActivity.kt @@ -0,0 +1,73 @@ +package com.audio.vibe + +import android.os.Bundle +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.graphics.Color +import androidx.compose.ui.tooling.preview.Preview +import androidx.compose.ui.unit.sp +import androidx.navigation.NavHostController +import androidx.navigation.compose.NavHost +import androidx.navigation.compose.composable +import androidx.navigation.compose.rememberNavController +import com.audio.vibe.ui.cutter.AudioCutterScreen +import com.audio.vibe.ui.editor.TagEditorScreen +import com.audio.vibe.ui.home.HomeScreen +import com.audio.vibe.ui.musicmanager.MusicManagerScreen +import com.audio.vibe.ui.premium.PremiumScreen +import com.audio.vibe.ui.settings.SettingsScreen +import com.audio.vibe.ui.theme.AudioVibeTheme +import com.audio.vibe.ui.voicechanger.VoiceChangerScreen + +class MainActivity : ComponentActivity() { + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + enableEdgeToEdge() + setContent { + AudioVibeTheme { + AppNavHost() + } + } + } +} + + +@Composable +fun AppNavHost(navController: NavHostController = rememberNavController()) { + NavHost( + navController = navController, + startDestination = "home" + ) { + composable("home") { + HomeScreen( + toEditor = { navController.navigate("editor") }, + toVoiceChanger = { navController.navigate("voice") }, + toCutter = { navController.navigate("cutter") }, + toMusicManager = { navController.navigate("music") }, + toSettings = { navController.navigate("settings") }, + toPremium = { navController.navigate("premium") } + ) + } + composable("editor") { TagEditorScreen() } + composable("voice") { VoiceChangerScreen() } + composable("cutter") { AudioCutterScreen() } + composable("music") { MusicManagerScreen() } + composable("settings") { SettingsScreen() } + composable("premium") { PremiumScreen() } + } +} + +@Preview(showBackground = true) +@Composable +fun GreetingPreview() { + AudioVibeTheme { + AppNavHost() + } +} \ No newline at end of file diff --git a/app/src/main/java/com/audio/vibe/data/model/AudioFile.kt b/app/src/main/java/com/audio/vibe/data/model/AudioFile.kt new file mode 100644 index 0000000..3366fa3 --- /dev/null +++ b/app/src/main/java/com/audio/vibe/data/model/AudioFile.kt @@ -0,0 +1,10 @@ +package com.audio.vibe.data.model + +data class AudioFile( + val path: Long, + val title: String, + val artist: String, + val album: String, + val duration: String, + val size: String +) diff --git a/app/src/main/java/com/audio/vibe/data/model/PremiumPlan.kt b/app/src/main/java/com/audio/vibe/data/model/PremiumPlan.kt new file mode 100644 index 0000000..a03173d --- /dev/null +++ b/app/src/main/java/com/audio/vibe/data/model/PremiumPlan.kt @@ -0,0 +1,8 @@ +package com.audio.vibe.data.model + +data class PremiumPlan( + val id: Int, + val name: String, + val price: String, + val desc: String +) diff --git a/app/src/main/java/com/audio/vibe/ui/cutter/AudioCutterScreen.kt b/app/src/main/java/com/audio/vibe/ui/cutter/AudioCutterScreen.kt new file mode 100644 index 0000000..a3bedf1 --- /dev/null +++ b/app/src/main/java/com/audio/vibe/ui/cutter/AudioCutterScreen.kt @@ -0,0 +1,18 @@ +package com.audio.vibe.ui.cutter + +import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.foundation.layout.padding +import androidx.compose.material3.ExperimentalMaterial3Api +import androidx.compose.material3.Scaffold +import androidx.compose.material3.Text +import androidx.compose.material3.TopAppBar +import androidx.compose.runtime.Composable +import androidx.compose.ui.Modifier + +@OptIn(ExperimentalMaterial3Api::class) +@Composable +fun AudioCutterScreen() { + Scaffold(topBar = { TopAppBar({ Text("Audio Cutter") }) }) { + Text("Trim & Edit Audio", Modifier.fillMaxSize().padding(it)) + } +} \ No newline at end of file diff --git a/app/src/main/java/com/audio/vibe/ui/editor/TagEditorScreen.kt b/app/src/main/java/com/audio/vibe/ui/editor/TagEditorScreen.kt new file mode 100644 index 0000000..1f0a986 --- /dev/null +++ b/app/src/main/java/com/audio/vibe/ui/editor/TagEditorScreen.kt @@ -0,0 +1,18 @@ +package com.audio.vibe.ui.editor + +import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.foundation.layout.padding +import androidx.compose.material3.ExperimentalMaterial3Api +import androidx.compose.material3.Scaffold +import androidx.compose.material3.Text +import androidx.compose.material3.TopAppBar +import androidx.compose.runtime.Composable +import androidx.compose.ui.Modifier + +@OptIn(ExperimentalMaterial3Api::class) +@Composable +fun TagEditorScreen() { + Scaffold(topBar = { TopAppBar({ Text("Tag Editor") }) }) { + Text("Edit ID3 Tags Here", Modifier.fillMaxSize().padding(it)) + } +} \ No newline at end of file diff --git a/app/src/main/java/com/audio/vibe/ui/home/HomeScreen.kt b/app/src/main/java/com/audio/vibe/ui/home/HomeScreen.kt new file mode 100644 index 0000000..7c6b096 --- /dev/null +++ b/app/src/main/java/com/audio/vibe/ui/home/HomeScreen.kt @@ -0,0 +1,105 @@ +package com.audio.vibe.ui.home + +import androidx.compose.foundation.layout.Arrangement +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.Row +import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.foundation.layout.fillMaxWidth +import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.layout.size +import androidx.compose.material.icons.Icons +import androidx.compose.material.icons.filled.CloudUpload +import androidx.compose.material.icons.filled.ContentCut +import androidx.compose.material.icons.filled.Edit +import androidx.compose.material.icons.filled.MusicNote +import androidx.compose.material.icons.filled.Settings +import androidx.compose.material3.Card +import androidx.compose.material3.ExperimentalMaterial3Api +import androidx.compose.material3.Icon +import androidx.compose.material3.IconButton +import androidx.compose.material3.MaterialTheme +import androidx.compose.material3.Scaffold +import androidx.compose.material3.Text +import androidx.compose.material3.TopAppBar +import androidx.compose.runtime.Composable +import androidx.compose.ui.Alignment +import androidx.compose.ui.Modifier +import androidx.compose.ui.graphics.vector.ImageVector +import androidx.compose.ui.unit.dp + +@OptIn(ExperimentalMaterial3Api::class) +@Composable +fun HomeScreen( + toEditor: () -> Unit, + toVoiceChanger: () -> Unit, + toCutter: () -> Unit, + toMusicManager: () -> Unit, + toSettings: () -> Unit, + toPremium: () -> Unit +) { + Scaffold( + topBar = { + TopAppBar( + title = { Text("AudioMagic") }, + actions = { + IconButton(onClick = toPremium) { + Icon(Icons.Default.CloudUpload, "Premium") + } + IconButton(onClick = toSettings) { + Icon(Icons.Default.Settings, "Settings") + } + } + ) + } + ) { pv -> + Column( + modifier = Modifier + .fillMaxSize() + .padding(pv) + .padding(16.dp), + verticalArrangement = Arrangement.spacedBy(16.dp) + ) { + Text("Audio Tools", style = MaterialTheme.typography.headlineLarge) + + Row( + modifier = Modifier.fillMaxWidth(), + horizontalArrangement = Arrangement.spacedBy(16.dp) + ) { + FeatureCard("Tag Editor", Icons.Default.Edit, toEditor, Modifier.weight(1f)) + FeatureCard("Voice Changer", Icons.Default.MusicNote, toVoiceChanger, Modifier.weight(1f)) + } + + Row( + modifier = Modifier.fillMaxWidth(), + horizontalArrangement = Arrangement.spacedBy(16.dp) + ) { + FeatureCard("Audio Cutter", Icons.Default.ContentCut, toCutter, Modifier.weight(1f)) + FeatureCard("Music Manager", Icons.Default.MusicNote, toMusicManager, Modifier.weight(1f)) + } + } + } + // HomeScreen content + +} + +@Composable +fun FeatureCard( + title: String, + icon: ImageVector, + onClick: () -> Unit, + modifier: Modifier = Modifier +) { + Card( + onClick = onClick, + modifier = modifier.size(160.dp) + ) { + Column( + modifier = Modifier.fillMaxSize().padding(16.dp), + horizontalAlignment = Alignment.CenterHorizontally, + verticalArrangement = Arrangement.Center + ) { + Icon(icon, null, Modifier.size(40.dp)) + Text(title, Modifier.padding(top = 8.dp)) + } + } +} diff --git a/app/src/main/java/com/audio/vibe/ui/musicmanager/MusicManagerScreen.kt b/app/src/main/java/com/audio/vibe/ui/musicmanager/MusicManagerScreen.kt new file mode 100644 index 0000000..eb5e731 --- /dev/null +++ b/app/src/main/java/com/audio/vibe/ui/musicmanager/MusicManagerScreen.kt @@ -0,0 +1,18 @@ +package com.audio.vibe.ui.musicmanager + +import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.foundation.layout.padding +import androidx.compose.material3.ExperimentalMaterial3Api +import androidx.compose.material3.Scaffold +import androidx.compose.material3.Text +import androidx.compose.material3.TopAppBar +import androidx.compose.runtime.Composable +import androidx.compose.ui.Modifier + +@OptIn(ExperimentalMaterial3Api::class) +@Composable +fun MusicManagerScreen() { + Scaffold(topBar = { TopAppBar({ Text("Music Manager") }) }) { + Text("Browse Local Music", Modifier.fillMaxSize().padding(it)) + } +} \ No newline at end of file diff --git a/app/src/main/java/com/audio/vibe/ui/premium/PremiumScreen.kt b/app/src/main/java/com/audio/vibe/ui/premium/PremiumScreen.kt new file mode 100644 index 0000000..2af3b70 --- /dev/null +++ b/app/src/main/java/com/audio/vibe/ui/premium/PremiumScreen.kt @@ -0,0 +1,18 @@ +package com.audio.vibe.ui.premium + +import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.foundation.layout.padding +import androidx.compose.material3.ExperimentalMaterial3Api +import androidx.compose.material3.Scaffold +import androidx.compose.material3.Text +import androidx.compose.material3.TopAppBar +import androidx.compose.runtime.Composable +import androidx.compose.ui.Modifier + +@OptIn(ExperimentalMaterial3Api::class) +@Composable +fun PremiumScreen() { + Scaffold(topBar = { TopAppBar({ Text("Get Premium") }) }) { + Text("Unlock All Features", Modifier.fillMaxSize().padding(it)) + } +} \ No newline at end of file diff --git a/app/src/main/java/com/audio/vibe/ui/settings/SettingsScreen.kt b/app/src/main/java/com/audio/vibe/ui/settings/SettingsScreen.kt new file mode 100644 index 0000000..c2d5053 --- /dev/null +++ b/app/src/main/java/com/audio/vibe/ui/settings/SettingsScreen.kt @@ -0,0 +1,18 @@ +package com.audio.vibe.ui.settings + +import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.foundation.layout.padding +import androidx.compose.material3.ExperimentalMaterial3Api +import androidx.compose.material3.Scaffold +import androidx.compose.material3.Text +import androidx.compose.material3.TopAppBar +import androidx.compose.runtime.Composable +import androidx.compose.ui.Modifier + +@OptIn(ExperimentalMaterial3Api::class) +@Composable +fun SettingsScreen() { + Scaffold(topBar = { TopAppBar({ Text("Settings") }) }) { + Text("Theme / Language / Privacy", Modifier.fillMaxSize().padding(it)) + } +} \ No newline at end of file diff --git a/app/src/main/java/com/audio/vibe/ui/theme/Color.kt b/app/src/main/java/com/audio/vibe/ui/theme/Color.kt new file mode 100644 index 0000000..0c0dcc3 --- /dev/null +++ b/app/src/main/java/com/audio/vibe/ui/theme/Color.kt @@ -0,0 +1,16 @@ +package com.audio.vibe.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) + +val Primary = Color(0xFF4285F4) +val PrimaryDark = Color(0xFF3367D6) +val BackgroundLight = Color(0xFFF5F7FA) +val BackgroundDark = Color(0xFF121212) \ No newline at end of file diff --git a/app/src/main/java/com/audio/vibe/ui/theme/Theme.kt b/app/src/main/java/com/audio/vibe/ui/theme/Theme.kt new file mode 100644 index 0000000..33b8036 --- /dev/null +++ b/app/src/main/java/com/audio/vibe/ui/theme/Theme.kt @@ -0,0 +1,49 @@ +package com.audio.vibe.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.graphics.Color +import androidx.compose.ui.platform.LocalContext + +private val LightColorScheme = lightColorScheme( + primary = Primary, + background = BackgroundLight, + surface = Color.White +) + +private val DarkColorScheme = darkColorScheme( + primary = PrimaryDark, + background = BackgroundDark, + surface = Color(0xFF1E1E1E) +) + +@Composable +fun AudioVibeTheme( + 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/audio/vibe/ui/theme/Type.kt b/app/src/main/java/com/audio/vibe/ui/theme/Type.kt new file mode 100644 index 0000000..b75ac91 --- /dev/null +++ b/app/src/main/java/com/audio/vibe/ui/theme/Type.kt @@ -0,0 +1,25 @@ +package com.audio.vibe.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( + headlineLarge = TextStyle( + fontSize = 22.sp, + fontWeight = FontWeight.Bold + ), + headlineMedium = TextStyle( + fontSize = 18.sp, + fontWeight = FontWeight.Medium + ), + bodyLarge = TextStyle( + fontSize = 16.sp + ), + bodyMedium = TextStyle( + fontSize = 14.sp + ) +) \ No newline at end of file diff --git a/app/src/main/java/com/audio/vibe/ui/voicechanger/VoiceChangerScreen.kt b/app/src/main/java/com/audio/vibe/ui/voicechanger/VoiceChangerScreen.kt new file mode 100644 index 0000000..ec97221 --- /dev/null +++ b/app/src/main/java/com/audio/vibe/ui/voicechanger/VoiceChangerScreen.kt @@ -0,0 +1,37 @@ +package com.audio.vibe.ui.voicechanger + +import androidx.compose.foundation.layout.Arrangement +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.layout.size +import androidx.compose.material3.Button +import androidx.compose.material3.ExperimentalMaterial3Api +import androidx.compose.material3.Scaffold +import androidx.compose.material3.Text +import androidx.compose.material3.TopAppBar +import androidx.compose.runtime.Composable +import androidx.compose.ui.Alignment +import androidx.compose.ui.Modifier +import androidx.compose.ui.unit.dp + +@OptIn(ExperimentalMaterial3Api::class) +@Composable +fun VoiceChangerScreen() { + Scaffold( + topBar = { TopAppBar({ Text("Voice Changer") }) } + ) { pv -> + Column( + modifier = Modifier + .fillMaxSize() + .padding(pv) + .padding(16.dp), + horizontalAlignment = Alignment.CenterHorizontally, + verticalArrangement = Arrangement.Center + ) { + Button(onClick = {}) { + Text("Start Record") + } + } + } +} \ 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/ic_launcher.xml b/app/src/main/res/mipmap-anydpi/ic_launcher.xml new file mode 100644 index 0000000..6f3b755 --- /dev/null +++ b/app/src/main/res/mipmap-anydpi/ic_launcher.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi/ic_launcher_round.xml new file mode 100644 index 0000000..6f3b755 --- /dev/null +++ b/app/src/main/res/mipmap-anydpi/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..1819ec7 --- /dev/null +++ b/app/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + AudioVibe + \ 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..b89f6fd --- /dev/null +++ b/app/src/main/res/values/themes.xml @@ -0,0 +1,5 @@ + + + +