Skip to content

Instantly share code, notes, and snippets.

@benbahrenburg
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benbahrenburg/8967586 to your computer and use it in GitHub Desktop.
Save benbahrenburg/8967586 to your computer and use it in GitHub Desktop.
Custom Style
<activities>
<activity android:screenOrientation="portrait"
android:theme="@style/FullHeightDialog" url="Sections/quetiondialog.js"/>
</activities>
var intent = Ti.Android.createIntent({
url: 'Sections/quetiondialog.js'
});
intent.putExtra('fullscreen', false);
intent.putExtra('navBarHidden', true);
intent.putExtra('modal', true);
var activity =Ti.Android.currentActivity;
activity.startActivity(intent);
var win = Ti.UI.currentWindow;
var mapview = Ti.Map.createView({
mapType: Ti.Map.STANDARD_TYPE,
animate:true,
regionFit:true,
userLocation:false
});
win.add(mapview);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment