three tabs and get picture name

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

three tabs and get picture name

Postby sojo » Mon May 04, 2009 4:26 am

Hi,
I want to ask two questions:
1- How to create three tabs:
first tab contain: two spinner and button.
second tab contain: spinner and button.
third tab contain: spinner and button.

2- if I use ImageSwitcher to display a collection of pictures , how to get the name of the selected picture?

thanks.
sojo
Developer
Developer
 
Posts: 35
Joined: Sat Apr 25, 2009 2:06 am

Top

Postby divestoclimb » Tue May 12, 2009 7:15 pm

Using a TabLayout can be tricky, but a few google searches should give you the information you need to implement it.

My latest project uses a TabLayout on the main activity. Check out the source in SVN on the project page and feel free to cannibalize as needed: http://code.google.com/p/gasmixer/source/checkout
divestoclimb
Developer
Developer
 
Posts: 33
Joined: Mon May 11, 2009 7:46 pm

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: Google [Bot] and 2 guests