Community Questions & Answers

SearchView text colour

I have a searchView* in an action bar that has a dark background. The problem is that its text color is black by default, making it hard to read. Is it possible to change the color of the text? If not, any suggestions on how to deal with my scenario? Very...

ActionBar Tab Text color

So I searched a lot and couldn't find any solution. I'm using Alloy, and Titanium 3.2.0.GA. I'm trying to change the color of my tab title. I tried many different schemas, and I managed to change the background color, the bar color, all done with the...

Multiple images in action bar

can i add multiple images in action bar for android ? In iPhone, i can set images as leftNavButton, roghtNavButton of window property and in the middle of navigation bar i can set image by titleControl. is it possible to set images in the middle and right...

Android Icon Management

While making a proper application. How could we do icon management. For example I am making an android application with action bar and many icons. Regarding this I have many questions: 1) Where can I put all the icons in my project. 2) How to call (give...

Android ActionBar issue

I am attaching actionBar to window and adding a few menu items such as open, closed to filter out the result. My question is - how can I know which menu item is selected? there is no selectedBackgoundColor or similar thing which could tell me about...

[Android] Unresponsive menu item on action bar

I notice this difference between using Alloy to create menu items on the Android action bar, vs coding manually. Menu items created using Alloy is very responsive (one-touch will trigger the callback), but manually-created ones usually need 3-4 touches to...

Action Bar on Android with Up (back) navigation

Hi guys, Can anyone advise if it's possible today to put in the Back button on the Android Action Bar? See: http://developer.android.com/design/patterns/actionbar.html Google calls it the 'Up navigation'. To date I've been able to put in menu items on...

Android Actionbar Theme not showing...

I have been trying to get a theme I designed to work with Android. I created a new theme and then downloaded the AlloyActionJackson example from [here](https://github.com/adampax/AlloyActionJackson). I put my theme into the platform/android/res folder and...

action bar has a bug

hi i have action bar in my android app i am using Ti 3.1.2 this is my bug i hope any one helps this is how i implement the action bar http://s24.postimg.org/ennlzugyt/actionerror.png ~~~ <android...

Android ActionBar compatibility library

Trying to get ActionBar for all Android versions, I was able to build a Titanium SDK (3.2.0 master) with the [compatibility library.](https://jira.appcelerator.org/browse/TC-2786) If it works I'll gladly submit a pull request, but currently stuck on the...

adding menu item to action bar failed ?

i am trying to add a menu item but it seems that i have some thing wrong ~~~ var specials = Ti.UI.currentWindow; specials.activity.onCreateOptionsMenu = function(e) { var menu = e.menu; var aboutMenuItem = menu.add({ title :...

actionView never shows

So i'm creating a tabbed application with an actionbar on android. I'm trying to create a searchview inside the actionbar. The only problem is that whatever i try, the actionView never actually shows in the actionbar. when i click the location where the...

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...

Include vs require, once again

Hello! A very basic and quick question: I've read a lot about include and require. I understand that require is preferred, but there are times when include would come more in handy. E.g. when trying to create action bar. How could I include this in...

Showing 1-50 of 79 1 2