I have a background set for all of the activities of the app by using the "android:background" parameter in the styles and setting the theme of the application to link to this style.
All worked well, till I've noticed that for a dialog with a list of items, it makes each item to have the full size of the background .
After changing the parameter being used to "android:windowBackground" it seems to work fine in this case too.
Why does it occur? What is the difference between the two?
Also , does setting "android:windowBackground" to @null as written here provide the same speed boost as using "android:background"?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…