android-toolbar Questions

2

I have the following layout in my application: <android.support.design.widget.AppBarLayout android:id="@+id/appbar" android:layout_width="match_parent" android:layout_height="wrap_content" ...
Pallette asked 9/5, 2017 at 15:31

4

When I try to change navigation drawer toggle color, only hamburger changes it, arrow keeps her native color. You can see it here - <style name="AppTheme" parent="Theme.AppCompat.NoActionBar"&g...
Purapurblind asked 9/1, 2015 at 12:57

5

Solved

I have implemented the new style Collapsible Toolbar. I am using the same code as the example (Cheesesquare) demo app - which of course works fine on all devices. I need help figuring out what I am...
Proof asked 1/7, 2015 at 21:16

2

My AppBar hides one of my views right when it reaches the end of the scrolling, but I want the pinned view to stay above the AppBar even when it reaches the end of its scrolling. Here is what my ...

7

Solved

I currently have a DrawerLayout in my main.xml. There's a Toolbar wrapped in an AppBarLayout, and then a simple LinearLayout to swap out fragments. One of the fragments I navigate to, I want it t...

4

WhatsApp has such Toolbar: When 'Search' menu item clicked, from the top SearchView comes down which takes whole space of toolbar: When I tried to implement SearchView, it looks like this: I ...
Xylography asked 4/10, 2015 at 5:46

2

Solved

Here is a screenshot of Google Maps Toolbar. As you can see icons are aligned to the left instead of right (default behavior). I've tried adding android:layout_gravity="left" and android:gravity...

6

i want to make a collapsing toolbar layout like google play store. like this: https://sendvid.com/ugjspx8r and here is my layout: http://sendvid.com/s4mx3xem how can i do that with new android su...

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

3

Solved

I am trying to add customized toolbar i want cart badge count so i added the relative layout to toolbar widget, when i didn't added relative layout in toolbar the title appeared in center but now r...
Liles asked 6/4, 2017 at 17:14

4

Solved

I have a simple CoordinatorLayout with a AppBarLayout and FrameLayout, but the FrameLayout contents are being displayed over the AppBarLayout regardless of the layout_behavior attribute on the Fram...

4

Solved

I use PreferenceFragment in ActionBarActivity from support-v7 library. In the Activity I have Toolbar. Everything goes okay, until I open a nested PreferenceScreen. In the opened screen the Toolbar...

2

Solved

This is my toolbar xml <?xml version="1.0" encoding="utf-8"?> <android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.and...
Rennet asked 4/7, 2015 at 21:19

3

Solved

This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead This is the e...
Abrasive asked 5/1, 2015 at 17:41

2

Solved

I would like to know if it is possible to scroll the entire status bar (icons and background), not just the background. Almost as if as if it was part of the toolbar. I am experiencing the same si...

2

Solved

I was creating a settings activity/layout for my app. I have a CoordinatorLayout with an AppBarLayout and Toolbar, then beneath that it includes content_settings.xml. When the content loads the .xm...
Mariande asked 30/9, 2015 at 0:29

3

Is it possible to use Immersive Mode on Android KitKat and Lollipop in combination with a Toolbar? Toolbar <android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res...
Wieland asked 27/2, 2015 at 13:14

2

Solved

I have a toolbar in my xml file, with no child views defined in it. I want to add a TextView on exact location of default title in toolbar when we call setSupportActionBar(toolbar). On particular e...
Hyrup asked 18/2, 2017 at 13:45

1

Solved

How do I change the color of an unchecked menu item in a toolbar's submenu? I know that the checked state is defined by the accentColor of the corresponding theme. But I couldn't find a way to def...
Greenfinch asked 24/2, 2017 at 19:52

3

Solved

I'm scratching my head with this one now.... I have an ActionBarActivity that loads an initial Fragment - the original menu is inflated within the activity. Now, I have a navigation bar that, when ...

12

I'm using the new toolbar widget introduced in the appcompat / support-v7. I would like to hide/show the toolbar depending on if the user is scrolling up/down the page, just like in the new Google'...
Endeavor asked 24/10, 2014 at 0:18

2

Solved

I know that it is per material guideline, but i don't like it and i want it to below toolbar. please provide some info to adjust position of overflow menu.
Avernus asked 4/4, 2015 at 10:57

2

Solved

I've drawer-layout as a base layout of my activity and I'm replacing two fragments on a frame present inside this drawer-layout. The first fragment is not added in fragment's back stack. I'm displa...

2

Solved

I'm using a Toolbar to replace the ActionBar. All is going well with one problem: The toolbar shows only on the main activity. If I try call the toolbar on any activity the same way I did with th...
Deroo asked 22/2, 2015 at 19:5

3

Solved

I've just added an Android Toolbar to an app I'm working on. The toolbar placement works correctly with the toolbar layout appearing at the top of the display. However, the toolbar is showing up as...
Recital asked 1/2, 2015 at 16:55

© 2022 - 2024 — McMap. All rights reserved.