Appcelerator extending UI elements

If you have every used <NavigationWindow&gt in your Alloy code you know that it will only work with iOS. But what if you don’t want to have to duplicate all your code for android? // index.xml <Alloy> <NavigationWindow id=”win1″ platform=”ios”> <Window class=”container”> <View> <Button onClick=”showDetails”>Show Details</Button> </View> </Window> </NavigationWindow> // Terrible we are duplicating code!!…