diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 00000000..26d33521 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/7-day-Android-App-Challenge.iml b/.idea/7-day-Android-App-Challenge.iml new file mode 100644 index 00000000..d6ebd480 --- /dev/null +++ b/.idea/7-day-Android-App-Challenge.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/BottomNav/.gitignore b/BottomNav/.gitignore new file mode 100644 index 00000000..aa724b77 --- /dev/null +++ b/BottomNav/.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/BottomNav/.idea/appInsightsSettings.xml b/BottomNav/.idea/appInsightsSettings.xml new file mode 100644 index 00000000..371f2e29 --- /dev/null +++ b/BottomNav/.idea/appInsightsSettings.xml @@ -0,0 +1,26 @@ + + + + + + \ No newline at end of file diff --git a/BottomNav/.idea/compiler.xml b/BottomNav/.idea/compiler.xml new file mode 100644 index 00000000..b589d56e --- /dev/null +++ b/BottomNav/.idea/compiler.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/BottomNav/.idea/deploymentTargetSelector.xml b/BottomNav/.idea/deploymentTargetSelector.xml new file mode 100644 index 00000000..6de103ab --- /dev/null +++ b/BottomNav/.idea/deploymentTargetSelector.xml @@ -0,0 +1,18 @@ + + + + + + + + + \ No newline at end of file diff --git a/BottomNav/.idea/gradle.xml b/BottomNav/.idea/gradle.xml new file mode 100644 index 00000000..32522c1e --- /dev/null +++ b/BottomNav/.idea/gradle.xml @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/BottomNav/.idea/inspectionProfiles/Project_Default.xml b/BottomNav/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 00000000..6806f5a8 --- /dev/null +++ b/BottomNav/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,53 @@ + + + + \ No newline at end of file diff --git a/BottomNav/.idea/kotlinc.xml b/BottomNav/.idea/kotlinc.xml new file mode 100644 index 00000000..fdf8d994 --- /dev/null +++ b/BottomNav/.idea/kotlinc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/BottomNav/.idea/migrations.xml b/BottomNav/.idea/migrations.xml new file mode 100644 index 00000000..f8051a6f --- /dev/null +++ b/BottomNav/.idea/migrations.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/BottomNav/.idea/misc.xml b/BottomNav/.idea/misc.xml new file mode 100644 index 00000000..0ad17cbd --- /dev/null +++ b/BottomNav/.idea/misc.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/BottomNav/.idea/vcs.xml b/BottomNav/.idea/vcs.xml new file mode 100644 index 00000000..6c0b8635 --- /dev/null +++ b/BottomNav/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/BottomNav/app/.gitignore b/BottomNav/app/.gitignore new file mode 100644 index 00000000..42afabfd --- /dev/null +++ b/BottomNav/app/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/BottomNav/app/build.gradle.kts b/BottomNav/app/build.gradle.kts new file mode 100644 index 00000000..e79403ce --- /dev/null +++ b/BottomNav/app/build.gradle.kts @@ -0,0 +1,69 @@ +plugins { + alias(libs.plugins.android.application) + alias(libs.plugins.kotlin.android) +} + +android { + namespace = "com.example.bottomnav" + compileSdk = 34 + + defaultConfig { + applicationId = "com.example.bottomnav" + minSdk = 24 + targetSdk = 34 + 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) + 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/BottomNav/app/proguard-rules.pro b/BottomNav/app/proguard-rules.pro new file mode 100644 index 00000000..481bb434 --- /dev/null +++ b/BottomNav/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/BottomNav/app/src/androidTest/java/com/example/bottomnav/ExampleInstrumentedTest.kt b/BottomNav/app/src/androidTest/java/com/example/bottomnav/ExampleInstrumentedTest.kt new file mode 100644 index 00000000..d0000888 --- /dev/null +++ b/BottomNav/app/src/androidTest/java/com/example/bottomnav/ExampleInstrumentedTest.kt @@ -0,0 +1,24 @@ +package com.example.bottomnav + +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.bottomnav", appContext.packageName) + } +} \ No newline at end of file diff --git a/BottomNav/app/src/main/AndroidManifest.xml b/BottomNav/app/src/main/AndroidManifest.xml new file mode 100644 index 00000000..397403c0 --- /dev/null +++ b/BottomNav/app/src/main/AndroidManifest.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/BottomNav/app/src/main/java/com/example/bottomnav/MainActivity.kt b/BottomNav/app/src/main/java/com/example/bottomnav/MainActivity.kt new file mode 100644 index 00000000..3a92c1f7 --- /dev/null +++ b/BottomNav/app/src/main/java/com/example/bottomnav/MainActivity.kt @@ -0,0 +1,227 @@ +package com.example.bottomnav + +import android.os.Bundle +import androidx.activity.ComponentActivity +import androidx.activity.compose.setContent +import androidx.activity.enableEdgeToEdge +import androidx.compose.animation.AnimatedVisibility +import androidx.compose.animation.core.Spring +import androidx.compose.animation.core.animateDpAsState +import androidx.compose.animation.core.animateFloatAsState +import androidx.compose.animation.core.spring +import androidx.compose.animation.core.tween +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 com.example.bottomnav.ui.theme.BottomNavTheme +import androidx.compose.foundation.background +import androidx.compose.foundation.clickable +import androidx.compose.foundation.interaction.MutableInteractionSource +import androidx.compose.foundation.layout.Arrangement +import androidx.compose.foundation.layout.Box +import androidx.compose.foundation.layout.PaddingValues +import androidx.compose.foundation.layout.Row +import androidx.compose.foundation.layout.fillMaxHeight +import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.foundation.layout.fillMaxWidth +import androidx.compose.foundation.layout.height +import androidx.compose.foundation.layout.navigationBarsPadding +import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.layout.size +import androidx.compose.foundation.layout.statusBarsPadding +import androidx.compose.foundation.layout.wrapContentHeight +import androidx.compose.foundation.shape.RoundedCornerShape +import androidx.compose.material.icons.Icons +import androidx.compose.material.icons.filled.Favorite +import androidx.compose.material.icons.filled.Home +import androidx.compose.material.icons.outlined.FavoriteBorder +import androidx.compose.material.icons.outlined.Home +import androidx.compose.material3.Icon +import androidx.compose.material3.MaterialTheme +import androidx.compose.runtime.getValue +import androidx.compose.runtime.mutableStateOf +import androidx.compose.runtime.remember +import androidx.compose.runtime.setValue +import androidx.compose.ui.Alignment +import androidx.compose.ui.draw.alpha +import androidx.compose.ui.draw.shadow +import androidx.compose.ui.graphics.Color +import androidx.compose.ui.graphics.DefaultShadowColor +import androidx.compose.ui.graphics.graphicsLayer +import androidx.compose.ui.graphics.vector.ImageVector +import androidx.compose.ui.graphics.vector.rememberVectorPainter +import androidx.compose.ui.tooling.preview.Preview +import androidx.compose.ui.unit.dp +import com.example.bottomnav.ui.theme.Grey +import com.example.bottomnav.ui.theme.customBlack + +class MainActivity : ComponentActivity() { + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + enableEdgeToEdge() + setContent { + BottomNavTheme { + Scaffold(modifier = Modifier.fillMaxSize(), + bottomBar = { + BottomNavNoAnimation() + } + ) { innerPadding -> + + } + } + } + } +} + + +@Composable +fun BottomNavNoAnimation( +) { + var selectedScreen by remember { mutableStateOf(0) } + + val screens= listOf( + Screen.Home, + Screen.Fav + ) + + Box( + + modifier= Modifier + .navigationBarsPadding() + .shadow(5.dp) + .background(color = Color.Black) // customize + .height(80.dp) + .fillMaxWidth() + .padding(vertical = 16.dp) + ) { + + Row( + Modifier.fillMaxSize(), + verticalAlignment = Alignment.CenterVertically, + ) { + for (screen in screens) { + val isSelected = screen == screens[selectedScreen] + val animatedWeight by animateFloatAsState(targetValue = if (isSelected) 1.5f else 1f) + Box( + modifier = Modifier.weight(animatedWeight), + contentAlignment = Alignment.Center, + ) { + val interactionSource = remember { MutableInteractionSource() } + + BottomNavItem( + modifier = Modifier.clickable( + interactionSource = interactionSource, + indication = null + ) { + selectedScreen = screens.indexOf(screen) + }, + item = screen, + isSelected = isSelected + ) + } + } + } + } +} + + +@Composable +private fun BottomNavItem( + modifier: Modifier = Modifier, + item: Screen, + isSelected: Boolean, +) { + + val animatedHeight by animateDpAsState(targetValue = if (isSelected) 50.dp else 26.dp) + val animatedElevation by animateDpAsState(targetValue = if (isSelected) 15.dp else 0.dp) + val animatedAlpha by animateFloatAsState(targetValue = if (isSelected) 1f else .5f) + val animatedIconSize by animateDpAsState( + targetValue = if (isSelected) 26.dp else 20.dp, + animationSpec = spring( + stiffness = Spring.StiffnessLow, + dampingRatio = Spring.DampingRatioMediumBouncy + ) + ) + + Box( + modifier = modifier.fillMaxSize(), + contentAlignment = Alignment.Center, + ) { + Row( + modifier = Modifier + .height(animatedHeight) + .shadow( + elevation = animatedElevation, + shape = RoundedCornerShape(20.dp), + ambientColor = Color.White, + spotColor = Color.White + ) + .background( + color = if(isSelected)customBlack else Color.Black, // customize + shape = RoundedCornerShape(20.dp), + ), + verticalAlignment = Alignment.CenterVertically, + horizontalArrangement = Arrangement.Center, + ) { + + FlipIcon( + modifier = Modifier + .align(Alignment.CenterVertically) + .fillMaxHeight() + .padding(start = 11.dp) + .alpha(animatedAlpha) // <------- + .size(animatedIconSize), // <------- + isActive = isSelected, + activeIcon = item.activeIcon, + inactiveIcon = item.inactiveIcon, + contentDescription = "Null") + + AnimatedVisibility(visible = isSelected) { + Text( + text = item.title, + modifier = Modifier.padding(start = 8.dp, end = 10.dp), + maxLines = 1, + ) + } + + } + } +} + +@Composable +fun FlipIcon( + modifier: Modifier = Modifier, + isActive: Boolean, + activeIcon: ImageVector, + inactiveIcon: ImageVector, + contentDescription: String, +) { + val animationRotation by animateFloatAsState( + targetValue = if (isActive) 180f else 0f, + animationSpec = spring( + stiffness = Spring.StiffnessLow, + dampingRatio = Spring.DampingRatioMediumBouncy + ) + ) + Box( + modifier = modifier + .graphicsLayer { rotationY = animationRotation }, + contentAlignment = Alignment.Center, + ) { + Icon( + rememberVectorPainter(image = if (animationRotation > 90f) activeIcon else inactiveIcon), + contentDescription = contentDescription, + ) + } +} + +sealed class Screen( + val title: String, + val activeIcon: ImageVector, + val inactiveIcon: ImageVector +) { + object Home: Screen("Home", Icons.Filled.Home, Icons.Outlined.Home) + object Fav: Screen("Favourites", Icons.Filled.Favorite, Icons.Outlined.FavoriteBorder)} \ No newline at end of file diff --git a/BottomNav/app/src/main/java/com/example/bottomnav/ui/theme/Color.kt b/BottomNav/app/src/main/java/com/example/bottomnav/ui/theme/Color.kt new file mode 100644 index 00000000..63da7179 --- /dev/null +++ b/BottomNav/app/src/main/java/com/example/bottomnav/ui/theme/Color.kt @@ -0,0 +1,16 @@ +package com.example.bottomnav.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 customGrey = Color(0xFF4E4E4E) +val customBlack = Color(0xFF282828) +val Grey = Color(0xFF999999) \ No newline at end of file diff --git a/BottomNav/app/src/main/java/com/example/bottomnav/ui/theme/Theme.kt b/BottomNav/app/src/main/java/com/example/bottomnav/ui/theme/Theme.kt new file mode 100644 index 00000000..8b5b420e --- /dev/null +++ b/BottomNav/app/src/main/java/com/example/bottomnav/ui/theme/Theme.kt @@ -0,0 +1,58 @@ +package com.example.bottomnav.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 BottomNavTheme( + 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/BottomNav/app/src/main/java/com/example/bottomnav/ui/theme/Type.kt b/BottomNav/app/src/main/java/com/example/bottomnav/ui/theme/Type.kt new file mode 100644 index 00000000..24f63c10 --- /dev/null +++ b/BottomNav/app/src/main/java/com/example/bottomnav/ui/theme/Type.kt @@ -0,0 +1,34 @@ +package com.example.bottomnav.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/BottomNav/app/src/main/res/drawable/ic_launcher_background.xml b/BottomNav/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 00000000..07d5da9c --- /dev/null +++ b/BottomNav/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BottomNav/app/src/main/res/drawable/ic_launcher_foreground.xml b/BottomNav/app/src/main/res/drawable/ic_launcher_foreground.xml new file mode 100644 index 00000000..2b068d11 --- /dev/null +++ b/BottomNav/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/BottomNav/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/BottomNav/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 00000000..6f3b755b --- /dev/null +++ b/BottomNav/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/BottomNav/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/BottomNav/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 00000000..6f3b755b --- /dev/null +++ b/BottomNav/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/BottomNav/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/BottomNav/app/src/main/res/mipmap-hdpi/ic_launcher.webp new file mode 100644 index 00000000..c209e78e Binary files /dev/null and b/BottomNav/app/src/main/res/mipmap-hdpi/ic_launcher.webp differ diff --git a/BottomNav/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/BottomNav/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp new file mode 100644 index 00000000..b2dfe3d1 Binary files /dev/null and b/BottomNav/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ diff --git a/BottomNav/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/BottomNav/app/src/main/res/mipmap-mdpi/ic_launcher.webp new file mode 100644 index 00000000..4f0f1d64 Binary files /dev/null and b/BottomNav/app/src/main/res/mipmap-mdpi/ic_launcher.webp differ diff --git a/BottomNav/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/BottomNav/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp new file mode 100644 index 00000000..62b611da Binary files /dev/null and b/BottomNav/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ diff --git a/BottomNav/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/BottomNav/app/src/main/res/mipmap-xhdpi/ic_launcher.webp new file mode 100644 index 00000000..948a3070 Binary files /dev/null and b/BottomNav/app/src/main/res/mipmap-xhdpi/ic_launcher.webp differ diff --git a/BottomNav/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/BottomNav/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp new file mode 100644 index 00000000..1b9a6956 Binary files /dev/null and b/BottomNav/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ diff --git a/BottomNav/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/BottomNav/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp new file mode 100644 index 00000000..28d4b77f Binary files /dev/null and b/BottomNav/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ diff --git a/BottomNav/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/BottomNav/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp new file mode 100644 index 00000000..9287f508 Binary files /dev/null and b/BottomNav/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ diff --git a/BottomNav/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/BottomNav/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp new file mode 100644 index 00000000..aa7d6427 Binary files /dev/null and b/BottomNav/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ diff --git a/BottomNav/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/BottomNav/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp new file mode 100644 index 00000000..9126ae37 Binary files /dev/null and b/BottomNav/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ diff --git a/BottomNav/app/src/main/res/values/colors.xml b/BottomNav/app/src/main/res/values/colors.xml new file mode 100644 index 00000000..f8c6127d --- /dev/null +++ b/BottomNav/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/BottomNav/app/src/main/res/values/strings.xml b/BottomNav/app/src/main/res/values/strings.xml new file mode 100644 index 00000000..3d00328d --- /dev/null +++ b/BottomNav/app/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + BottomNav + \ No newline at end of file diff --git a/BottomNav/app/src/main/res/values/themes.xml b/BottomNav/app/src/main/res/values/themes.xml new file mode 100644 index 00000000..bc857714 --- /dev/null +++ b/BottomNav/app/src/main/res/values/themes.xml @@ -0,0 +1,5 @@ + + + +