Emulator shows only TextViews

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Emulator shows only TextViews

Postby Sebastian7 » Sat Aug 07, 2010 5:19 pm

Hi!
I made realized an application that make a button but my emulator only shows my TextViews..It doesn't show anything else and the program is correct (and all console messagges are correct too)...

..I don't know why...
maybe is beacause of in the string.xml there is only:

<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Hello World, Pillole!</string>
<string name="app_name">Pillole</string>
</resources>


?????

Plese help me!
Sebastian7
Freshman
Freshman
 
Posts: 8
Joined: Fri Aug 06, 2010 4:02 pm

Top

Re: Emulator shows only TextViews

Postby blundell » Sun Aug 08, 2010 6:09 pm

Show us the Layout file, that would be whhere your problem is.
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: Emulator shows only TextViews

Postby Sebastian7 » Mon Aug 09, 2010 8:44 pm

SOLVE!
You have reason... the problem was in the attribute " height=fill_parent" in the textView part.. With this attribute only textView is visible in all the emulator!

Thank you!!!
Sebastian7
Freshman
Freshman
 
Posts: 8
Joined: Fri Aug 06, 2010 4:02 pm

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 2 guests