Modify android theme from appcompat theme

送分小仙女□ 提交于 2020-01-06 13:36:46

问题


Is there any way to change an attribute from the stock android themes, if the App is using the AppCompat theme?

My Problem: I am using AppCompat theme in order to get the L-Look. But I need to use the ActionMode, which is from basic Android API. If I change the ActionMode style within my AppCompat theme, the style for the SupportedActionMode is applied. But i defintily need the basic API ActionMode.

Does anybody know a way how to do this, in order to style my ActionMode background?


回答1:


Use ActionMode properties' names without android: prefix.



来源:https://stackoverflow.com/questions/29000948/modify-android-theme-from-appcompat-theme

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!