Que blz.. não sou um GDE como o Lucio, mas talvez você poderia criar um CustomButton criando toda sua lógica herdando a classe Button.
Fiz isso pra um botão de 3 estados (VAZIO, SIM, NÃO).
Em 11 de fevereiro de 2015 15:48, luiszacheu <luiszacheu@gmail.com> escreveu:
Gorio, já tentei sim.Como o Lucio comentou mais acima, o problema é quando rodo o app no Lollipop, pois ele aplica o thema do Material Design e inseri um elevation no button.Então minha solução inicial, está sendo verificar se está rodando Lollipop e aplicar um elevation no TextView.Mas não sei se é o mais bonito a se fazer :/
Em quarta-feira, 11 de fevereiro de 2015 15:40:50 UTC-2, gorio escreveu:Luis, já tentou fazer via código ?bringToFront();2015-02-11 14:40 GMT-02:00 luiszacheu <luisz...@gmail.com>:Então Marcelo, o problema que é somente no Lollipop, possivelmente ele está jogando um elevation no botão.
Em quarta-feira, 11 de fevereiro de 2015 14:23:44 UTC-2, Marcelo Alves escreveu:<noob question>qual o problema em resolver com um framelayout? (além do layout extra, performance, etc)</noob question>--
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-...@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