December 26th, 2011, 12:22 PM
|
#1 (permalink)
|
|
New Member
Join Date: Dec 2011
Posts: 1
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
|
splash.xml and added image not at all recognized?
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?
|
|
|