An easy way of making a bitmap repeat is to create an XML file in the drawable
folder which looks something like this:
http://schemas.android.com/apk/res/android";
android:src="@drawable/background"
android:tileMode="repeat" />
"background" is a PNG in the same folder, it doesn't sound
You can create a bitmap in memory, using your own file and draw it in
background. It will help you like the repeat image.
On Jan 12, 1:57 pm, liordav wrote:
> Hi,
> I have an image I want to use as a background to some layout.
> the problem is the image contains a texture of slant lines, so if
See BitmapDrawable and its related xml configuration documentation if
you want to tile an image for the background of a View.
On Jan 12, 12:57 am, liordav wrote:
> Hi,
> I have an image I want to use as a background to some layout.
> the problem is the image contains a texture of slant lines, so
3 matches
Mail list logo