0
일부 장치 (예 : 이전 Samsung 장치,이 스크린 샷을 촬영 한 "Scroll Extreme"태블릿)에서는 작업 표시 줄과 일부 단추가 정확한 배경 또는 부분적으로 채워지지 않습니다. 아래 스크린 샷에서 배경이없는 흰색 텍스트가있는 버튼을 희미하게 볼 수 있습니다.작업 표시 줄/단추 배경 채우기
앱은 API 레벨을 대상으로 14+ 따라서 지원 LIB 또는 ActionBarSherlock의를 사용하지 않습니다. 작업 표시 줄의 스타일은 다음과 같습니다.
<style name="ActionBar" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
<item name="android:background">@color/accent</item>
<item name="android:titleTextStyle">@style/ActionBarTitleText</item>
<item name="android:subtitleTextStyle">@style/ActionBarSubTitleText</item>
</style>
<style name="ActionBarTitleText" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title">
<item name="android:textColor">@android:color/white</item>
</style>
<style name="ActionBarSubTitleText" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Subtitle">
<item name="android:textColor">@android:color/white</item>
</style>
PS. 스크린 샷에 표시된 색상이 스크린 샷 앱에 의해 올바르게 캡쳐되지 않았지만 아이디어가 있습니다.
그래서 당신이 말하는 그이 버튼에있을 때 '당신이 스크린 샷에 표시된 것을 보이는 ActionBar'? 'Light'' ActionBar'에 흰색 텍스트를 사용하는 것이 맞을 것 같습니다. 어쩌면 문제는 단추가 선택되었다는 것입니까? 선택기 드로어 블을 사용하지 않으므로 배경을 선택했을 때 어떤 일이 발생하는지 제어 할 수 없습니다. – Cheesebaron