, 안드로이드가 이노 numberPickerStyle
를 찾을 수 없습니다 현재 테마에 스타일을 찾는 데 실패하고 난이 오류를 얻을 :안드로이드는이 간단한 디자인 테마에
Failed to find 'numberPickerStyle' style in current theme
내 주제는 :
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.Tsms" parent="@style/Theme.AppCompat.Light">
<item name="numberPickerStyle">@style/SampleTheme.Tsms</item>
</style>
<style name="SampleTheme.Tsms" parent="@style/Theme.AppCompat">
<item name="numberPickerStyle">@style/NPWidget.Holo.Light.NumberPicker</item>
</style>
</resources>
방법을 이 문제를 수정하고 해결 하시겠습니까?
안녕하세요, 님이 내 소개 링크를 읽고 있지만 내 코드를 변경할 수 없습니다. 내 테마는 관례이며'AppTheme','AppCompat' 그게 내 스타일로 정의하는 것을 어떻게 바꿀까요? 내 코드를 고칠 수 있습니까? –
'numberPickerStyle' 줄은 아무 것도하지 않기 때문에 제거해야합니다. –
OH 선생님. 나는 그것을 스타일로 정의 할 필요가있다. –