开发者

Android how to create tiling wallpaper image?

I have an image of a pattern and I want to create a larger image from this by tilling it so that the user can apply it as a wallpaper. How would I go about doing this?

The pattern tile can be of varying dimensions.

I also want to be doing this with a color palette so I have 5 different colours开发者_开发百科 and I want to make a wallpaper that consisted of thick stripes of these colors...not too sure how I should be doing this.

Thanks!


The Snake sample has an example of how to do this http://developer.android.com/resources/samples/Snake/src/com/example/android/snake/TileView.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜