java - 在当前主题中找不到 id 为 0x7f15fda1 的样式
问题描述
为什么我会收到这样的错误“无法在当前主题中找到 id 为 0x7f15fda1 的样式”
LinearLayout
android:id="@+id/linear"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
代码:
`在当前主题中找不到 id 为 0x7f15fda1 的样式'
<com.google.android.material.textfield.TextInputLayout
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Username"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp">
<androidx.appcompat.widget.AppCompatEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>`
解决方案
推荐阅读
- python - 我的代码抛出递归错误。有人可以向我解释我的递归基本代码有什么问题吗?
- ubuntu - “权限被拒绝:'/dev/ttyUSB0'”尽管已经是“拨出”的成员
- elixir - 来自 Dbgi 块的漂亮打印 Elixir 源代码
- delphi - 验证通过 ISAPI-dll 发送 SMTP 电子邮件的问题
- c# - 在其 Visual Studio 工具提示中添加函数的使用信息
- java - 使用 RestHighLevelClient (JAVA Spring-boot) 搜索空格分隔的字符串时没有结果
- ruby-on-rails - 如何在表单中使用 collection _select 从另一个表中选择两个值?
- python - Seaborn facetgrid 气泡图
- command-line-interface - 在 api 网关中,我如何使用 CLI 发布文档部分
- swift - AudioKit - 通过应用程序路由多通道信号(macOS,swift)