Answer the question
In order to leave comments, you need to log in
Why do theme attributes take precedence over spinner attributes?
Theme attribute
<item name="android:background">@color/white</item>
does not allow my spinner attribute to workandroid:popupBackground="@drawable/spinner_pop_up_background
Which is strange because android:popupBackground is supposed to have a higher priority. If the attribute is commented out in the theme, the spinner is drawn correctly, but the fragment animations begin to work incorrectly when the back button is pressed. Fragments that leave have a transparent background. Why does the theme override View attributes? I tried to take out android:popupBackground in a separate theme and specified it in theme for Spinner. Did not help.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question