All Questions
13 questions
8
votes
1
answer
5k
views
What is difference between "?actionbarsize","?attr:actionbarsize" and "?android:actionBarSize"?
I am confused about "?actionbarsize","?attr:actionbarsize", "?android:actionBarSize"? and ?android:attr/actionBarSize
I see there are actionbarSize in appcompat-v7 but how this all diffrent value are ...
1
vote
1
answer
532
views
Changing the color of an Action Bar
<style name="Theme_Base_App" parent="Base.Theme.AppCompat.Light.DarkActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/...
0
votes
1
answer
78
views
Centering the home/homeasup and action menu in an appcompat actionbar
seems like I am the only one on SO with such problem. Why, android, why ?...
have a look at the image. Only the title is centered (phew). The other two items... help!
here is the relevant xml mojo
&...
1
vote
1
answer
883
views
Views overlapping app compat support action bar?
I was letting a friend test my app, but he noticed some strange issues with the layout. All of the views in listview would hover onto of the action bar.
The thing is, I'm unable to reproduce this on ...
12
votes
2
answers
9k
views
ActionBar vs Toolbar or ActionBar and Toolbar
I have read about the toolbar coming in the AppCompat Library and all its features. Some of the things I have noticed in android developers blog (here) is:
Toolbar is fully supported in AppCompat ...
0
votes
1
answer
576
views
Aligning items in support actionbar appcompat
I have an appCompatActivity with a supportActionBar similar to whatsApp chat screen interface. Having been able to customise the actionbar with all the necessary components, I am not not able to apply ...
0
votes
1
answer
165
views
Android add buttons to ActionBar
I have a problem, in my app I need to add 2 buttons to the ActionBar, i change the menù file in this way
<menu
xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:...
1
vote
0
answers
841
views
How to show notification count on ActionBar Menu items using Appcompat v21
Actually I am developing an application in android and I want to show the total no. of unread emails on the Action Bar Menu Item (like flipkart and all other applications already have) using latest ...
0
votes
1
answer
986
views
Change action bar to toolbar, and now I am having force closes. What am I doing wrong here?
I followed this tutorial http://android-developers.blogspot.in/2014/10/appcompat-v21-material-design-for-pre.html. I have dependencies correct, added this to my layout file toolbar.xml:
<?xml ...
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 ...
15
votes
2
answers
1k
views
Action Bar Icon hidden after SearchView expands
I want the icon beside the SearchView (the "cloud") stays visible even when the SearchView expands. This works properly for tablets but doesn't work in case of smaller devices like Nexus 5.
I have ...
0
votes
1
answer
3k
views
ActionBar Menu icons only shows on overflow menu
I am currently having an issue showing the option menu items on the actionbar. For some reason, the items only show on the overflow menu and this is true for post ICS devices as well. I am using the ...
1
vote
3
answers
501
views
Action bar not show good in android lower than 4
My Action Bar is not showing properly.
I used support library appcompact v7. Application is running well but
when I run it on Android lower version as 4 then
is my Action Bar outspread to full screen ...