@luciofm, isso mesmo.
Fiz um teste aqui pra confirmar, mudei o meu target de 22 pra 20 e a barra ficou..... preta!!!!!
@Gink, mude a versão target pra 21. Deve funcionar. E avisa a gente!!!
Em 15 de maio de 2015 13:08, luciofm <luciofm@gmail.com> escreveu:
Eu chutaria que o problema é o Target SDK 20...
On Fri, May 15, 2015, 12:50 Gink Labrev <gink.labrev@gmail.com> wrote:--Neto,Não possuo. Já tentei fazer isso - inclusive adicionando a propriedade abaixo - mas não resolveu.<item name="android:windowDrawsSystemBarBackgrounds">true</item>luciofm,Está assim:
android { compileSdkVersion 21 buildToolsVersion '21.1.2' defaultConfig { minSdkVersion 16 targetSdkVersion 20 ... } --Em 15 de maio de 2015 09:38, luciofm <luciofm@gmail.com> escreveu:Qual o target que você está 'buildando'?On Fri, May 15, 2015 at 9:36 AM Neto Lobo <desilio@gmail.com> wrote:--Gink você tem a pasta values-v21 no seu projeto?2015-05-13 22:36 GMT-03:00 Gink Labrev <gink.labrev@gmail.com>:Não sei se faz diferença, mas estou usando o appcompat-v7.--Em 13 de maio de 2015 22:32, Gink Labrev <gink.labrev@gmail.com> escreveu:Pessoal,Valeu pela explicação.Então testei de novo e não sei dizer porque não funciona. A cor do status bar não está herdando de colorPrimaryDark.Não é problema do Android, pois a versão é 5.0 e funciona programaticamente.Mas o chato é fazer isso em todas Activities (ou criar uma herança só por isso). Preferia já deixar no tema.Rudson,Tinha visto a documentação sim. O pouco que sei de Material Design aprendi por lá e pelo StackOverFlow.Mas não vi nada ali que possa indicar o que está ocorrendo.2015-05-13 5:05 GMT-03:00 Rudson Lima <rudsonlive@gmail.com>:@Gink já deu pra perceber que você nem abriu o link que mandei :'(
Só isso aqui já seria o bastante para a cor da statusBar, lembrando que a cor só vai mudar da api 21+
<item name="colorPrimaryDark">color</item>
--
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.
----Confiram meus apps Android no Google Play
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.
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