【发布时间】:2013-05-14 22:56:02
【问题描述】:
我在 xml 中有这段代码:
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<gradient
android:angle="90"
android:endColor="#222288"
android:startColor="#9966cc" />
如何在渐变上添加重复图像?用于 Android 项目的背景层。 类似这样的东西,但适用于 Android:
<style type="text/css">
body {
background-color: #666;
background-image:url(repeated_image.gif)
}
</style>
【问题讨论】:
标签: android image gradient shape