coordinator-layout Questions
17
Solved
I have an AppCompatActivity that controls replacing many fragments. Here is my layout for it.
activity_main.xml
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.androi...
Moderato asked 11/6, 2015 at 11:9
11
I new in android and I've troubles with FloatingActionButton behaivors
My custom behavoir class:
public class ScrollingFABBehavior extends FloatingActionButton.Behavior {
private static final St...
Tacit asked 14/7, 2017 at 10:42
1
I am migrating an app to Jetpack Compose and I have the following situation on a view/compose hybrid screen:
The layout root element is a CoordinatorLayout that has a top bar which is collapsible....
Nisse asked 13/5, 2021 at 6:29
2
Solved
I am trying to create some combined layout using CoordinatorLayout and also CollapsingToolbarLayout.
In the first state, when we on the most top page, and didn't scrolled yet, I want the toolbar t...
Stakeout asked 3/2, 2016 at 20:5
4
Solved
I've created an AppBar layout like this
<android.support.design.widget.AppBarLayout
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/andro...
Percept asked 7/12, 2015 at 17:9
2
There are around six different states in BottomSheetBehavior. I did not get any proper explanation of them.
Like I don't understand difference between STATE_HIDDEN and STATE_COLLAPSED?
Similarly...
Intoxication asked 29/5, 2020 at 8:53
8
It looks like CoordinatorLayout breaks the behaviour of Espresso actions such as scrollTo() or RecyclerViewActions.scrollToPosition().
Issue with NestedScrollView
For a layout like this one:
<an...
Logistic asked 8/2, 2016 at 15:14
4
What to implement: ConstraintLayout or CoordinatorLayout for proper material design in android ?
Ramey asked 2/12, 2016 at 10:13
5
The following is my layout xml. The problem now is that the BottomNavigationView is overlapping the FrameLayout. I wanted the FrameLayout to stretch to the top of the BottomNavigationView.
I trie...
Phonetics asked 8/9, 2017 at 13:5
7
I'm trying to use a CoordinatorLayout with a BottomNavigationView, an AppBarLayout, and a ViewPager. Here is my layout:
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widg...
Actinomycosis asked 21/12, 2017 at 3:8
1
I have some problems with Collapsing Toolbar. I have following layout structure
<CoordinatorLayout>
<AppbarLayout>
<CollapsingToolbar>
<NestedScrollView>
<Horizontal...
Wrongdoing asked 6/3, 2018 at 9:33
3
I am facing a strange behaviour with a RecyclerView as a second child of CoordinatorLayout, just after an AppBarLayout (as described in a lot of examples).
My problem is when I scroll the recycler...
Saintly asked 21/10, 2017 at 11:47
1
I need to make a scrollable fragment with static views at the top and a ViewPager with a RecyclerView in each page at the bottom. I am trying to achieve the desired outcome using a CoordinatorLayou...
Insurer asked 30/8, 2018 at 21:50
2
Solved
I have problem making my Frame layout be below Bottom Navigation Drawer (yes I put it on the top :)). Right now the top of Frame layout is hidden by BND because it is aligned with parents top just ...
Actaeon asked 20/6, 2018 at 14:22
8
Solved
I have a classic layout with a ToolBar on the top, a TabLayout below it, and a ViewPager switching tabs from the TabLayout. When content in the ViewPager is scrollable, the ToolBar should scroll ou...
Bosworth asked 18/9, 2015 at 9:6
1
Solved
I assume that this is a bug, but I might be doing something wrong.
My layout is very simple and only contains a floating action button:
<android.support.design.widget.CoordinatorLayout
xmlns:...
Ezzo asked 7/11, 2017 at 8:20
3
Solved
I'm thinking of a way to implement Android Snackbars in my app. Basically, I want to be able to show Snackbar from anywhere in the app.
As I found out, android.support.design.widget.Snackbar perf...
Pellikka asked 8/4, 2016 at 17:33
2
Solved
I would like to have custom view collapsed with a transition during scrolling.
I have AppBarLayout with a Toolbar inside. Below that there is a custom view that I want to collapse.
Below custom v...
Nudity asked 1/7, 2017 at 11:39
0
I want to create an overlay kind of layout to be displayed above an activity including toolbar. I cannot use any library to do this as everything that I've written is custom. I was able to achieve ...
Sahaptin asked 20/7, 2017 at 13:41
5
Solved
I am trying to follow the Google Docs on using the CoordinatorLayout but i am having an issue with the ScrollView inside the CoordinatorLayout. Basically, the Toolbar normally would collapse with a...
Sepulchre asked 4/6, 2015 at 14:3
3
I am trying to implement Google's newest design tricks with CoordinatorLayout and have problems with scrolling and parallax effect.
After Activity is displayed, everything looks ok but the proble...
Amundsen asked 22/9, 2015 at 21:11
6
Solved
This might be silly question but I didn't understand Design lib well. I am following this reference to create below layout. The Blue area should work as parallax when I scroll the GridView.
But whe...
Howie asked 7/6, 2015 at 17:47
5
I have a UI design with CollapsingToolbarLayout, like following.
<android.support.design.widget.AppBarLayout
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_hei...
Betthel asked 8/9, 2015 at 1:41
2
I am using CoordinatorLayout to get this effect
Here is the layout code.
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
xmlns:android="http://s...
Ipsambul asked 1/9, 2016 at 4:34
3
Solved
I am displaying FloatingActionButton along with a Recyclerview in a CoordinatorLayout, when the FAB is clicked a row would be added in Recyclerview. Now the problem is the FAB has margin when i tes...
Aviles asked 15/6, 2015 at 7:24
1 Next >
© 2022 - 2024 — McMap. All rights reserved.