Use the @drawable keyword followed by a slash and the name of the image. Example provided below. Again, this is for a LinearLayout in Android.
android:background="@drawable/hex_background"