Skip to content

Instantly share code, notes, and snippets.

var thisWin=$.index;
var main=$.firstview;
// store drawermenu and main in global variable for easy access from menu
Alloy.CFG.drawermenu=$.drawermenu;
Alloy.CFG.main=main;
Alloy.CFG.contactus = $.secondview;
Alloy.CFG.thisWin = thisWin;
var menu=Alloy.createController('menu').getView();
<?xml version="1.0" encoding="utf-8"?>
<!-- File created by the Android Action Bar Style Generator
Copyright (C) 2011 The Android Open Source Project
Copyright (C) 2012 readyState Software Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at