I'm logging this warning:
I/AppCompatViewInflater﹕ app:theme is now deprecated. Please move to using android:theme instead.
The curious thing is that I've used the Find in all project
tool of Android Studio
and it haven't found any ocurrence with app:theme
.
I think it can be because I'm using the it.neokree.materialnavigationdrawer
and it can have app:theme
inside, but anyway, is there any way to disable this warning? Anyone has idea if it could be for another reason?
Open themes. xml (night) . In the Project pane select Android, go to app > res > values > themes > themes.
To change default themes go to File and click on Settings. A new Settings dialog will appear, like this. Under the Appearance & Behaviour -> Appearance, you will find Theme. Choose the right theme from the drop-down and click on Apply and then Ok.
A theme is a collection of attributes that's applied to an entire app, activity, or view hierarchy—not just an individual view. When you apply a theme, every view in the app or activity applies each of the theme's attributes that it supports.
You might have a style that contains an element like this:
<item name="theme">@style/TextInputTheme</item>
Replace with:
<item name="android:theme">@style/TextInputTheme</item>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With