android-toolbar Questions
4
Solved
Should I null check the getSupportActionBar() method even if earlier in that method I have set the support action bar using getSupportActionBar()?
In onCreate() I have the three lines
Toolbar too...
Barometer asked 4/8, 2015 at 9:45
3
Solved
I have to create vertical RecyclerView with nested horizontal RecyclerView in every item. Everything is within CoordinatorLayout. When I scroll by tapping outside nested RecyclerView toolbar hides,...
Peripteral asked 11/9, 2015 at 14:0
7
Solved
I am trying to get the navigation drawer to open below the toolbar.
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schema...
Sandblind asked 18/11, 2014 at 1:52
3
Solved
I added android.support.v7.widget.Toolbar in my app using below code, now I want to show a button in the right end of the toolbar, but not able to do so.
<?xml version="1.0" encoding="utf-8"?&g...
Lor asked 3/2, 2015 at 13:33
1
I have a Android app for Android sdk version 23. Now I try to make it available for user using versions 19 to 23.
All is working fine expect the toolbar in the head of the app. I can't click an me...
Snide asked 5/4, 2016 at 20:42
6
Solved
I'm building an application using the v7.widget.Toolbar component.
I'm able to add the toolbar to my activity, but I don't know how (and what is the right way?) to access it from the activity's fr...
Excel asked 4/2, 2015 at 17:34
3
Solved
My Activity XML is
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/dr...
Baldachin asked 4/5, 2016 at 9:22
1
Scenario:
When one of the toolbars is gone, the second toolbar will adapt the scrollFlag of the first toolbar, instead of its own scrollFlag!
Note:
The weird behavior happens only when one of th...
Zootechnics asked 17/1, 2018 at 22:22
2
Solved
I'm new to Android development and I've got big problems with creating custom toolbar. My requirements:
Custom button on the left (icon + text)
Divider after custom button
Buttons height should b...
Adaline asked 20/10, 2015 at 10:13
1
The Material Design specifications for Progress and activity specifically show in several areas a horizontal progress indicator of only a few pixels (dips) thick below whatever it is we are calling...
Hanforrd asked 26/5, 2016 at 19:27
3
Solved
When I scroll my RecycleView ToolBar hide or show (with animation).
How I can return ToolBar back programmatically?
Proof asked 27/11, 2015 at 13:52
10
Solved
I have implemented a basic ActionBarDrawerToggle using the new Toolbar in Android 5.0.
However, I am unable to figure out how to change the default hamburger icon that is supplied.
From the androi...
Thoroughfare asked 19/11, 2014 at 22:52
13
Solved
I'm trying the new Toolbar component and having some trouble with the navigation icon.
I want to implement a custom icon for back navigation :
In my manifest i set a parent to my activity :
<act...
Assignee asked 23/10, 2014 at 9:37
2
I'm unable to understand difference between these two scroll flags applied to the toolbar or collapsing toolbar, when scroll up and scroll down
Crone asked 12/8, 2017 at 9:3
2
Solved
Background
Google Calendar app has an action item that dynamically change according to the current day ("today"):
I'm required to do a very similar thing, but with a slightly different image th...
Codding asked 7/12, 2017 at 9:52
1
Solved
Background
I have an action item that's not quite standard. It has its own layout, because I've failed to create a nice Drawable for it (written about it here).
Basically, it's just a TextView wi...
Excess asked 7/12, 2017 at 15:6
11
Solved
I am testing out the new Appcompat 21 Material Design features. Therefore I've created a Toolbar like this:
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/...
Caret asked 24/10, 2014 at 19:31
1
In my app some pages have custom view in toolbar. Some fragment have transparent toolbar and some have coordinate layout scroll.
So I have decided to have toolbar separate for each fragment I want...
Ahmedahmedabad asked 4/12, 2017 at 7:17
2
How/Is it possible to make the title span the whole width of the toolbar? Currently the text is cut off by the menu items.
Ive tried playing around with different xml attributes such as paddingEnd...
Jemena asked 16/12, 2014 at 10:23
3
I want to customize back and clear icon in SearchView when it collapses. My requirement is to change the color to white but now it is black.(Please refer the image shared below). I am looking to fi...
Slaby asked 27/8, 2015 at 13:2
0
So I've one activity and two fragments.
I am adding fragment 1 and the toolbar appears as expected
However, the toolbar in the fragment2 appears behind the toolbar.
Edit
So there are two ways ...
Expediential asked 10/11, 2017 at 13:40
3
Solved
Using material design how to create a toolbar with background image.
the following is what i want:
I am trying the following code:
<?xml version="1.0" encoding="utf-8"?>
<android.supp...
Stans asked 16/9, 2015 at 11:35
3
Solved
So, I have a BaseActivity in which I have a toolbar and I call setSupportActionBar(toolbar).
In some of my activities that extends BaseActivity, I would like to change the navigation icon (the def...
Stet asked 29/10, 2014 at 21:48
4
I used CollapsingToolbarLayout as the parent of Toolbar, below it the layout
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ap...
Vitrine asked 25/8, 2015 at 15:14
2
Solved
I'm trying to disable the shadow below a transparent AppBarLayout/Toolbar. Here's the layout:
<android.support.design.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res...
Kermes asked 12/6, 2016 at 19:34
© 2022 - 2024 — McMap. All rights reserved.