Repeat Image in with ImageView in RelativeLayout

后端 未结 4 632
灰色年华
灰色年华 2020-12-23 21:07

I want to repeat the image with ImageView with in RelativeLayout. Can it be possible to use the Bitmap xml and use tilemode \"repeat\"

4条回答
  •  一个人的身影
    2020-12-23 21:18

    Yes, its possible. Define your repeating image as Drawable (bitmap) with android:tileMode="repeat" in XML and use it as background of your RelativeLayout.

提交回复
热议问题