android-appbarlayout Questions
7
Solved
This is the app I'm trying to build with all the elements mapped out below:
Everything works, however, I want the inner horizontal recyclerview not to capture any of the vertical scrolls. All ve...
Overturf asked 31/10, 2015 at 20:25
3
Here is my application screen:
And layout xml:
<android.support.v4.widget.NestedScrollView
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="match_pa...
Grandmamma asked 10/2, 2016 at 21:36
4
Has anyone figured out a way to get recyclerviews, AppbarLayouts and SwipeRefreshLayout to work together on 23.2 yet? I am using a pretty standard method I think, but the swiperefreshlayout keeps g...
Guillermoguilloche asked 26/2, 2016 at 1:16
2
Solved
In my test app I disable expansion of AppBarLayout when it is collapsed (by scrolling RecycleView). I do that by adding addOnOffsetChangedListener to AppBarLayout.
However, when I click EditText it...
Vivia asked 9/6, 2018 at 12:56
5
Solved
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...
Distillery asked 22/8, 2016 at 6:58
3
what is exact difference between appbar, Toolbar, Actionbar? and when to use them specifically?
I try to find about them but it make me confuse so can any buddy explain to me what is exact differen...
Forenamed asked 13/6, 2017 at 8:46
6
Solved
I was trying to implement the new BottomAppBar that usually looks like this:
material BottomAppBar as a BottomNavigationView like in the Google home app that looks like this.
My problem is that si...
Rosaliarosalie asked 8/12, 2018 at 11:47
4
Solved
I have bellow xml:
<?xml version="1.0" encoding="utf-8"?>
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas....
Heartsick asked 7/10, 2018 at 13:32
5
After using Android Studio to migrate my project to AndroidX (and manually fixing a lot of import errors), I'm getting no compile errors but when the app starts I get a crash with:
Error inflatin...
Bertold asked 5/2, 2019 at 3:42
4
Solved
I want to do something very simple: Change the background for the AppBarLayout component for the entire theme.
So here's my theme, where I don't know which attribute to overwrite:
<style name=...
Wigley asked 25/3, 2019 at 11:5
7
Nested scroll view scrolls smoothly on scrolling down but on scroll up it is sluggish.Collapsing toolbar(with an image view and framelayout) upon scrolling up doesn't renders its content(remains bl...
Airwaves asked 17/9, 2015 at 13:6
8
CorodinatorLayout inside another CoordinatorLayout such that scrolling the child-view should also scroll the Parent CoordinatorLayout.
I have a coordinatorLayout with ViewPager that contains diffe...
Gyrostatic asked 9/12, 2015 at 14:32
3
I have a layout with CollapsingToolbarLayout and CoordinatorLayout as root element.
Whenever a Snackbar is shown in the activity the title of the toolbar resets its position to the default expanded...
Ethiopian asked 23/9, 2016 at 13:27
4
I am trying to get a fading effect on the ImageView when collapsing the AppbarLayout but the image still remains. I have read other solutions but its not working for me. I cant seem to find what is...
Ninny asked 29/6, 2016 at 14:59
1
I would like to define custom styles for some widgets from Android Support Design (like AppBarLayout, TextInputLayout, FAB...) and set up these styles as default for my project, as I can do with Ed...
Meseems asked 24/2, 2016 at 19:24
3
Solved
I added a toolbar to my layout and now I get this error when running:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.myapp/mainactivity.MainActivity}: android.view....
Iodoform asked 22/3, 2019 at 11:35
4
Solved
I'm trying to make a search fragment similar to the one in the Play Store:
My AppBarLayout has a CardView in it, and the background is set to transparent:
<android.support.design.widget.Coor...
Poppas asked 25/7, 2016 at 8:50
4
I find most of the material is about discussing adding "pull to refresh" in the area below AppBarLayout, such as SwipeRefreshLayout, I wonder how to do this in the AppBarLayout, which means:
Whe...
Coelom asked 27/7, 2017 at 14:42
7
I want to use NestedScrollView with CollapsingToolbarLayout. In NestedScrollView there is really long content. Unfortunately I can't scroll to the end. Some of this long content is cut. What is str...
Predominance asked 16/12, 2015 at 7:51
5
Solved
I am looking to add scroll support to more than just a single, scrollable, child view of CoordinatorLayout in conjunction with an AppBarLayout and CollapsingToolbarLayout. When scrolling the Recycl...
androidandroiddesignsupportandroid-coordinatorlayoutandroid-collapsingtoolbarlayoutandroid-appbarlayout
Psychasthenia asked 8/9, 2015 at 19:16
3
Below is my code to handle the correct behaviour of my apps actionBar/toolbar/tabBar and nestedScrollView with a ViewPager (webView) inside it. The ViewPager is basically a normal webView.
Everyth...
Uninhibited asked 28/11, 2017 at 22:13
5
I have a problem using CoordinatorLayout in conjunction with ViewPager and the ViewPager:
the layout does not resize correctly. Supose that the height solved includes tabs height. So when I scrol...
Casting asked 11/4, 2016 at 19:40
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 have a vertical RecyclerView hosted in a CoordinatorLayout featuring a collapsing toolbar layout. The ViewHolder for this RecyclerView contains yet another RecyclerView with a GridLayoutManager. ...
Incongruous asked 25/7, 2015 at 23:46
5
Solved
I have some problems with AppBarLayout and CollapsingToolbarLayout. This is what currently happens:
https://www.youtube.com/watch?v=z4yD8rmjSjU
The downwards scrolling motion is exactly what I wa...
Reims asked 22/3, 2019 at 15:53
© 2022 - 2024 — McMap. All rights reserved.