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

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 - Changing TabHost font size

Changing TabHost font size

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Changing TabHost font size

Postby enochcheng » Thu Sep 10, 2009 10:54 pm

Hi,
I'm creating Tabs for my application and I wonder how do I change the
font size in the Tab Host (Tab Menu) in the following code, that is
the font size of Menu1, Menu2, Menu3, Menu4:

TabHost host=getTabHost();

host.addTab(host.newTabSpec("one")
.setIndicator("Menu1", getResources
().getDrawable(R.drawable.markets))
.setContent(new Intent(this, Tab1.class)));
host.addTab(host.newTabSpec("two")
.setIndicator("Menu2", getResources
().getDrawable(R.drawable.movers))
.setContent(new Intent(this, Tab2.class)));
host.addTab(host.newTabSpec("3")
.setIndicator("Menu3", getResources().getDrawable
(R.drawable.movers))
.setContent(new Intent(this, Tab2.class)));
host.addTab(host.newTabSpec("4")
.setIndicator("Menu4", getResources().getDrawable
(R.drawable.movers))
.setContent(new Intent(this, Tab2.class)));

thanks is advance
enochcheng
Freshman
Freshman
 
Posts: 2
Joined: Thu Sep 10, 2009 10:52 pm

Top

Postby arams » Fri Sep 11, 2009 5:05 pm

1 way:

1.1.settext must be blank
1.2.in image draw the text.
arams
Experienced Developer
Experienced Developer
 
Posts: 89
Joined: Fri May 08, 2009 7:45 am

Postby konic » Tue Oct 06, 2009 4:46 pm

So I gather, the same answer would be for "How do I change the text position?"
Am I right?
konic
Developer
Developer
 
Posts: 32
Joined: Mon Aug 24, 2009 3:16 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 5 guests