Instantly share code, notes, and snippets.

Embed
What would you like to do?
俺ブラウザ
Titanium.UI.setBackgroundColor('#000');
var tabGroup = Titanium.UI.createTabGroup();
var win1 = Titanium.UI.createWindow({
title:'俺ブラウザ',
backgroundColor:'#fff'
});
win1.tabBarHidden = true;
var webView = Titanium.UI.createWebView( {
url: "http://oasis.mogya.com/iphone/"
});
win1.add(webView);
var tab1 = Titanium.UI.createTab({
icon:'KS_nav_views.png',
title:'俺ブラウザ',
window:win1
});
tabGroup.addTab(tab1);
tabGroup.open();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment