Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

clean up readme and strip out base tab template

  • Loading branch information...
commit 3b8512ed06aa2f5ba79432cc850e2c97e5fd4538 1 parent 2802fe1
@aaronksaunders authored
Showing with 6 additions and 42 deletions.
  1. +5 −4 README
  2. +1 −38 Resources/app.js
View
9 README
@@ -1,12 +1,13 @@
-Welcome to your Appcelerator Titanium Mobile Project
+Welcome to Google.Chart Appcelerator Titanium Mobile Project
-This is a blank project. Start by editing your application's app.js to
-make your first mobile project using Titanium.
+
+This is code based on Google Visualization Project
+
+http://code.google.com/apis/visualization/documentation/using_overview.html
----------------------------------
-Stuff our legal folk make us say:
Appcelerator, Appcelerator Titanium and associated marks and logos are
trademarks of Appcelerator, Inc.
View
39 Resources/app.js
@@ -7,7 +7,6 @@ var tabGroup = Titanium.UI.createTabGroup();
//
// create base UI tab and root window
-//
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff'
@@ -18,46 +17,10 @@ var tab1 = Titanium.UI.createTab({
window:win1
});
-var label1 = Titanium.UI.createLabel({
- color:'#999',
- text:'I am Window 1',
- font:{fontSize:20,fontFamily:'Helvetica Neue'},
- textAlign:'center',
- width:'auto'
-});
-
-win1.add(label1);
-
-//
-// create controls tab and root window
-//
-var win2 = Titanium.UI.createWindow({
- title:'Tab 2',
- backgroundColor:'#fff'
-});
-var tab2 = Titanium.UI.createTab({
- icon:'KS_nav_ui.png',
- title:'Tab 2',
- window:win2
-});
-var label2 = Titanium.UI.createLabel({
- color:'#999',
- text:'I am Window 2',
- font:{fontSize:20,fontFamily:'Helvetica Neue'},
- textAlign:'center',
- width:'auto'
-});
-
-win2.add(label2);
-
-
-
-//
// add tabs
-//
tabGroup.addTab(tab1);
-tabGroup.addTab(tab2);
+
// open tab group
Please sign in to comment.
Something went wrong with that request. Please try again.