All Questions
9 questions
0
votes
2
answers
7k
views
How to anchor a Floating Action Button to the App ToolBar like in the guide images?
I want to get a Floating Action Button anchored to the upper part of my activity, on the action bar. In the guides is not explained how to get that effect of getting the floating action button ...
0
votes
1
answer
94
views
Custom ActionBar setCustomView() has extra margins
I am not really good when it comes to designing. I already have an ActionBar I just want to customize it.
As you can see in the screenshot it is not properly aligned. The yellow one is the default ...
0
votes
1
answer
1k
views
Android AppBar not showing shadow
The AppBar and BottomNavigationView don't display any shadow on the listview between them even with
setSupportActionBar().setElevation(3.0f);
I have the following layout
CordinatorLayout
--...
0
votes
1
answer
59
views
Is Android Navigation drawer supposed to be over ActionBar?
As the title suggests, my app uses a side menu using navigation drawer. I got inspired by this official google doc and its nav drawer can be toggled either by swipe from left to right or by clicking ...
1
vote
2
answers
1k
views
ActionBar color not changing
I'm trying to change the color of the ActionBar in my app. The color was changed in the preview tap when opening the layout file, but not when I run it on my device (5.0.1). I need the status bar to ...
2
votes
3
answers
7k
views
Use default title text view style for customize title text in android
I am implementing material design in my app with toolbar item. In my toolbar I have add "imageview" and "textview" and replace the title text for my "textView"
Here my code
<?xml version="1.0" ...
0
votes
2
answers
1k
views
Material Design Action Bar compatible from GingerBread onwards (Android)
I want a clean action bar which support from api 10 - api 21 to implement in my app. I have gone through different tutorials, developer documents from google and some examples provided at the ...
2
votes
0
answers
86
views
How position a View to the right inside a Toolbart without hiding the title?
I'm using the Toolbar widget of appcompat v21.
Without hiding the toolbar title I want to add some views (ie: textview, button) to the content of the toolbar.
By default they are positioned to the ...
10
votes
1
answer
6k
views
Align an icon with the Toolbar icon - Android Material Design
In the new Material Design (using AppCompat), I am trying to align some action icons with the drawer icon of the new toolbar. Something like:
I think I am looking in all the metrics correctly...
...