📌  相关文章
📜  androidx.appcompat.widget.Toolbar 提供:android.widget.Toolbar - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:35.629000             🧑  作者: Mango

代码示例1
You use android.support.v7.widget.Toolbar in your XML, but in your java code you are importing android.widget.Toolbar which is a different type. Change your import to android.support.v7.widget.Toolbar and it should work.