• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps splash.xml and added image not at all recognized?

Lanuk

Lurker
Hey guys, Im new to android and today tried to create a splash screen. I simply right clicked the layout folder, hit new, hit "other", and made a file called "splash.xml" and inside used this code:

Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="(Commented out due to link)"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" 
    android:background="@drawable/blackbg">    
    
    <TextView
    	android:layout_width="match_parent"
    	android:layout_height="match_parent"
    	android:orientation="vertical" 
    	android:text="@string/test"/>"
    
</LinearLayout>

I dragged and dropped my image into the drawable-hdpi folder. I am using eclipse. There are no errors, but nothing in my app changes at all. There is no screen with my image or text even for a split second. Does anyone know how to fix this?
 
Back
Top Bottom