Sellcodes
  • Browse
    • Login
    • Sign Up
  • Users are requesting the codes...
  • See all requests

CollapsingToolbarLayout is not smooth

I am doing a Collapsing Toolbar layout in one of my apps, I have inserted the CollapsingToolbarLayout in the AppBarLayout and into the CollapsingToolbarLayout i have put the ImageView and a ToolBar, The issue is it doesn't scroll smooth.

Here is my snippet.

android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true">
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="250dp"
android:fitsSystemWindows="true"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
android:id="@+id/collapsing_toolbar"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
app:contentScrim="?attr/colorPrimary"
app:expandedTitleMarginBottom="32dp"
app:expandedTitleMarginEnd="64dp"
app:expandedTitleMarginStart="48dp"
app:layout_scrollFlags="scroll|exitUntilCollapsed">

android:layout_height="wrap_content">

android:layout_width="100dp"
android:layout_height="100dp"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:layout_marginTop="130dp"
android:background="@color/jodiDarkerBlue"
android:fitsSystemWindows="true"
android:scaleType="centerCrop"
app:srcCompat="@drawable/flower"
app:layout_collapseMode="parallax">




android:id="@+id/anim_toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:layout_collapseMode="pin"
android:background="@color/jodiDarkerBlue">
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="18sp"
android:textColor="#FFFFFF"
android:textStyle="normal">








CollapsingToolbarLayout is misbehaving which means it is scrolling too slow.I don't understand what am i missing, it'd be awesome if anyone can help me to solve this problem.

link-img

1

# Users who requested
the code (so far)

link-img

$12

Suggested price from buyers
at which they’d buy

link-img

$12

Potential revenues from requesters (actual
revenues can be significantly higher)

Time of last request:on Jun 25, 2018

Tags:android

Sellers

If you own such codes, please set up an offer and then invite users to it by clicking on «Invite to offer».

Invite to offer

Buyers

If you’re also be willing to buy those codes then click on «I’d also buy it» (no commitment to buy, but please only click when you’re serious about it).

I'd also buy it!

Tell people about Sellcodes and get 20-40% on every resulting sale!

Spread the word
  • PARTICIPATE
  • Buy
  • Offer
  • Share
  • LEARN
  • About
  • Blog
  • FAQ
  • CONNECT
  • Twitter
  • Facebook
  • Contact
  • LEGAL
  • Terms
  • Privacy
  • © 2025 Sellcodes
Log in to your Sellcodes account
Keep me logged in Forgot your password?
Looking to create an account?
Sign up for Sellcodes
By creating an account you agree to our Terms Of Use and Privacy Policy
Did you mean to Login?