Hi, I try to make a background from a picture in a tile mode.
So I made for my fragment layout
<RelativeLayout
...
android:background="@drawable/background">
background in drawable package is a xml file with
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/bg"
android:tileMode="repeat" />
bg is a png picture
When I use this in activitity layout it's ok, but in fragment I get only black background.
How to apply tile mode background to fragment?