I've got an activity and would like to set the background to the current theme background color.
I set the activity's layout android:background="?android:windowBackground" and that seems to work Inside the activity I would like to draw some boxes/panels and set the background to a slightly different color - based on light or dark theme. How can I do that. I tried "?android:panelBackground" and that's not quite what I want. Any special value out there that'll display a light gray - if the current window background is white. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

