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
[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 - Change every TextView of the Layout

Change every TextView of the Layout

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

Change every TextView of the Layout

Postby rafaelpadovezi » Thu Aug 04, 2011 1:00 am

Hello,
I'm having some dificult in one task here and I cant find the answer on google.
I wish to change the font size of every TextView of the layout programmatically.

I want that the user can choose the size of the font of the app, like a zoom.
The problem is that all the zoom examples that I found was for webapp or for images.
I wanna zoom the entire app(or at least a bunch of TextViews).

If the zoom isnt possible I'll be happy if I could change the font size of theese TextView. But there are 100 TextView, so I want something like a style. But i need to change the value of this style at runtime. Something like that. Or at least, an easy access to every TextView inside a layout, because resize each TextView manualy will be dificult and error-risky.

So, I apreciate any help.
rafaelpadovezi
Freshman
Freshman
 
Posts: 2
Joined: Thu Aug 04, 2011 12:51 am

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 4 guests