私は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>