Questions tagged [coordinator-layout]

An Android Layout used as a container for a specific interaction with one or more child views

An Android Layout used as a container for a specific interaction with one or more child views

See: https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.html

145 questions
0
votes
2 answers

Error inflating CoordinatorLayout

I'm trying to add a bottom sheet to my layout, so I place all my fragment's layout inside a CoordinatorLayout:
BVtp
  • 2,090
  • 2
  • 21
  • 50
0
votes
1 answer

CoordinatorLayout rendering issue in Android Studio

I was trying out Android Studio. Upon creating a new project, The auto generated xml has a CoordinatorLayout as root. But my xml preview just does not render. It builds OK and also renders if I comment out the CoordinatorLayout. And this is when I…
0
votes
1 answer

Strange behavior in collapsing toolbar Android

I'm getting familiar with the Android material design and I'm trying to make a simple project that implements a collapsing toolbar based on the scrolling of a recyclerView. The project consists only in one activity with its layout wich contain the…
0
votes
1 answer

Android: RecyclerView with CoordinatorLayout, first item stops slightly right before going behind status bar?

I have a recyclerView in conjunction with a coordinator layout and I've come across a small problem. When you scroll the list down and the first item is about to pass the status bar, it always has a hitch or stops for about a millisecond before…
user2968401
  • 905
  • 2
  • 11
  • 25
0
votes
1 answer

Pin Floating Action Button to Toolbar/Action Bar

I have a CoordinatorLayout with CollapsingToolbarLayout and NestedScrollView and FloatingActionButton. In the CollapsingToolbarLayout there is a ImageView which has layout_collapseMode set as parallax. FloatingActionButton is pinned to…
0
votes
1 answer

How does layout work in a CoordinatorLayout?

How do views position in the CoordinatorLayout? for example...
aidanmack
  • 305
  • 1
  • 3
  • 13
0
votes
1 answer
0
votes
1 answer

CoordinatorLayout, AppBarLayout Reverse Scroll

I building a chat application and I have a slight problem. My RecyclerView is upside down (newest messages at the bottom) and I need that tool bar would hide, when I scroll up, not down (practically reversed hiding behaviour or something). Is there…
Alpha
  • 1,685
  • 3
  • 19
  • 38
-1
votes
1 answer

Create CoordinatorLayot with AppBar expand from bottom

How I can make this: But expand from bottom??? I was try BottomSheetBehavior, but BottomSheet overlays content.
dima
  • 29
  • 1
  • 7
-2
votes
1 answer

inflate Exception : Error with Coordinator layout

I'have got an InflateException while trying to inflate layout in my pager adapter. Same item works great with recycler view, but crashs when calling inflate method. Does any one have an answer ? Here is my code XML R.layout.item_winner:…
1 2 3
9
10