Questions tagged [android-collapsingtoolbarlayout]

CollapsingToolbarLayout is a wrapper for Toolbar that provides several visual effects that are bind to the content scroll events.

CollapsingToolbarLayout is a ViewGroup that serves as a wrapper for Toolbar providing several visual effects to it. The class is part of the library.

The effects provided by the class include

  • Collapsing title
  • Content scrim
  • Status bar scrim
  • Parallax scrolling children
  • Pinned position children

For the correct behavior the CollapsingToolbarLayout has to be direct child of AppBarLayout placed within a CoordinatorLayout that contains a vertically scrollable View with app:layout_behavior parameter specified. The effects are bind to the vertical scrolling of this View.

For more information visit class reference or the Android developers blog.

1241 questions
0
votes
0 answers

Android Google Play Tabs with Sliding Toolbar

I need to have layout with a toolbar with internally an image and under the toolbar I need to have tabs like google play : under the collapsing toolbar like this I need to have tabs like I know how to implement both of them distinctly but I don't…
user4789408
  • 1,196
  • 3
  • 14
  • 31
0
votes
1 answer

CollapsingToolbarLayout info covering title

Anybody know how to add info below the title when using a CollapsingToolbarLayout? I'm setting the title using mCollapsingToolbarLayout.setTitle(myTitle), which you can see works in the screenshot. In the layout, I'm also setting some other things…
Psest328
  • 6,575
  • 11
  • 55
  • 90
0
votes
1 answer

CollapsingToolbarLayout Menu and Up Indicator

I am using the new android design CollapsingToolbarLayout. However, I am unable to get the menu to appear. Also, the homeasup indicator does not appear. Can someone point me in the right direction? Or is this simply not possible? EDIT So, I…
0
votes
2 answers

Toolbar not scrolling when using collapsing toolbar effect

I am using below layout to use collapsing toolbar effect but not able to expand toolbar.I want to expand the toolbar as given here for collapsing toolbar…
-1
votes
2 answers

CoordinatorLayout blank space under toolbar

When I start my application on a virtual device it is like an ekstra toolbar appears on my activity. It is an activity with nested scrollview and collapsing toolbar. All the animations and all the buttons works perfectly, but it seems like it adds…
-1
votes
1 answer

FloatingActionButton is not displaying in CollapsingToolbarLayout

Hi I need to display 2 EditText and FloatingActionButton in CollapsingToolbarLayout. I have used this Code to display CollapsingToolbarLayout but my FloatingActionButton is not visible in Real Device(Redmi Note 4). XML…
-1
votes
2 answers

NestedScrollView with CollapsingToolbarLayout not scroll smoothly (NestedScrollView stick to top on scroll up)

I am working on an application where I'm using AppBarLayout with CollapsingToolbarLayout and NestedScrollView. I have successfully implemented this and it is working fine. The NestedScrollView with the CollapsingToolbarLayout does not scroll…
-1
votes
3 answers

why back button not showing center in toolbar?

i am using collapsing toolbar and i am trying to show back button it's it's not showing in center_vertical in toolbar. that i am getting Does anyone know why i am getting this output? Style