├── .gitignore ├── README.md ├── app ├── .gitignore ├── build.gradle.kts ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── tech │ │ └── apter │ │ └── parallaxcarouselcompose │ │ ├── MainActivity.kt │ │ └── ui │ │ ├── ParallaxCarousel.kt │ │ └── theme │ │ ├── Color.kt │ │ ├── Theme.kt │ │ └── Type.kt │ └── res │ ├── drawable │ ├── ic_launcher_background.xml │ ├── ic_launcher_foreground.xml │ ├── p1.jpg │ ├── p2.jpg │ ├── p3.jpg │ ├── p4.jpg │ ├── p5.jpg │ ├── p6.jpg │ └── p7.jpg │ ├── mipmap-anydpi │ ├── ic_launcher.xml │ └── ic_launcher_round.xml │ ├── mipmap-hdpi │ ├── ic_launcher.webp │ └── ic_launcher_round.webp │ ├── mipmap-mdpi │ ├── ic_launcher.webp │ └── ic_launcher_round.webp │ ├── mipmap-xhdpi │ ├── ic_launcher.webp │ └── ic_launcher_round.webp │ ├── mipmap-xxhdpi │ ├── ic_launcher.webp │ └── ic_launcher_round.webp │ ├── mipmap-xxxhdpi │ ├── ic_launcher.webp │ └── ic_launcher_round.webp │ ├── values │ ├── colors.xml │ ├── strings.xml │ └── themes.xml │ └── xml │ ├── backup_rules.xml │ └── data_extraction_rules.xml ├── build.gradle.kts ├── gradle.properties ├── gradle ├── libs.versions.toml └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── screenshots └── compose.gif └── settings.gradle.kts /.gitignore: -------------------------------------------------------------------------------- 1 | # Gradle files 2 | .gradle/ 3 | build/ 4 | 5 | # Local configuration file (sdk path, etc) 6 | local.properties 7 | 8 | # Log/OS Files 9 | *.log 10 | 11 | # Android Studio generated files and folders 12 | captures/ 13 | .externalNativeBuild/ 14 | .cxx/ 15 | *.apk 16 | output.json 17 | 18 | # IntelliJ 19 | *.iml 20 | .idea/ 21 | misc.xml 22 | deploymentTargetDropDown.xml 23 | render.experimental.xml 24 | 25 | # Keystore files 26 | *.jks 27 | *.keystore 28 | 29 | # Google Services (e.g. APIs or Firebase) 30 | google-services.json 31 | 32 | # Android Profiling 33 | *.hprof 34 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Jetpack Compose Parallax Carousel Example 2 | 3 | 4 | 5 | This is an example project that demonstrates how to create a parallax carousel with Jetpack Compose. 6 | 7 | ## Features 8 | 9 | - Parallax scrolling effect. 10 | - Jetpack Compose-based implementation. 11 | - Demonstrates how to create a visually appealing carousel. 12 | 13 | ## Usage 14 | 15 | To use this example project, follow these steps: 16 | 17 | 1. Clone this repository. 18 | 2. Open the project in Android Studio. 19 | 3. Build and run the app on an Android emulator or device. 20 | 21 | ## How it Works 22 | 23 | The project uses Jetpack Compose to create a parallax effect in a carousel of images. It demonstrates how to use Composable functions to build the user interface and apply the parallax effect to the images as the user scrolls. 24 | 25 | ## Requirements 26 | 27 | - Android Studio with Jetpack Compose support. 28 | 29 | ## Acknowledgments 30 | 31 | This project was inspired by the SwiftUI Parallax Carousel Scroll tutorial available at [KavSoft](https://github.com/kenfai/KavSoft-Tutorials-iOS/tree/main/ParallaxCarousel). 32 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /app/build.gradle.kts: -------------------------------------------------------------------------------- 1 | @Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed 2 | plugins { 3 | alias(libs.plugins.androidApplication) 4 | alias(libs.plugins.kotlinAndroid) 5 | } 6 | 7 | android { 8 | namespace = "tech.apter.parallaxcarouselcompose" 9 | compileSdk = 34 10 | 11 | defaultConfig { 12 | applicationId = "tech.apter.parallaxcarouselcompose" 13 | minSdk = 26 14 | targetSdk = 34 15 | versionCode = 1 16 | versionName = "1.0" 17 | 18 | testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" 19 | vectorDrawables { 20 | useSupportLibrary = true 21 | } 22 | } 23 | 24 | buildTypes { 25 | release { 26 | isMinifyEnabled = false 27 | proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") 28 | } 29 | } 30 | compileOptions { 31 | sourceCompatibility = JavaVersion.VERSION_1_8 32 | targetCompatibility = JavaVersion.VERSION_1_8 33 | } 34 | kotlinOptions { 35 | jvmTarget = "1.8" 36 | } 37 | buildFeatures { 38 | compose = true 39 | } 40 | composeOptions { 41 | kotlinCompilerExtensionVersion = libs.versions.composeCompiler.get() 42 | } 43 | packaging { 44 | resources { 45 | excludes += "/META-INF/{AL2.0,LGPL2.1}" 46 | } 47 | } 48 | } 49 | 50 | dependencies { 51 | implementation(libs.core.ktx) 52 | implementation(libs.lifecycle.runtime.ktx) 53 | implementation(libs.activity.compose) 54 | implementation(platform(libs.compose.bom)) 55 | implementation(libs.ui) 56 | implementation(libs.ui.graphics) 57 | implementation(libs.ui.tooling.preview) 58 | implementation(libs.material3) 59 | debugImplementation(libs.ui.tooling) 60 | debugImplementation(libs.ui.test.manifest) 61 | } -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 15 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /app/src/main/java/tech/apter/parallaxcarouselcompose/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package tech.apter.parallaxcarouselcompose 2 | 3 | import android.os.Bundle 4 | import androidx.activity.ComponentActivity 5 | import androidx.activity.compose.setContent 6 | import androidx.compose.foundation.layout.Box 7 | import androidx.compose.foundation.layout.fillMaxSize 8 | import androidx.compose.material3.MaterialTheme 9 | import androidx.compose.material3.Surface 10 | import androidx.compose.material3.Text 11 | import androidx.compose.runtime.Composable 12 | import androidx.compose.ui.Alignment 13 | import androidx.compose.ui.Modifier 14 | import androidx.compose.ui.tooling.preview.Preview 15 | import tech.apter.parallaxcarouselcompose.ui.ParallaxCarousel 16 | import tech.apter.parallaxcarouselcompose.ui.theme.ParallaxCarouselComposeTheme 17 | 18 | class MainActivity : ComponentActivity() { 19 | override fun onCreate(savedInstanceState: Bundle?) { 20 | super.onCreate(savedInstanceState) 21 | setContent { 22 | ParallaxCarouselComposeTheme { 23 | Surface( 24 | modifier = Modifier.fillMaxSize(), 25 | ) { 26 | Box(Modifier.fillMaxSize(), contentAlignment = Alignment.Center) { 27 | ParallaxCarousel() 28 | } 29 | } 30 | } 31 | } 32 | } 33 | } 34 | 35 | @Preview(showBackground = true) 36 | @Composable 37 | fun ParallaxCarouselPreview() { 38 | ParallaxCarouselComposeTheme { 39 | Box(Modifier.fillMaxSize(), contentAlignment = Alignment.Center) { 40 | ParallaxCarousel() 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /app/src/main/java/tech/apter/parallaxcarouselcompose/ui/ParallaxCarousel.kt: -------------------------------------------------------------------------------- 1 | package tech.apter.parallaxcarouselcompose.ui 2 | 3 | import androidx.compose.foundation.Canvas 4 | import androidx.compose.foundation.ExperimentalFoundationApi 5 | import androidx.compose.foundation.background 6 | import androidx.compose.foundation.layout.fillMaxSize 7 | import androidx.compose.foundation.layout.fillMaxWidth 8 | import androidx.compose.foundation.layout.height 9 | import androidx.compose.foundation.layout.padding 10 | import androidx.compose.foundation.pager.HorizontalPager 11 | import androidx.compose.foundation.pager.rememberPagerState 12 | import androidx.compose.foundation.shape.RoundedCornerShape 13 | import androidx.compose.material3.Card 14 | import androidx.compose.runtime.Composable 15 | import androidx.compose.ui.Modifier 16 | import androidx.compose.ui.draw.clip 17 | import androidx.compose.ui.draw.shadow 18 | import androidx.compose.ui.graphics.Color 19 | import androidx.compose.ui.graphics.ImageBitmap 20 | import androidx.compose.ui.graphics.drawscope.translate 21 | import androidx.compose.ui.platform.LocalConfiguration 22 | import androidx.compose.ui.platform.LocalDensity 23 | import androidx.compose.ui.res.imageResource 24 | import androidx.compose.ui.unit.Dp 25 | import androidx.compose.ui.unit.IntOffset 26 | import androidx.compose.ui.unit.IntSize 27 | import androidx.compose.ui.unit.dp 28 | import tech.apter.parallaxcarouselcompose.R 29 | import kotlin.math.roundToInt 30 | 31 | // Padding values 32 | private val cardPadding = 25.dp 33 | private val imagePadding = 10.dp 34 | 35 | // Shadow and shape values for the card 36 | private val shadowElevation = 15.dp 37 | private val borderRadius = 15.dp 38 | private val shape = RoundedCornerShape(borderRadius) 39 | 40 | // Offset for the parallax effect 41 | private val xOffset = cardPadding.value * 2 42 | 43 | @OptIn(ExperimentalFoundationApi::class) 44 | @Composable 45 | fun ParallaxCarousel() { 46 | // Get screen dimensions and density 47 | val screenWidth = LocalConfiguration.current.screenWidthDp.dp 48 | val screenHeight = LocalConfiguration.current.screenHeightDp.dp 49 | val density = LocalDensity.current.density 50 | 51 | // List of image resources 52 | val images = listOf( 53 | R.drawable.p1, 54 | R.drawable.p2, 55 | R.drawable.p3, 56 | R.drawable.p4, 57 | R.drawable.p5, 58 | R.drawable.p6, 59 | R.drawable.p7, 60 | ) 61 | 62 | // Create a pager state 63 | val pagerState = rememberPagerState { 64 | images.size 65 | } 66 | 67 | // Calculate the height for the pager 68 | val pagerHeight = screenHeight / 1.5f 69 | 70 | // HorizontalPager composable: Swiping through images 71 | HorizontalPager( 72 | state = pagerState, 73 | modifier = Modifier 74 | .fillMaxWidth() 75 | .height(pagerHeight), 76 | ) { page -> 77 | // Calculate the parallax offset for the current page 78 | val parallaxOffset = pagerState.getOffsetFractionForPage(page) * screenWidth.value 79 | 80 | // Call ParallaxCarouselItem with image resource and parameters 81 | ParallaxCarouselItem( 82 | images[page], 83 | parallaxOffset, 84 | pagerHeight, 85 | screenWidth, 86 | density 87 | ) 88 | } 89 | } 90 | 91 | @Composable 92 | fun ParallaxCarouselItem( 93 | imageResId: Int, 94 | parallaxOffset: Float, 95 | pagerHeight: Dp, 96 | screenWidth: Dp, 97 | density: Float, 98 | ) { 99 | // Load the image bitmap 100 | val imageBitmap = ImageBitmap.imageResource(id = imageResId) 101 | 102 | // Calculate the draw size for the image 103 | val drawSize = imageBitmap.calculateDrawSize(density, screenWidth, pagerHeight) 104 | 105 | // Card composable for the item 106 | Card( 107 | modifier = Modifier 108 | .fillMaxSize() 109 | .padding(cardPadding) 110 | .background(Color.White, shape) 111 | .shadow(elevation = shadowElevation, shape = shape) 112 | ) { 113 | // Canvas for drawing the image with parallax effect 114 | Canvas( 115 | modifier = Modifier 116 | .fillMaxSize() 117 | .padding(imagePadding) 118 | .clip(shape) 119 | ) { 120 | // Translate the canvas for parallax effect 121 | translate(left = parallaxOffset * density) { 122 | // Draw the image 123 | drawImage( 124 | image = imageBitmap, 125 | srcSize = IntSize(imageBitmap.width, imageBitmap.height), 126 | dstOffset = IntOffset(-xOffset.toIntPx(density), 0), 127 | dstSize = drawSize, 128 | ) 129 | } 130 | } 131 | } 132 | } 133 | 134 | // Function to calculate draw size for the image 135 | private fun ImageBitmap.calculateDrawSize(density: Float, screenWidth: Dp, pagerHeight: Dp): IntSize { 136 | val originalImageWidth = width / density 137 | val originalImageHeight = height / density 138 | 139 | val frameAspectRatio = screenWidth / pagerHeight 140 | val imageAspectRatio = originalImageWidth / originalImageHeight 141 | 142 | val drawWidth = xOffset + if (frameAspectRatio > imageAspectRatio) { 143 | screenWidth.value 144 | } else { 145 | pagerHeight.value * imageAspectRatio 146 | } 147 | 148 | val drawHeight = if (frameAspectRatio > imageAspectRatio) { 149 | screenWidth.value / imageAspectRatio 150 | } else { 151 | pagerHeight.value 152 | } 153 | 154 | return IntSize(drawWidth.toIntPx(density), drawHeight.toIntPx(density)) 155 | } 156 | 157 | // Extension function to convert Float to Int in pixels 158 | private fun Float.toIntPx(density: Float) = (this * density).roundToInt() 159 | -------------------------------------------------------------------------------- /app/src/main/java/tech/apter/parallaxcarouselcompose/ui/theme/Color.kt: -------------------------------------------------------------------------------- 1 | package tech.apter.parallaxcarouselcompose.ui.theme 2 | 3 | import androidx.compose.ui.graphics.Color 4 | 5 | val Purple80 = Color(0xFFD0BCFF) 6 | val PurpleGrey80 = Color(0xFFCCC2DC) 7 | val Pink80 = Color(0xFFEFB8C8) 8 | 9 | val Purple40 = Color(0xFF6650a4) 10 | val PurpleGrey40 = Color(0xFF625b71) 11 | val Pink40 = Color(0xFF7D5260) 12 | -------------------------------------------------------------------------------- /app/src/main/java/tech/apter/parallaxcarouselcompose/ui/theme/Theme.kt: -------------------------------------------------------------------------------- 1 | package tech.apter.parallaxcarouselcompose.ui.theme 2 | 3 | import android.app.Activity 4 | import android.os.Build 5 | import androidx.compose.foundation.isSystemInDarkTheme 6 | import androidx.compose.material3.MaterialTheme 7 | import androidx.compose.material3.darkColorScheme 8 | import androidx.compose.material3.dynamicDarkColorScheme 9 | import androidx.compose.material3.dynamicLightColorScheme 10 | import androidx.compose.material3.lightColorScheme 11 | import androidx.compose.runtime.Composable 12 | import androidx.compose.runtime.SideEffect 13 | import androidx.compose.ui.graphics.toArgb 14 | import androidx.compose.ui.platform.LocalContext 15 | import androidx.compose.ui.platform.LocalView 16 | import androidx.core.view.WindowCompat 17 | 18 | private val DarkColorScheme = darkColorScheme( 19 | primary = Purple80, 20 | secondary = PurpleGrey80, 21 | tertiary = Pink80 22 | ) 23 | 24 | private val LightColorScheme = lightColorScheme( 25 | primary = Purple40, 26 | secondary = PurpleGrey40, 27 | tertiary = Pink40 28 | 29 | /* Other default colors to override 30 | background = Color(0xFFFFFBFE), 31 | surface = Color(0xFFFFFBFE), 32 | onPrimary = Color.White, 33 | onSecondary = Color.White, 34 | onTertiary = Color.White, 35 | onBackground = Color(0xFF1C1B1F), 36 | onSurface = Color(0xFF1C1B1F), 37 | */ 38 | ) 39 | 40 | @Composable 41 | fun ParallaxCarouselComposeTheme( 42 | darkTheme: Boolean = isSystemInDarkTheme(), 43 | // Dynamic color is available on Android 12+ 44 | dynamicColor: Boolean = true, 45 | content: @Composable () -> Unit 46 | ) { 47 | val colorScheme = when { 48 | dynamicColor && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S -> { 49 | val context = LocalContext.current 50 | if (darkTheme) dynamicDarkColorScheme(context) else dynamicLightColorScheme(context) 51 | } 52 | 53 | darkTheme -> DarkColorScheme 54 | else -> LightColorScheme 55 | } 56 | val view = LocalView.current 57 | if (!view.isInEditMode) { 58 | SideEffect { 59 | val window = (view.context as Activity).window 60 | window.statusBarColor = colorScheme.primary.toArgb() 61 | WindowCompat.getInsetsController(window, view).isAppearanceLightStatusBars = darkTheme 62 | } 63 | } 64 | 65 | MaterialTheme( 66 | colorScheme = colorScheme, 67 | typography = Typography, 68 | content = content 69 | ) 70 | } 71 | -------------------------------------------------------------------------------- /app/src/main/java/tech/apter/parallaxcarouselcompose/ui/theme/Type.kt: -------------------------------------------------------------------------------- 1 | package tech.apter.parallaxcarouselcompose.ui.theme 2 | 3 | import androidx.compose.material3.Typography 4 | import androidx.compose.ui.text.TextStyle 5 | import androidx.compose.ui.text.font.FontFamily 6 | import androidx.compose.ui.text.font.FontWeight 7 | import androidx.compose.ui.unit.sp 8 | 9 | // Set of Material typography styles to start with 10 | val Typography = Typography( 11 | bodyLarge = TextStyle( 12 | fontFamily = FontFamily.Default, 13 | fontWeight = FontWeight.Normal, 14 | fontSize = 16.sp, 15 | lineHeight = 24.sp, 16 | letterSpacing = 0.5.sp 17 | ) 18 | /* Other default text styles to override 19 | titleLarge = TextStyle( 20 | fontFamily = FontFamily.Default, 21 | fontWeight = FontWeight.Normal, 22 | fontSize = 22.sp, 23 | lineHeight = 28.sp, 24 | letterSpacing = 0.sp 25 | ), 26 | labelSmall = TextStyle( 27 | fontFamily = FontFamily.Default, 28 | fontWeight = FontWeight.Medium, 29 | fontSize = 11.sp, 30 | lineHeight = 16.sp, 31 | letterSpacing = 0.5.sp 32 | ) 33 | */ 34 | ) 35 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 15 | 20 | 25 | 30 | 35 | 40 | 45 | 50 | 55 | 60 | 65 | 70 | 75 | 80 | 85 | 90 | 95 | 100 | 105 | 110 | 115 | 120 | 125 | 130 | 135 | 140 | 145 | 150 | 155 | 160 | 165 | 170 | 171 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 15 | 18 | 21 | 22 | 23 | 24 | 30 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/p1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apter-tech/ParallaxCarouselCompose/b2e45f87dd4f82486db887625a4780b5fb0c89e8/app/src/main/res/drawable/p1.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/p2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apter-tech/ParallaxCarouselCompose/b2e45f87dd4f82486db887625a4780b5fb0c89e8/app/src/main/res/drawable/p2.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/p3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apter-tech/ParallaxCarouselCompose/b2e45f87dd4f82486db887625a4780b5fb0c89e8/app/src/main/res/drawable/p3.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/p4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apter-tech/ParallaxCarouselCompose/b2e45f87dd4f82486db887625a4780b5fb0c89e8/app/src/main/res/drawable/p4.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/p5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apter-tech/ParallaxCarouselCompose/b2e45f87dd4f82486db887625a4780b5fb0c89e8/app/src/main/res/drawable/p5.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/p6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apter-tech/ParallaxCarouselCompose/b2e45f87dd4f82486db887625a4780b5fb0c89e8/app/src/main/res/drawable/p6.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/p7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apter-tech/ParallaxCarouselCompose/b2e45f87dd4f82486db887625a4780b5fb0c89e8/app/src/main/res/drawable/p7.jpg -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apter-tech/ParallaxCarouselCompose/b2e45f87dd4f82486db887625a4780b5fb0c89e8/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apter-tech/ParallaxCarouselCompose/b2e45f87dd4f82486db887625a4780b5fb0c89e8/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apter-tech/ParallaxCarouselCompose/b2e45f87dd4f82486db887625a4780b5fb0c89e8/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apter-tech/ParallaxCarouselCompose/b2e45f87dd4f82486db887625a4780b5fb0c89e8/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apter-tech/ParallaxCarouselCompose/b2e45f87dd4f82486db887625a4780b5fb0c89e8/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apter-tech/ParallaxCarouselCompose/b2e45f87dd4f82486db887625a4780b5fb0c89e8/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apter-tech/ParallaxCarouselCompose/b2e45f87dd4f82486db887625a4780b5fb0c89e8/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apter-tech/ParallaxCarouselCompose/b2e45f87dd4f82486db887625a4780b5fb0c89e8/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apter-tech/ParallaxCarouselCompose/b2e45f87dd4f82486db887625a4780b5fb0c89e8/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apter-tech/ParallaxCarouselCompose/b2e45f87dd4f82486db887625a4780b5fb0c89e8/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ParallaxCarouselCompose 3 | -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |