嗨我想为我的应用程序使用气泡作为背景图像。我碰到这张贴在这里在android中的气泡
Android drawable speech bubble
的例子来自我希望在我试图
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:top="30dp">
<rotate
android:fromDegrees="-45"
android:pivotX="0%"
android:pivotY="0%"
android:toDegrees="0" >
<shape android:shape="rectangle" >
<solid android:color="#CCC" />
</shape>
</rotate>
</item>
<item android:right="10dp">
<shape android:shape="rectangle" >
<solid android:color="#CCC" />
<corners android:radius="5dp" />
</shape>
</item>
</layer-list>
相反的方向来实现这个正确的方向开始,但我无法得到它的工作,任何帮助将不胜感激!
http://warting.github.io/AndroidChatBubbles/ - 检查了这一点 – 2015-02-23 11:44:21
,请使用9片图像,你的90%工作减少! – theLazyFinder 2015-02-23 12:03:46
什么是创建9个补丁图像的最佳方式 – Sim 2015-02-23 12:09:49