Tecnologia do Blogger.
RSS

Re: [androidbrasil-dev] Inserir um TextView por cima de um button

Exato...basta remover o elevation do button, não precisa de nada de over-engineering

On Wed Feb 11 2015 at 4:05:03 PM Jonas Alves <jonasfa@gmail.com> wrote:

Se você já tem certeza que o problema é esse, não basta remover o elevation do button? Ex: android:elevation="@null" ou ="0dp"


Em qua, 11 de fev 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();

Atenciosamente

Gorio
(www.gorio.eng.br)

 


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.

--
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.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comentários:

Postar um comentário