eu peguei esse exemplo aqui:
no Smarthphone os icones do dasboard ficam legal... já no tablet ficam muito pequenos.
eu quero aumentar eles apenas no tablet.
2013/7/28 Andre Souza <deh.osouza@gmail.com>
Pra mim isso ta com cara de atributos errados no manifest.
Em 28/07/2013 11:09, "Rodrigo Piovezan" <piovezan@gmail.com> escreveu:Essas pastas drawable, de ldpi até xxhdpi, não têm a ver com tamanho, têm a ver com resolução. Significa que as imagens vão ser exibidas com o mesmo tamanho em aparelhos de resoluções diferentes. Para mudar o tamanho da imagem na tela você vai ter que definir os atributos android:layout_width e android:layout_height manualmente no seu Button (ou programaticamente via setWidth() e setHeight() se for o caso).
--2013/7/28 Leonardo Santos da Mata <leonardodamata@gmail.com>Ele está assim dentro da pasta layout-large<Buttonandroid:id="@+id/btn_new_list"style="@style/DashboardButton"android:drawableTop="@drawable/add"android:text="@string/criar"/>--2013/7/28 Rudson Lima <rudsonlive@gmail.com>
Vc ta setando algum valor fixo?
Em 28/07/2013 10:47, "Leonardo Santos da Mata" <leonardodamata@gmail.com> escreveu:Bom dia pessoal,Como eu faço para dimensionar o tamanho da imagem no tablet?Eu tenho note 10.1 para testar uma app. O problema que
está sempre trazendo a menor imagem:Eu ja coloquei a imagem de todos os tamanho na pastas drawable, desde ldpi até xxhdpi.Eu tb já criei a pasta no projeto layout large tb e não deu certo.Alguém pode me ajudar?--Cordialmente,
Leonardo Santos da Mata
E-mail: leonardodamata@gmail.com
About.me: http://about.me/leonardodamata
Twitter: twitter.com/lsmata--
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/groups/opt_out.
--
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/groups/opt_out.
--Cordialmente,
Leonardo Santos da Mata
E-mail: leonardodamata@gmail.com
About.me: http://about.me/leonardodamata
Twitter: twitter.com/lsmata
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/groups/opt_out.
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/groups/opt_out.
--
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/groups/opt_out.
Cordialmente,
Leonardo Santos da Mata
E-mail: leonardodamata@gmail.com
About.me: http://about.me/leonardodamata
Twitter: twitter.com/lsmata
Leonardo Santos da Mata
E-mail: leonardodamata@gmail.com
About.me: http://about.me/leonardodamata
Twitter: twitter.com/lsmata
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/groups/opt_out.






0 comentários:
Postar um comentário