I have an Activity, and in this I call a Dialog, but when I open this 'popup' the Background Activity screen that called it darkens, but I wish it did not happen. Can you do that?
I have an Activity, and in this I call a Dialog, but when I open this 'popup' the Background Activity screen that called it darkens, but I wish it did not happen. Can you do that?
You can set a specific theme for the activity, so it will not darken when opening any Dialog:
<resources>
<style name="Dialog" parent="AppTheme">
<item name="android:backgroundDimEnabled">false</item>
</style>
</resources>
And in your manifest, you move this theme to the activity you do not want to darken when opening the dialog:
<activity android:name=".MinhaActivity" android:theme="@style/Dialog">