1

I want to retrieve the value of R.attr.colorPrimaryDark.

I found this answer but it doesn't work for me, maybe is too old. Also the Android documentation doesn't help me too.

Community
  • 1
  • 1
optimusfrenk
  • 1,271
  • 2
  • 16
  • 34
  • Could you add some code. Is an exception get thrown or you get the wrong value ? – Tin Tran Jun 08 '16 at 14:48
  • Sorry man, but I solved the problem. I think the problem was that I can't get the ``Theme`` from the ``Application``'s ``Context``. So, using the ``Context`` from an ``Activity`` solved the problem. – optimusfrenk Jun 08 '16 at 15:22

0 Answers0