Quantcast
Viewing all articles
Browse latest Browse all 8068

Creating a Titanium Alloy Android Toolbar/Actionbar

Hey Guys,

I really appreciate you taking the time to read this. My issue is that I have been trying to create toolbar style navigation with only two items a menu button and a logo, I would also like to stay across all screens. I have looked through the documentation over and over again and tried like a million different things and I was wondering any could help. My .topBar is my current toolbar but it was done through the tss file and all of the other items are just scrolling images.

<Alloy>
    <Window class="container" layout="vertical">
 
        <View id="topBar">
            <Button id="menuToggleButton"></Button>         
            <ImageView id="logo" />
            <ImageView id="creditcard" />               
        </View>
 
 
        <ScrollView layout="vertical">          
            <Require id="myVehicle" src="myVehicle" />
            <Require id="driving" src="driving" />
            <Require id="mapsAndDiscounts" src="mapsAndDiscounts" />
        </ScrollView>           
 
    </Window>
</Alloy>
Can someone please help or point me to an example.

Viewing all articles
Browse latest Browse all 8068

Trending Articles