0

Struggling to change the background color of popup box Using the implicit intent in android app.By default white color is getting as background color. I want to apply dark theme to this popup box so not aware how to change the background color and also not getting any clue how to achieve this.

This is the image of popup box that need i want to change the background color to dark click here

This is what I want to achieve screen shot of you tube dark theme click here

Please suggest/guide to achieve the this functionality. Thanks in advance.

  • 1
    As I see it is a system share dialog. If I am right, then you can't change it's background. It's controlled by a system theme and app can't change it. – Yamko Jun 11 '19 at 18:26
  • Then how youtube is able to darken the options and my app is not? – Yogesh Dongare Jun 13 '19 at 03:48

1 Answers1

0

You can crate your own implementation of share dialog. Check out these 2 posts and combine them. You need to get all apps which can handle your intent filter and then get their icons.

Finding apps by intent filter

Getting app icons

Yamko
  • 535
  • 1
  • 3
  • 13