java - tile image along right side of activity -


is there way me tile image along right side of activity view? image have small , square.

i know can tile entire activity view this:

<?xml version="1.0" encoding="utf-8"?>     <bitmap xmlns:android="http://schemas.android.com/apk/res/android"         android:src="@drawable/actual_pattern_image"         android:tilemode="repeat" /> 

but there way restrain it? make tile 1 image under other along right side?

i know can this:

android:layout_margintop="5dip" android:layout_marginbottom="5dip" 

and keep increasing margin add imageview below. fear approach when scoll-bars come picture. static approach...

just heads - new android development...

if know width of tile, can create bitmap width width of tile, , height height of full view. place view on right side of activity view.

it easiest if view had relative layout filled view, , had bitmap align the right of relative layout this:

android:layout_alignparentright="true" 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -