Questions tagged as 'actionbar'

1
answer

How to use ListActivity with ActionBar?

You can only access the menu of a ListView that is without ActionBar by the menu key in the emulator. How to display it? Do you need to inflate by BaseAdapter ? ActivityofListView:publicclassListDespesasActivityextendsL...
asked by 19.01.2015 / 14:50
1
answer

In the ActionBar Menu, how do you allow the icon of an item to always be visible, and text only when there is space?

I'm trying and researching for some time the possibility of having behavior in my ActionBar , as follows for some items: Icon ( android:icon ): always visible in ActionBar ; Text ( android:title ): only visible if...
asked by 25.03.2015 / 18:53
1
answer

how to make the application icon appear in the action bar? [closed]

by default it was to appear but not appearing I found this question App icon does not appear but the answer did not answer.     
asked by 15.04.2017 / 18:21
1
answer

How to put a layout for each action bar tab

The code shows an application with 2 tabs: List and register, I want to put a listview in one and one form in the other, but how do I make each one have its own xml? package com.example.diego.layoutteste; import android.support.design.wid...
asked by 16.06.2016 / 23:29
1
answer

Toolbar button toggle (burger) does not work on Android Pre Lollipop

I created a% of the same% of the image ItworksperfectlyonAndroid5.0orhigher,justliketheimage.ButwhenIruntheapplicationonAndroidunder5.0,the does not work and when I open the Drawer menu by sliding it, the toolbar becomes dark, with the sam...
asked by 19.12.2015 / 14:13
1
answer

Android Transition between Fragments

I have an application that contains 2 fragments. A fragment (A) is a listing of items and the toolbar has a search, and the second (B) is the date of the selected item. I can make the transition well from A -> B and vice versa. My problem is in...
asked by 27.03.2015 / 11:27
1
answer

Change the background color of ActionBar with TabActivity

I'm having trouble changing background . When I use this way, with extends of TabActivity : public class HomeTabActivity extends TabActivity {... private android.support.v7.app.ActionBar _actionBar; } I can not...
asked by 20.10.2014 / 19:15
2
answers

Changing ActionBar color in Style

I'm studying to develop Android applications, I'm making an App, but I can not change the color of my ActionBar. I'm developing for Android KitKat. This is my style.xml <resources> <!-- Base application theme. --> <style name...
asked by 27.12.2014 / 21:16
1
answer

Toolbar does not appear in editor

In any project I create: The Toolbar is displayed in the emulator but does not appear in the editor. These errors also appear: Followthecodes:Styles:<resources><!--Baseapplicationtheme.--><stylename="AppTheme" parent="Ba...
asked by 23.07.2018 / 23:53
0
answers

Is it possible to create an Options Menu without an Action Bar on Android?

I'm creating a Profile screen, and I'd like to put an Options Menu with the 'Edit profile' and 'Exit' options. The problem is that I do not have an Action Bar on this screen, nor do I want to put one, but I would like to create this Options Menu...
asked by 09.11.2017 / 13:01