Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - three tabs and get picture name

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: No registered users and 3 guests