Leave activity "darkened" when I click and open a listview on top of the activity

1

I have an activity with items (recyclerView), when I click on an item, I make a listView appear on top using setVisible (VISIBLE). I want when the listview appears, the activity below becomes darker. This is exactly what happens when you schedule a schedule reminder on google agenda.

Below is the image below what I want to do, look at how the activity is darkened while the list is over.

    
asked by anonymous 19.10.2017 / 18:34

0 answers