我使用EditText显示旧样式的EditText。它显示了带有角的EditText下方的底线。EditText显示旧样式
我想要的材料类型的EditText。那是只有线来自EditText的底部。
编辑:
<style name="AppBaseTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">@color/orange</item>
<item name="colorPrimaryDark">@color/orange</item>
<item name="colorAccent">@color/orange</item>
</style>
<style name="AppTheme" parent="AppBaseTheme">
</style>
而且在AndroidManifest.xml文件,我没有为活动主题定义,只给主题的应用程序。
什么是你的目标API?您可以在清单中手动为整个应用程序设置主题。尝试一下,告诉我它是怎么回事。 – Vucko
目标API为23. –
您可以从每个values-xx文件夹发布AndroidManifest.xml和styles.xml吗? – usajnf