我正在使用sherlock动作栏版本4.1.0(2012-05-17).
如何更改此屏幕截图中文本颜色的颜色?在实际设备上,它几乎是可读的
如何更改此屏幕截图中文本颜色的颜色?在实际设备上,它几乎是可读的
<style name="MyTheme" parent="@style/Theme.Sherlock.Light"> <item name="android:textSize">20dp</item> </style>
这在AndroidManifest.xml中
<application android:name="abc.MyApp" android:icon="@drawable/ic_launcher" android:logo="@drawable/logo" android:label="@string/app_name" android:theme="@style/MyTheme" >
解决方法
实际上我通过执行以下操作设法在abs 4.2中设置SearchView文本颜色的样式:
<style name="MyTheme" parent="Theme.Sherlock.Light"> <item name="searchAutoCompleteTextView">@style/Widget.Styled.SearchAutocompleteTextView</item> <item name="queryHint">@string/Search</item> <item name="android:queryHint">@string/Search</item> </style> <style name="Widget.Styled.SearchAutocompleteTextView" parent="Widget.Sherlock.Light.SearchAutoCompleteTextView"> <item name="android:textColor">YOU_COLOR_HERE</item> </style>
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。