我尝试实现Material Design但失败了,xml代码,在运行时无法显示Material Design。 有没有什么具体的方法可以在xml文件中编写Material Design代码
我建议您使用 Android Studio 提供的默认项目设置向导设置一个新的 Android 项目。
Android Studio 将为您创建一个新项目,其中包含使用 Material Design 组件所需的一切。它会自动设置您的
如果您想在现有项目中使用 Material Design,请查看新项目中的
build.gradle
和 styles.xml
文件,了解在现有项目中使用 Material Design 所需的内容。