Reputation: 5563
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?
Upvotes: 8
Views: 5961
Reputation: 37147
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>
Upvotes: 10
Reputation: 28835
According to Seeing message in logs: "app:theme is deprecated"? change from
<android.support.v7.widget.Toolbar
app:theme="@style/ThemeOverlay.AppCompat.ActionBar"
to
<android.support.v7.widget.Toolbar
android:theme="@style/ThemeOverlay.AppCompat.ActionBar"
Upvotes: 1