问题
Im setting the button state like
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="#FFF"></item>
<item android:state_enabled="true" android:color="#000"></item>
<item android:state_focused="true" android:state_pressed="false" android:color="#ffffff" />
<item android:color="#c7c7c7" />
</selector>
the problem is they are rendering differently on different devices like on Huwaei Ascend they are not that crisp but on Galaxy Device they are sharp and very crisp.
How can i make them look same on all devices.
Regards.
回答1:
You have to live with it...
Each device has a different display.
Actually, Samsung's Super AMOLED displays are unbeatable (there's 1 led for every pixel, instead of a backlit LCD).
So, on devices with those displays the rendering will be brighter, while on LCDs it will be dimmer.
来源:https://stackoverflow.com/questions/20727062/colors-rendering-differently-on-different-devices