I am using a s4 galaxy and I downloaded the following wallpaper wallpaper http://www.sswallpaper.com/get/samsung-galaxy-s4-wallpapers/Keep-Running-1080x1920/595-2.jpg I trying to use this wallpaper as the background image but the image does not fit into my screen. How do I adjust the size to fit the screen size of my app?
Here is my Xml code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/walking" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="WELCOME"
android:textSize="40dp"
android:textColor="@color/textColor"
android:textStyle="bold"
android:typeface="serif"
android:id="@+id/textView5"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="45dp" />
<TextView
android:layout_width="189dp"
android:layout_height="50dp"
android:text="SKIP"
android:textSize="20dp"
android:textColor="@color/textColor"
android:textStyle="bold"
android:typeface="serif"
android:gravity="center"
android:id="@+id/skip"
android:onClick="click"
android:clickable="true"
android:layout_gravity="bottom"
android:layout_alignParentBottom="true"
android:layout_toStartOf="@+id/textView5" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="To skip the tutorial press SKIP at the bottom.Slide to the left to continue to tutorial page."
android:id="@+id/textView3"
android:textColor="@color/textColor"
android:layout_below="@+id/textView5"
android:layout_centerHorizontal="true"
android:layout_marginTop="90dp" />
</RelativeLayout>