Ressuscitando o post.
Estou tentando exatamente como o Lucas e o Tiago sugeriram mas o width do TextView fica como se estivesse wrap_content. :(
Alguém mostra um caminho?
Rodrigo Medeiros
Em 13 de maio de 2014 19:50, Tiago Grillo <tijgrillo@gmail.com> escreveu:
Deu certo!!! :D
Desculpem a demora no feedback..Então segui a dica do Matheus e do Lucas, mas obrigado Andre e Rodrigo pela atenção.Só completando o layout_with das colunas tem que ser math_parent para ficar alinhado perfeito.
muito obrigado.--2014-05-06 10:29 GMT-03:00 Rodrigo A. <r.cardoso1984@gmail.com>:
Usa gridviewEm 6 de maio de 2014 09:17, Andre Souza <deh.osouza@gmail.com> escreveu:
Vc tb pode usar tablelayout, acho que ficaria bem bacana: http://sdroid.blogspot.com.br/2011/01/fixed-header-in-tablelayout.htmlAqui tb tem outro exemplo: http://www.b2creativedesigns.com/tablelayout.php
Em 6 de maio de 2014 08:45, Lucas Couto <lucasarcouto1@gmail.com> escreveu:O que eu faria seria criar um custom adapter onde cada linha sua seria um linearlayout, por exemplo, e daria um weightSum pra ele de 3, ai dentro dele teria 3 textviews e daria o weight de 1 pra cada um deles. Pra deixar o texto alinhado a direita é só setar a tag android:gravity="right". É importante que seja essa tag, pois a tag android:layout_gravity diz respeito ao gravity do layout e não do texto. Ai pro cabeçalho é só usar esse mesmo layout. Espero ter ficado claro, qualquer coisa é só perguntar.
--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--André Luiz de Oliveira Souza
Engenheiro da Computação
Pós-graduado em Desenvolvimento de Software com ênfase em Java Corporativo--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Rodrigo A.--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
0 comentários:
Postar um comentário