Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

clean up readme and strip out base tab template

  • Loading branch information...
commit 3b8512ed06aa2f5ba79432cc850e2c97e5fd4538 1 parent 2802fe1
aaronksaunders authored

Showing 2 changed files with 6 additions and 42 deletions. Show diff stats Hide diff stats

  1. +5 4 README
  2. +1 38 Resources/app.js
9 README
... ... @@ -1,12 +1,13 @@
1   -Welcome to your Appcelerator Titanium Mobile Project
  1 +Welcome to Google.Chart Appcelerator Titanium Mobile Project
2 2
3   -This is a blank project. Start by editing your application's app.js to
4   -make your first mobile project using Titanium.
  3 +
  4 +This is code based on Google Visualization Project
  5 +
  6 +http://code.google.com/apis/visualization/documentation/using_overview.html
5 7
6 8
7 9
8 10 ----------------------------------
9   -Stuff our legal folk make us say:
10 11
11 12 Appcelerator, Appcelerator Titanium and associated marks and logos are
12 13 trademarks of Appcelerator, Inc.
39 Resources/app.js
@@ -7,7 +7,6 @@ var tabGroup = Titanium.UI.createTabGroup();
7 7
8 8 //
9 9 // create base UI tab and root window
10   -//
11 10 var win1 = Titanium.UI.createWindow({
12 11 title:'Tab 1',
13 12 backgroundColor:'#fff'
@@ -18,46 +17,10 @@ var tab1 = Titanium.UI.createTab({
18 17 window:win1
19 18 });
20 19
21   -var label1 = Titanium.UI.createLabel({
22   - color:'#999',
23   - text:'I am Window 1',
24   - font:{fontSize:20,fontFamily:'Helvetica Neue'},
25   - textAlign:'center',
26   - width:'auto'
27   -});
28   -
29   -win1.add(label1);
30   -
31   -//
32   -// create controls tab and root window
33   -//
34   -var win2 = Titanium.UI.createWindow({
35   - title:'Tab 2',
36   - backgroundColor:'#fff'
37   -});
38   -var tab2 = Titanium.UI.createTab({
39   - icon:'KS_nav_ui.png',
40   - title:'Tab 2',
41   - window:win2
42   -});
43 20
44   -var label2 = Titanium.UI.createLabel({
45   - color:'#999',
46   - text:'I am Window 2',
47   - font:{fontSize:20,fontFamily:'Helvetica Neue'},
48   - textAlign:'center',
49   - width:'auto'
50   -});
51   -
52   -win2.add(label2);
53   -
54   -
55   -
56   -//
57 21 // add tabs
58   -//
59 22 tabGroup.addTab(tab1);
60   -tabGroup.addTab(tab2);
  23 +
61 24
62 25
63 26 // open tab group

0 comments on commit 3b8512e

Please sign in to comment.
Something went wrong with that request. Please try again.