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 - hide TextView from layout

hide TextView from layout

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

hide TextView from layout

Postby kl3os » Thu Jul 08, 2010 11:22 am

Hi,

In the java code, I would like to hide a textview and "remove the space" from my layout.
When I use setVisibility on the textview is well hidden but it is still included in the layout.

In flex for example the function to perform it is includeInLayout, do we have something similar in android ?

cheers,
kim
kl3os
Freshman
Freshman
 
Posts: 7
Joined: Wed Jul 07, 2010 10:40 pm

Top

Re: hide TextView from layout

Postby FunctionalRetard » Thu Jul 08, 2010 12:26 pm

Your problem is that the textview still takes up place in the layout? What parameters are you using in setVisibility? It should be removed from the layout if you use View.GONE.
FunctionalRetard
Junior Developer
Junior Developer
 
Posts: 10
Joined: Thu Nov 12, 2009 4:13 pm

Re: hide TextView from layout

Postby kl3os » Thu Jul 08, 2010 11:01 pm

Exactly what I wanted thanks a lot ! It avoided me some digging time :)
kl3os
Freshman
Freshman
 
Posts: 7
Joined: Wed Jul 07, 2010 10:40 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 4 guests