├── app ├── .gitignore ├── src │ └── main │ │ ├── res │ │ ├── values │ │ │ ├── strings.xml │ │ │ └── themes.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 │ │ ├── drawable │ │ │ ├── img_top_bar_dog_1.jpg │ │ │ ├── img_top_bar_dog_2.jpg │ │ │ ├── img_top_bar_dog_3.jpg │ │ │ └── ic_launcher_background.xml │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ └── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── flaringapp │ │ └── compose │ │ └── topbar │ │ ├── ui │ │ ├── theme │ │ │ ├── Color.kt │ │ │ ├── Type.kt │ │ │ └── Theme.kt │ │ └── samples │ │ │ ├── CollapsingTopBarSample.kt │ │ │ ├── gallery │ │ │ ├── SamplesGalleryGroup.kt │ │ │ ├── SamplesGallery.kt │ │ │ └── SamplesGalleryRow.kt │ │ │ ├── CollapsingTopBarSampleDogDefaults.kt │ │ │ ├── scaffold │ │ │ ├── ScaffoldControlsTitleText.kt │ │ │ ├── ScaffoldVisibilityControls.kt │ │ │ ├── ScaffoldColumnDirectionControls.kt │ │ │ ├── ScaffoldScrollControls.kt │ │ │ └── ScaffoldStateControls.kt │ │ │ ├── common │ │ │ ├── SampleExpandRequestHandler.kt │ │ │ ├── SampleTopBarImage.kt │ │ │ ├── SampleVerticalFadingEdge.kt │ │ │ ├── SampleFilterChips.kt │ │ │ ├── SampleTopAppBar.kt │ │ │ ├── SampleContent.kt │ │ │ └── SampleTopBarBanner.kt │ │ │ ├── basic │ │ │ ├── EnterAlwaysCollapsedSample.kt │ │ │ ├── BasicScaffoldSample.kt │ │ │ ├── CollapsingSample.kt │ │ │ └── CollapsingExitSample.kt │ │ │ ├── advanced │ │ │ ├── ParallaxCollapsingSample.kt │ │ │ ├── SnapCollapsingSample.kt │ │ │ ├── AppBarShadowSample.kt │ │ │ ├── AppBarScrimSample.kt │ │ │ ├── FloatingElementSample.kt │ │ │ └── ManualCollapsingControlsSample.kt │ │ │ ├── CollapsingTopBarSampleGroups.kt │ │ │ └── column │ │ │ ├── FullyCollapsibleColumnSample.kt │ │ │ ├── PartiallyCollapsibleColumnSample.kt │ │ │ ├── ColumnInStackSample.kt │ │ │ ├── AlternatelyCollapsibleColumnSample.kt │ │ │ └── ColumnMovingElementSample.kt │ │ ├── Common.kt │ │ └── MainActivity.kt ├── proguard-rules.pro └── build.gradle.kts ├── ComposeCollapsingTopBar ├── .gitignore ├── consumer-rules.pro ├── src │ ├── main │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── flaringapp │ │ │ └── compose │ │ │ └── topbar │ │ │ ├── CollapsingTopBarProgressListener.kt │ │ │ ├── nestedscroll │ │ │ ├── CollapsingTopBarNestedScrollHandler.kt │ │ │ ├── CollapsingTopBarNestedScrollSnap.kt │ │ │ ├── CollapsingTopBarNestedScrollCollapse.kt │ │ │ ├── MultiNestedScrollConnection.kt │ │ │ ├── CollapsingTopBarNestedScrollStrategy.kt │ │ │ └── CollapsingTopBarNestedScrollExpand.kt │ │ │ ├── snap │ │ │ ├── CollapsingTopBarSnapScope.kt │ │ │ └── CollapsingTopBarSnapBehavior.kt │ │ │ ├── dependent │ │ │ └── CollapsingTopBarDependentStateConnection.kt │ │ │ ├── nestedcollapse │ │ │ └── CollapsingTopBarNestedCollapseState.kt │ │ │ ├── CollapsingTopBarControls.kt │ │ │ └── scaffold │ │ │ └── CollapsingTopBarScaffoldScrollMode.kt │ └── androidTest │ │ └── java │ │ └── com │ │ └── flaringapp │ │ └── compose │ │ └── topbar │ │ └── ExampleInstrumentedTest.kt ├── proguard-rules.pro └── build.gradle.kts ├── docs └── assets │ ├── scrim.gif │ ├── floating.gif │ ├── manual.gif │ ├── parallax.gif │ ├── shadow.gif │ ├── snapping.gif │ ├── collapsing_mode_exit.gif │ ├── collapsing_column_full.gif │ ├── collapsing_column_stack.gif │ ├── collapsing_mode_regular.gif │ ├── cover_collapsing_column.gif │ ├── cover_collapsing_stack.gif │ ├── collapsing_column_reverse.gif │ ├── collapsing_column_partially.gif │ ├── collapsing_column_moving_element.gif │ ├── collapsing_column_multiple_fixed.gif │ ├── collapsing_mode_exit_expand_always.gif │ ├── collapsing_mode_enter_always_collapsed.gif │ └── collapsing_mode_regular_expand_always.gif ├── .idea ├── copyright │ ├── profiles_settings.xml │ └── Apache.xml └── scopes │ └── Copyright_Scope.xml ├── gradle ├── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties └── libs.versions.toml ├── .gitignore ├── .github └── workflows │ ├── ci.yml │ └── publish-release.yml ├── settings.gradle.kts ├── gradle.properties ├── .editorconfig ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /ComposeCollapsingTopBar/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /ComposeCollapsingTopBar/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ComposeCollapsingTopBar/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /docs/assets/scrim.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/scrim.gif -------------------------------------------------------------------------------- /docs/assets/floating.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/floating.gif -------------------------------------------------------------------------------- /docs/assets/manual.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/manual.gif -------------------------------------------------------------------------------- /docs/assets/parallax.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/parallax.gif -------------------------------------------------------------------------------- /docs/assets/shadow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/shadow.gif -------------------------------------------------------------------------------- /docs/assets/snapping.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/snapping.gif -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ComposeCollapsingTopBar 3 | 4 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /docs/assets/collapsing_mode_exit.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/collapsing_mode_exit.gif -------------------------------------------------------------------------------- /docs/assets/collapsing_column_full.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/collapsing_column_full.gif -------------------------------------------------------------------------------- /docs/assets/collapsing_column_stack.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/collapsing_column_stack.gif -------------------------------------------------------------------------------- /docs/assets/collapsing_mode_regular.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/collapsing_mode_regular.gif -------------------------------------------------------------------------------- /docs/assets/cover_collapsing_column.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/cover_collapsing_column.gif -------------------------------------------------------------------------------- /docs/assets/cover_collapsing_stack.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/cover_collapsing_stack.gif -------------------------------------------------------------------------------- /docs/assets/collapsing_column_reverse.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/collapsing_column_reverse.gif -------------------------------------------------------------------------------- /docs/assets/collapsing_column_partially.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/collapsing_column_partially.gif -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable/img_top_bar_dog_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/app/src/main/res/drawable/img_top_bar_dog_1.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/img_top_bar_dog_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/app/src/main/res/drawable/img_top_bar_dog_2.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/img_top_bar_dog_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/app/src/main/res/drawable/img_top_bar_dog_3.jpg -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /docs/assets/collapsing_column_moving_element.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/collapsing_column_moving_element.gif -------------------------------------------------------------------------------- /docs/assets/collapsing_column_multiple_fixed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/collapsing_column_multiple_fixed.gif -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /docs/assets/collapsing_mode_exit_expand_always.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/collapsing_mode_exit_expand_always.gif -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /docs/assets/collapsing_mode_enter_always_collapsed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/collapsing_mode_enter_always_collapsed.gif -------------------------------------------------------------------------------- /docs/assets/collapsing_mode_regular_expand_always.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flaringapp/ComposeCollapsingTopBar/HEAD/docs/assets/collapsing_mode_regular_expand_always.gif -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |