I am Trying to set to set this picture soccer_field
in drawable
folder. When I view the "graphical layout" it is showing the background, but when I run it on my device it is not ..
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/soccer_field"
android:orientation="horizontal">
</LinearLayout>
Why is this happening and how to solve it ??