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
-1
votes
1 answer

CollapsingToolbarLayout recommended image size

I am making a small app (specifically with LG G3 in mind) and I don't know, what size should the image in CollapsingToolbarLayout be. The width of G3 is 1440px, so would a picture of that size in width be overkill?
-1
votes
2 answers

Load image via URL in collapsible app bar using ImageLoader

I am trying to load image into collapsible app bar via ImageLoader class. When I am using the same code on other activities/fragments/recyclerview, its working perfectly but it is failing in collapsible app bar. Here is the code that I am using: …
-2
votes
1 answer

What is the difference between toolbar ,collapsing toolbar ,app bar ,bottom navigation bar and action bar in android?

What is the difference between these Android components? Action Bar Toolbar Collapsing Toolbar Bottom navigation bar App Bar
-2
votes
1 answer

Collapsing toolbar title gravity does not set to bottom

i am using collapsing toolbar with toolbar only here my purpose is to use default parallex feature for toolbar,but the problem i am facing that back arrow and title in expanded form overlapping each other i tried to set expandedtitlegravity to…
Neha Rathore
  • 429
  • 2
  • 9
-2
votes
1 answer

Can we implement collapsing Toolbar behaviour in Bottom Appbar?

How can we implement collapsing Toolbar behaviour in Bottom Appbar? Is it possible to do it?
-2
votes
1 answer

Coordinator layout

I have achieved layout as shown in Fig 1 and when I scroll up the yellow part, I should get result as shown in Fig 2. I tried doing this by using coordinator layout but I couldn't achieve it. As you can see after scrolling up the button gets hidden…
-2
votes
3 answers

Cannot change title with CollapsingToolbarLayout and fragments

I've got one activity and a lot of fragments. One of my fragments is full screen and has CollapsingToolbarLayout. It was added by .add by fragment manager. I need toolbar, buttons etc, on my fragment: But for this I need to set toolbar for activity…
-3
votes
2 answers

How to use RecyclerView with CollapsingToolbarLayout. RecyclerView need load more data when bottom reached

My problem is, i want use RecyclerView with CollapsingToolbarLayout. But the issue is CollapsingToolbarLayout not scrolling when RecyclerView scrolling. I cant use Nested Scroll to put RecyclerView, because i want load more data to…
-3
votes
3 answers

How to do I add Collapsing Toolbar in my layout?

How to I add CollapsingToolbarLyout in my header_cover_image see the picture below The blue Highlighted one. I tried alot of work but still I can't figure it out. I hope you can help me Thank you!
-3
votes
2 answers

Change Collapsing toolbar menu icons color on scroll

How to create Toolbar like Google trips application Trip Screen [Please check the image in the below link]. https://i.stack.imgur.com/kZVnC.jpg , Before scroll toolbar menu icons will be in white colour. After scroll toolbar is collapsed menu…
-3
votes
1 answer

How do I code a toolbar in android which has a carousel?

I was making my app when I thought I'd look at other apps for inspiration, when I came across this toolbar implementation. Does anyone know how to implement this?
1 2 3
82
83