How to get rid of rendering issue in Android Studio that refers to resource that isn't found in project? -
the "rendering problem" states couldn't resolve resource @style/widget.holo.actionmode
when project/path search widget.holo.actionmode
isn't there.
as result, soft numeric keypad won't display.
what heck do? i've changed styles in android studio 1.1.0 dropdown in design mode no matter choose rendering problem , no keypad. had colors set holo
, because liked shades , had holo
theme dropdown. have in androidmanifest.xml
this:
android:theme ="@style/apptheme"
but when working, had commented out nice black background. either way, no keypad.
all have in styles.xml
this:
<resources> <!-- base application theme. --> <style name="apptheme" parent="base.themeoverlay.appcompat"> <!-- customize theme here. --> </style> </resources>
i exited , re-entered as. no keypad; same problem.
i'll post xml , activity java code if need be. insane.
looks me there's problem in apis 17 & 18 definition of widget.holo.actionmode. added following styles.xml file:
<!-- put here fix rendering error in api 17-18 --> <style name="widget.holo.actionmode" parent="@android:style/widget.holo.actionmode"> <item name="titletextstyle">@android:style/textappearance.holo.widget.actionmode.title</item> <item name="subtitletextstyle">@android:style/textappearance.holo.widget.actionmode.subtitle</item> </style>
this may happen on apis below 17, haven't tested. fixed in 19.
Comments
Post a Comment