set transparency based on activity
set transparency based on activity