I use following Android theme in my Android manifest file:
android:theme="@android:style/Theme.Translucent"
It’s a translucent theme, and it has a translucent background, but I need to make the background of this theme a small darker, or replace the one to another (with translucent background, but it should be a little darker). Please, tell me, how can I do it?
Straight from android documentation: http://developer.android.com/guide/topics/ui/themes.html
Or if you want the background to be transparent, use the Translucent theme:
If you like a theme, but want to tweak it, just add the theme as the parent of your custom theme. For example, you can modify the traditional light theme to use your own color like this:
(Note that the color needs to supplied as a separate resource here because the android:windowBackground attribute only supports a reference to another resource; unlike android:colorBackground, it can not be given a color literal.)
Now use CustomTheme instead of Theme.Light inside the Android Manifest: