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

Asked

Viewed 62 times

1

I have an Activity with items (recyclerView), when I click on an item, I "show" a listview on top using setVisible(VISIBLE). I want when the listview comes up, the Activity at the bottom will be darker. This is exactly what happens when you will schedule a time reminder in google calendar.

Here’s a picture below what I want to do, look how dark Activity is while the list is above.

inserir a descrição da imagem aqui

  • 2

    The example you gave uses a AlertDialog, I believe that’s what you want. See in the official documentation if the example of AlertDialog with lists help you.

  • 1

    Thank you, solved my doubt.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.