<style name="mystyle" parent="@*android:style/Widget.Holo.NumberPicker">
</style>
私のスタイルでそれを使用すると、システムはエラー「 Illegal resource reference: @*android resources are private and not always present 」を報告します。問題は何ですか
<style name="mystyle" parent="@*android:style/Widget.Holo.NumberPicker">
</style>
私のスタイルでそれを使用すると、システムはエラー「 Illegal resource reference: @*android resources are private and not always present 」を報告します。問題は何ですか
このコードに従う:
if (value.startsWith("@*android:")) { //$NON-NLS-1$
context.report(ISSUE, attribute, context.getLocation(attribute),
"Illegal resource reference: @*android resources are private and " +
"not always present", null);
}
ノードから抽出された文字列は、@*android
それはおそらくあなたの問題です
簡単に言えば、これは不可能です。ナンバー ピッカーのパブリック スタイルはありません。「スタイル番号ピッカー」を簡単に検索して、この SO の質問/回答を見つけることができます: Unable to override style switchStyle and NumberPicker in Android