如何在两者中合并边框或单个渐变.如何?
已经尝试了以下背景形状:-
shape.xml
<@R_55_3419@ xmlns:androID="http://schemas.androID.com/apk/res/androID"><item androID:top="175dp"> <shape androID:shape="oval"> <gradIEnt androID:angle="135" androID:startcolor="#f56f2c" androID:endcolor="#fa9f46"/> </shape></item><item androID:bottom="40dp" > <shape androID:shape="rectangle"> <gradIEnt androID:angle="135" androID:startcolor="#f56f2c" androID:endcolor="#fa9f46"/> </shape> </item></@R_55_3419@>
解决方法:
我解决了这个问题…将渐变角度更改为90.问题在于将颜色变化保持在项目边框之间.固定每个寄宿生相同的颜色.
总结以上是内存溢出为你收集整理的如何在单个渐变Android中合并两个形状全部内容,希望文章能够帮你解决如何在单个渐变Android中合并两个形状所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)