android-appbarlayout Questions

3

I have RecyclerView above that i have an AppBarLayout whose height is larger than 255 px. When user scrolls RecyclerView, AppBarLayout has an fling issue. To avoid that i decided to expand AppBarLa...

5

Solved

I have an AppBar and RecyclerView in CoordiantorLayout. SwipeToRefresh has to be fullscreen but RecyclerView not scrolling down then. <com.google.android.material.appbar.AppBarLayout andro...

7

I have this issue in 2 of my activities. When I navigate using keyboard Tab keys or arrow keys - I am unable to reach any element in the App bar. 1) Activity 1 -> My appbar has a hamburger menu ic...

4

Solved

The new 'Material Design 3 top app bar' docs says they got rid of the drop shadow. How can I enable it? Setting elevation on Toolbar or AppBar does not work at all.

5

I have a fairly typical List functionality using a CoordinatorLayout, AppBarLayout, SwipeRefreshLayout and RecyclerView - When the RecyclerView has enough content to scroll, the page seems fine. W...
Roentgen asked 5/2, 2016 at 13:12

6

Solved

I faced some problem. I want make an image, a text and two icons in AppBar but I can't make it work as I want. I tried to make some fonts in a row after the images and text. The images and the t...
Kissner asked 29/3, 2019 at 9:29

3

After switching to androidx the following code stopped working. The TextView below the Toolbar used to scroll with the content, but now it doesn't. I managed to make it work only when I set the sam...
Raucous asked 12/4, 2019 at 10:15

3

Solved

I'm making an app bar in jetpack compose but I'm having spacing issues between the navigation icon and the title. This is my compose function: @Composable fun DetailsAppBar(coin: Coin, backAction: ...
Idealism asked 23/9, 2021 at 22:1

3

Solved

I have a layouting problem when combining CoordinatorLayout with an AppBarLayout and a NavigationDrawer. The problem is, that the NavigationDrawer and it's content are hidden behind the toolbar. ...

4

Solved

Background Suppose you have a scrolling activity, with CoordinatorLayout and AppBarLayout, where you have a top header that can collapse upon scrolling at the bottom (which might have a RecyclerVi...
Consignment asked 27/7, 2017 at 13:48

3

In my AppBar the title is displayed with white text, but the icons are a dark grey or something. I Would like to have the icons white, too. But the colors in the icon themes have no effect! Not whe...

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...

4

Solved

I want to hide my AppBarLayout for adding a view dynamically which will take the height of the screen. For this, i want to remove a view temporaly by setting the visibility of my AppBarLayout to GO...

6

I have an issue with scrolling Collapsing AppBar, when I am trying to scroll it touching the AppBarLayout part. And also it sometimes scrolling not smoothly. Here is short (1m 30s) video of issue:...

1

Solved

I am currently trying to create a seperate composable for the TopAppBar. I am going for something like this: https://gyazo.com/029064b4fb4169c5171a85934fcdcc7a. I want to be able to customize it se...

2

Video of my current state,for better understanding of my situation: video everything above RecyclerView is inside AppbarLayout Example of reddit app with similar behavior: video Goal: 1-Implement ...

0

Hey guys I am using custom toolbar in my project. When I try to scroll view it goes behind the toolbar and see all item. I made a short video please have a look. toolbar.xml <?xml version="...

1

Solved

Hey I am working on search bar in android. I get the lead from this post. Now I want to try something more. Above post explanation in short :- I have searchview in the middle of screen. When we foc...

1

First I set AppBarLayout theme via xml: <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.andro...

7

Solved

In my application I have a collapsing Toolbar. If I start a specific Fragment I want to collapse the Toolbar so it behaves like a "normal" one and that the user can not expend it by himself. Here i...
Lass asked 6/3, 2016 at 0:10

5

I have 2 fragments (Fragment A and Fragment B) both with collapsing toolbar layouts and corresponding recyclerviews within a coordinatorlayout. If I scroll up in my recyclerview (so the Collapsing...

1

I'm trying to restyle my app's AppBars to use the CollapsingToolbarLayout pattern. As the content is scrolled, the toolbar reduces in size and the visible content area increases. My app uses Fragme...

2

Solved

I am trying to add a linear gradient in the appBar, but so far i didnt managed how to do it. Does anybody know how can i add this in my appBar? Thank you decoration: BoxDecoration( gradient: Linea...

1

I know with Navigation Component, you can easily set up your toolbar to work with it (https://developer.android.com/guide/navigation/navigation-ui#create_a_toolbar). You call setupWithNavController...

10

So, I am new here just installed Android Studio and then wanted to create a basic activity. But the thing is they want me to install the SDKs and Haxm which is not being installed through SDK manag...
Fu asked 14/3, 2020 at 8:35

© 2022 - 2024 — McMap. All rights reserved.