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 - 2 ListViews vertically and auto growing/shrinking

2 ListViews vertically and auto growing/shrinking

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

2 ListViews vertically and auto growing/shrinking

Postby gsmd » Wed Dec 24, 2008 3:13 am

Hi.
1. I want to place 2 ListViews side-by-side vertically so that each would occupy equal horizontal space. What I get so far with TableLayout wrapping them is either the first shown only or one placed under another.
2. Is there a way to say: in the ListView the first 2 items should get 25% of vertical space each and the third should occupy the remaining 50%?
TIA for sharing your ideas.
gsmd
Freshman
Freshman
 
Posts: 3
Joined: Fri Dec 19, 2008 3:15 pm

Top

Postby MrSnowflake » Wed Dec 24, 2008 10:54 am

You should use layout_gravity="1" for this
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 12 guests