Community Questions & Answers
Menu performance in Android
Hi all, is there any material specifically about menus/actionbar and menu updating for Android in Titanium? I see very little material about the issue and nothing about how to update a menu. My personal case, I have a menu with 4 different actions that...
Android ActionBar item in Sub-Window
Hey there, I'm currently trying to include the "new" ActionBar in my android apps and so far it works really good! However i'm facing problems to set a menuItem on the right corner of the window when the window is not the root window (in my case...
Alloy TSS Style for Android ActionBar
Hi, how can i set the backgroundImage of the ActionBar using the alloy tss style? I'm using alloy 1.0.0 and Ti-SDK 3.1.0
Changing ActionBar buttons (Android Menu)
I'm creating an app for Android 4.0 under SDK 3.0. I would like to disable a button from a menu that appears in the ActionBar. I know there's a "enabled" option for the MenuItem object, but I didn't find the Menu object anywhere. Additionally, I...
Android ActionBar Overflow Menu
I am just finally jumping into the new Android 3/4+ features. I have had no issues changing any properties of the actual actionBar but am unable to get the overflow menu working, it simply defaults the standard bottom menu bar from previous android...
Action Item in same row as Tabs
Hey, I was wondering if it's possible to create a TabGroup, paired with Action Items in one single row. I'm currently on SDK3.0/Ti3, testing on a Android 4.1.2 device. My goal was to create something like...
One line Action Bar as a navigtion group
I have formatted my NavigationGroup as an Action Bar on Android ICS. The lay-out is as follows: ~~~ <icon> <empty space> <menu buttons> <tab_1> ... <tab_n> ~~~ What I would like to achieve is (in portrait...
actionBar menu and onHomeIconItemSelected on the same window?
Hi, I'm working with Titanium (SDK 3.0.2) for the first time, developing a mobile app for Android. I want my global functionality to be available throughout the app, so I've added some windows to the actionBar menu. Works like a charm, once you get it...
Icons missing from Action Bar tabs
For an Android build, I set the Holo theme, setTargetSdkVersion="14", minSdkVersion="8", and there is a nice action bar tab group for Android 3.0+ and the fallback standard tab group for Android 2.x. However, the tab icons don't show up...
Search view displaying white search icon instead of custom
Ive implemented a search view in the action bar. The problem is that for some reason the action bar is showing the default white search icon (which i think is the default one), instead of the one Ive specified. Any other icon in the action bar is being...
ActionBar Menu Item only showing on Menu-Button Press
Hi all, I have been fooling around lately with the action bar and a tab group and I can get it to display the button alright using the "onCreateOptionsMenu" event BUT this only works for the "tab group" everytime I open a...
actionBar Overflow opens in wrong direction
Hey everybody, I just created an actionBar with 3 menuItems in the overflow menu. The problem is, that the dropdown menu opens in the wrong direction, like shown on the picture and so gets cut by the display edge. (Picture of the...
Android ActionBar Drop Down Navigation
Is this supported currently in Titanium? I am looking for a way to add a drop-down nav list to a menu item in the ActionBar. I am not seeing it anywhere in the documentation. Thanks
Android actionBar crash app
Hi, I have a problem with Android and actionBar, as i read in the doc i tried to add the actionBar in my app. Here the code ~~~ function ApplicationWindow(navController) { var self =...
ActionBar only showing on Menu-Button Press
Wondering if anyone can help, I'm currently developing an Android app on Ti SDK 3.1.0.v20130130232607 and Alloy 0.3.6 on Ubuntu 12.04 and using a Galaxy Note 2 N7100 as the tester (also tried a few other phones) I'm trying to implement the Android...
cannot add window/tab group to another window/tabgroup error in Android
Hi, I am building a simple android application which have an actionBar in it. Here is my code. `In app.js` ~~~ var mywin = Ti.UI.createWindow({ title:'main Window', backgroundColor:'red', exitOnClose:true }); var myBtn = Ti.UI.createWindow({ ...
Menu items are not displayed initially in an action bar if you have other logic with action bar.
I noticed when I'm trying to add menu to my application and assign any action to actionbar's home icon (using an example I found here) - menu items are not displayed initially in an action bar till I click menu. If I remove a code that works with...
iphone action bar
has any one built native looking iPhone action bar module ? so that i do not re invent the wheel
How I can develop an Action overflow in an Actionbar
I'm creating an app for Android 4.0 API level 15 under SDK 3.0.0. I need to create a actionBar with action overflow, but a don´t have idea how i can do it. Some help?
Android action bar code example
Hello friends, This is small examples to use Android action bar in Titanium, This feature is supported from Android 3 (API level 11) and some new features from Android 4 (API level 14). From [SDK 3.0 Titanium will support some of Android action bar...
Android OS by the numbers
I am starting a new app and wanted to look into using the new Android ActionBar available to us in mobilesdk 3.0. I looked and the native ActionBar is available in Android 3.0 (API level 11) and above. This got me thinking. If I use this feature and...
hide TitleBar in splitted actionBar
Hey everybody, I managed to put my actionBar with all of its icons on bottom of the screen by adding "android:uiOptions="splitActionBarWhenNarrow"" into my custom AndroidManifest. Now look at this picture, provided by Google in their...
Android action bar error
I've this actionbar example https://github.com/HazemKhaled/ActionBarSampleTi you know we need to create custom AndroidMainfest.xml file to set theme Te problem: I can't set any permission in custom AndroidMainfest.xml file, for...
Android ActionBar?
I've noticed that the ActionBar is already implemented but not yet released. There's a [fixed ticket](http://jira.appcelerator.org/browse/TIMOB-2371) for it, planned for the 3.0.0 Release. So far, so good. BUT the [3.0...
Android ActionBar UI
Is there any sort of timeframe or indication of when we will have access to some of the newer Android API's? Specifically, I would love access to the [ActionBar](http://developer.android.com/guide/topics/ui/actionbar.html), as this is going to be standard...
How to add title to ActionBar on TI 3.0?
I'm using the beta version of Titanium 3.0 to use the new widgets for Android. It's working just fine, but... how can I add a title besides my app icon in the top bar? Also: is there any place with new documentation about it? I've found the 3.0 doc but...
What size image do I use for an "action bar"?
The "actionbar" concept is pretty old in iOS and relatively new in Android. Titanium doesn't support Actionbar natively, from what I understand, so I want to create my own action bar. What size should the image be and how do I account for the...
Showing 1-27 of 27