Quantcast
Viewing latest article 3
Browse Latest Browse All 4

How to Make Tiled Background in Android

Assuming you have tile pattern name type.png, you need to create xml in drawable directory. background.xml 1 2 3 4 5 6 7 <?xml version="1.0" encoding="utf-8"?> <bitmap xmlns:android="http://schemas.android.com/apk/res/android" android:src="@drawable/type" android:tileMode="repeat" android:dither="true" /> In your layout, set the value of background to your xml background. 1 2 3 4 5 6 7 8 9 <?xml version="1.0" [...] Related posts:
  1. Rounded TextView in Android
  2. Remove Shadow from ListView in Android
  3. Web Developer Resources #1 – CSS Layout

Viewing latest article 3
Browse Latest Browse All 4

Trending Articles