ToolBar for Android

I'm an iOS developer new to Titanium. I have an iPhone app that I would like to port to Android as a test case for using Titanium. The opening view of the app is an image with a ToolBar at the bottom. I would like to make the code as cross platform as possible. The attached code produces the correct view in the iPhone emulator but not the Android emulator or device. What am I doing wrong? Thanks for your help.

The problem is that android does not have a native UI component for a toolbar, and hence Titanium cannot map your code to a native widget like it can with iOS. If you look closely at the top right of each API page such as the one for the Toolbar, there is only an apple icon and not an android icon.

I realize that win1.open should be win1.open();, that was a paste error, and also pixel values should be i.e. '200dp' rather than just plain 200. With these changes the results are the same. Any assistance would be greatly appreciated.

I don't know why I did not get notification comments were added to this 3 hours ago, but just got the notice on this one. Obviously, I did not pay enough attention to the code and just jumped at the "toolbar" in the paragraph saying an iOS app was being ported to android. Sorry about that.

A few suggestions:
- For dimensions, do not quote a number unless using a suffix like dp or %, so use 40 instead of '40' (or use '40dp')
- For width, do not hard code 320. If you want the full width, use both left:0 and right:0 but leave off the width property. That will adjust based on the current device and even orientation changes.

Thanks for the additional info. Unfortunately none of these changes makes a difference. The toolBar view and the buttons are not visible at all in the Android emulator. These seem like basic UI elements that should work in both environments. Why is that not the case?