android-toolbar Questions

3

Solved

I want to achieve this: What I thought was to make a Custom Toolbar with a bigger height and work with the tabhost and tabpager normally. I have implemented it, but the toolbar is showing the no...

3

I'm trying to make the Toolbar in my app hide and show based on the RecyclerView's scrolling. This gif shows what I'm trying to achieve. I'm following this tutorial and not getting the results...
Furan asked 4/7, 2015 at 7:41

5

Solved

I'm working with the v7 support library and trying to have a navigation drawer on the left. As read elsewhere I set up: DrawerTest.java: The main activity that holds the drawer, into which I load...
Fabricant asked 23/12, 2014 at 17:6

2

Solved

Is there a way for AppBarLayout to no drop shadow and keep its elevation? <android.support.design.widget.AppBarLayout app:elevation="0dp">

6

Solved

I am using a custom toolbar. I need to add back button to it. Now I am using this code to add the back button. Toolbar toolbar = (Toolbar) getActivity().findViewById(R.id.toolbar); toolbar.setBac...
Coastline asked 19/5, 2016 at 14:58

5

Solved

I've tried several different approaches, including the one found here (which in turn led me to trying both of the top answers to this question), as well as using reflection to get access to the Tex...

2

I am investigating the excellent Mapbox library within my current Android Application. I have come across this issue when trying to integrate the PlacePickerActivity. Caused by: java.lang.NullPoi...
Writer asked 24/12, 2018 at 11:43

2

I am trying to create a custom extended toolbar in android with an edit text in the toolbar. The layout that I want to implement looks something like this The code that I have written to impleme...
Klaipeda asked 29/5, 2015 at 16:0

8

Solved

I'm using the new toolbar from the Appcompat V7 library and I'm making an application with navigation drawer and with fragments. In some fragments I don't want to show the hamburger icon but the a...
Stringhalt asked 1/12, 2014 at 14:42

0

I am developing an app that uses a Toolbar wrapped in AppBarLayout and it allows the user to change themes of the app by applying a theme style. For some reason, when the theme has a dark Toolbar, ...
Vanwinkle asked 21/12, 2018 at 22:53

1

Solved

If remove at app:layout_scrollFlags value scroll in Toolbar , then content is moving to top. See screenshot Here is my layout: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns...
Aylsworth asked 26/11, 2018 at 10:6

10

Solved

I'm updating an app to use the new Toolbar instead of the regular ActionBar. In my app the user must be able to select a contact from their contact list. To do so, I've added a SearchView to the me...
Guddle asked 20/1, 2015 at 10:38

8

Solved

Using the last android.support.v7.widget.Toolbar I want to center an image in the toolbar but it keeps staying on the left. The best way for me would be to use toolbar.setLogo() method and to cent...
Gristede asked 17/12, 2014 at 20:32

2

Solved

I'm trying to change the color of my toolbar's back arrow to purple, but the color I set for the colorControlNormal attribute of my custom toolbar theme isn't working. The toolbar should be purple ...
Flybynight asked 15/11, 2018 at 21:18

2

I'm using NavigationView and add toolbar with include . I use android:layoutDirection="rtl" and all apis works fine but in api 16 it doesn't work. So how can i left to right toolbar in api 16? dr...
Reborn asked 17/10, 2018 at 10:34

1

Solved

What I want to achieve is like this image (Without top NavigationView though) but with Toolbar Menu + BottomAppBar Menu + BottomNavigationDrawerFragment exactly like material design: I could man...

8

Solved

So I've been trying to implement android.support.v7.widget.Toolbar in my Activity and to make it look similar to the previously supported split ActionBar. Here's the XML for my Toolbar: <andro...
Tawannatawdry asked 21/10, 2014 at 14:22

3

Solved

I need help with this xml layout because my Fragment is under the toolbar. I have tried all kinds of layouts attributes like layout_below and more but no success. Also the NavigationView is under t...
Tusk asked 23/2, 2017 at 19:1

4

Solved

I'm trying to use define a custom icon in the support Toolbar but the only icon shown is a left arrow... I tried to set it in the layout and programmatically but the result is the same. Here is my...
Niels asked 19/10, 2014 at 9:17

1

I want to show the same elevation effect on my toobar on a KitKat device as seen on a Lollipop device. Below are screenshots for both the KitKat and Lollipop devices. I have referred to this link b...
Spirelet asked 20/7, 2016 at 8:58

10

I have activity which has drawer attached to it. Each menu of the drawer is a fragment, and under one of the menu I have a fragment with TabLayout, and each tab contains a RecyclerView. So now, wh...

6

Solved

In my app, I have a searchview that displays search suggestions. I want the dropdown/spinner and text to be a particular color. Currently the only change I've been able to make is the text color of...

3

I am seeing the following error in my Android crash reports: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: android.support.v7.widget.Toolbar$SavedState at android....
Originative asked 4/5, 2015 at 11:11

4

Solved

I'm using a Toolbar as an Action Bar in my app using the AppCompat v21 library, as described in this post on the Android Developers Blog. I've styled the action bar using theThemeOverlay.AppCompat....

6

Solved

I'm trying to make CollapsingToolbarLayout with Toolbar and TabLayout below it, but they overlapping each other and I get this I've tried many solutions, but still have this problem. Here is my ...

© 2022 - 2024 — McMap. All rights reserved.