我们如何可以指定在浸一个TextView的shadowDx / DY /半径值?现在我有:
How can we specify a TextView's shadowDx/Dy/Radius values in dip? Right now I have:
<style name="foo">
<item name="android:shadowDx">-1</item>
<item name="android:shadowDy">-1</item>
<item name="android:shadowRadius">1</item>
</style>
我似乎无法在这些地方指定1dip。有没有办法做的比设定在code和执行器件密度相乘自己呢?
I can't seem to specify "1dip" in these places. Is there a way to do it other than setting them in code and doing the device density multiplication ourselves?
感谢
不幸的是这是唯一的办法,不好意思:(
Unfortunately that's the only way, sorry :(