Get the original color filter of a drawable

338
January 15, 2017, at 6:24 PM

I am trying to figure out the original colours used in controls such as Switches or ImageView (presence_online).

I thought about using the getColorFilter() but according to the documentation:

Returns the current color filter, or null if none set.

Since I set none, I am getting null.

How do I get the colours used in those controls?

Rent Charter Buses Company
READ ALSO
Reregister to Sip server using Linphone

Reregister to Sip server using Linphone

I got an Android app which uses Linphone to enable Voip calls

533
git submodule configuration for local files

git submodule configuration for local files

I would like to set up an application with git control structured like this:

532
Python - urllib and urllib2 - What happens if you don't read?

Python - urllib and urllib2 - What happens if you don't read?

I want to implement a download speed limit with urllib/urllib2The basic idea is to look at how much was downloaded in the past x seconds and if it is above the limit, the script simply sleeps for some time

430
Cannot install Python Nfqueue on Kali Linux 2.0 [on hold]

Cannot install Python Nfqueue on Kali Linux 2.0 [on hold]

I want to install LANspy on my Kali Linux machine but I can't download one dependency: Nfqueue

1215