[TIMOB-11644] Android: Allow changing background drawable on the action bar
GitHub Issue | n/a |
---|---|
Type | Sub-task |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-11-13T22:05:58.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | actionbar, qe-testadded |
Reporter | Allen Yeung |
Assignee | Allen Yeung |
Created | 2012-11-02T00:35:50.000+0000 |
Updated | 2014-06-19T12:43:38.000+0000 |
Description
There should be a method on the native android action bar to do this already. We need to investigate and see where would be the appropriate place to place this API in Titanium.
Test case: 1. Set your target sdk version to 14 by adding the entry if your tiapp.xml"
2. Run the following code:
Expect result: You should see the image as the background for the action bar
Background image is displayed on the actionBar. Hence closing it. Verified on: Device : Google Nexus 7, Android Version: 4.1 SDK version: 3.1.0.v20130320190115 CLI version : 3.0.24 OS : MAC OSX 10.7.5 XCode : 4.5.1