Android - How to fit each TableRow to the screen height
up vote
1
down vote
favorite
I'm looking to create a table with 3 cells (TableRow) each cell should have the dimensions of the size of the full screen (width and height).
Should I use something other than a TableLayout to get the same effect?
Thanks a lot.
Here is an example of the expected result
add a comment |
up vote
1
down vote
favorite
I'm looking to create a table with 3 cells (TableRow) each cell should have the dimensions of the size of the full screen (width and height).
Should I use something other than a TableLayout to get the same effect?
Thanks a lot.
Here is an example of the expected result
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm looking to create a table with 3 cells (TableRow) each cell should have the dimensions of the size of the full screen (width and height).
Should I use something other than a TableLayout to get the same effect?
Thanks a lot.
Here is an example of the expected result
I'm looking to create a table with 3 cells (TableRow) each cell should have the dimensions of the size of the full screen (width and height).
Should I use something other than a TableLayout to get the same effect?
Thanks a lot.
Here is an example of the expected result
asked Nov 18 at 3:07
gal.m
83
83
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
The standard way of doing this will be by using a RecyclerView along with a Vertical Layout Manager, each and every one of your element will have width and height as match parent.
Thank you very much! it is working great! here is an example of how to use RecyclerView with a Vertical Layout Manager. stackoverflow.com/questions/40584424/…
– gal.m
Nov 18 at 4:57
glad I could help @gal.m
– war_Hero
Nov 19 at 4:43
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
The standard way of doing this will be by using a RecyclerView along with a Vertical Layout Manager, each and every one of your element will have width and height as match parent.
Thank you very much! it is working great! here is an example of how to use RecyclerView with a Vertical Layout Manager. stackoverflow.com/questions/40584424/…
– gal.m
Nov 18 at 4:57
glad I could help @gal.m
– war_Hero
Nov 19 at 4:43
add a comment |
up vote
0
down vote
accepted
The standard way of doing this will be by using a RecyclerView along with a Vertical Layout Manager, each and every one of your element will have width and height as match parent.
Thank you very much! it is working great! here is an example of how to use RecyclerView with a Vertical Layout Manager. stackoverflow.com/questions/40584424/…
– gal.m
Nov 18 at 4:57
glad I could help @gal.m
– war_Hero
Nov 19 at 4:43
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
The standard way of doing this will be by using a RecyclerView along with a Vertical Layout Manager, each and every one of your element will have width and height as match parent.
The standard way of doing this will be by using a RecyclerView along with a Vertical Layout Manager, each and every one of your element will have width and height as match parent.
answered Nov 18 at 3:55
war_Hero
5,15822944
5,15822944
Thank you very much! it is working great! here is an example of how to use RecyclerView with a Vertical Layout Manager. stackoverflow.com/questions/40584424/…
– gal.m
Nov 18 at 4:57
glad I could help @gal.m
– war_Hero
Nov 19 at 4:43
add a comment |
Thank you very much! it is working great! here is an example of how to use RecyclerView with a Vertical Layout Manager. stackoverflow.com/questions/40584424/…
– gal.m
Nov 18 at 4:57
glad I could help @gal.m
– war_Hero
Nov 19 at 4:43
Thank you very much! it is working great! here is an example of how to use RecyclerView with a Vertical Layout Manager. stackoverflow.com/questions/40584424/…
– gal.m
Nov 18 at 4:57
Thank you very much! it is working great! here is an example of how to use RecyclerView with a Vertical Layout Manager. stackoverflow.com/questions/40584424/…
– gal.m
Nov 18 at 4:57
glad I could help @gal.m
– war_Hero
Nov 19 at 4:43
glad I could help @gal.m
– war_Hero
Nov 19 at 4:43
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53357538%2fandroid-how-to-fit-each-tablerow-to-the-screen-height%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown