To me, that looks like the options menu -- that's where options menu items not promoted to the action bar itself appear. Use onCreateOptionsMenu() and add whatever items you want to the Menu EDIT: Sorry, the screenshot was a bit confusing. There are two possibilities that I can see: This could be a submenu for that action bar item -- I haven't played with submenus and the action bar yet (though this reminds me that I need to do that...) This could be a PopupMenu tied to a custom action bar View.
To me, that looks like the options menu -- that's where options menu items not promoted to the action bar itself appear. Use onCreateOptionsMenu() and add whatever items you want to the Menu. EDIT: Sorry, the screenshot was a bit confusing.
There are two possibilities that I can see: This could be a submenu for that action bar item -- I haven't played with submenus and the action bar yet (though this reminds me that I need to do that...) This could be a PopupMenu tied to a custom action bar View.
No thats not it. Thats the icon on the very right. This menu you can see on the screen appears when you click on the left one of the three icons.
– par Mar 15 at 15:46 @par: Ah, sorry, I misunderstood the screenshot. See edited answer above. – CommonsWare Mar 15 at 15:56 Thanks!
The PopupMenu-Idea sounds promissing to me. – par Mar 15 at 16:14 ListPopupWindow is also available and is probably a better choice as the views are provided by an adapter. – alexanderblom Mar 15 at 22:41 @alexanderblom: Oh, hey, thanks!
I had missed that. – CommonsWare Mar 15 at 23:00.
I would like to add a custom pulldown menu to the actionbar in my project similar to the one that can be found in the google books app (screen). In this case it represents the complete table of contents of the book. I tried to follow the guide from the developer site where there is an example with a SpinnerAdapter.
But when I use a custom Layout (in my case a RelativeLayout with two TextViews in it) I get an Exception that saying "ArrayAdapter requires the resource ID to be a TextView". So I dismissed my idea with the pulldown but then I found the pulldown in the books app wich looks to me like they used a custom layout as well because it looks to me like two single TextViews in one Layout. Could anybody please enlighten me if what I want to do is even possible and how?
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.