please help me, A very strange problem about UI XML file

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

please help me, A very strange problem about UI XML file

Postby myth2loki » Mon Oct 26, 2009 1:49 am

According to android1.6 released,I want to make my program to fit some different screens.
I recreated some XML files and put them under res/layout-small, great,It works perfectly.
and I recreated some large XML file and put them under res/layout-large, what a pity,It doesn't work at all.
It seems that the large XML file can't be loaded automatically by platform. I think maybe the platform can't locate
the right directory to load XML files with large screen mode.
BTW:I am 100 percent sure I do it according to tutorial that is from google. but it didn't work at all whenever and whatever I try,It will make me crazy soon, Please help me, any message will be appreciated!
THANKS,myth2loki

new info:
I considered that the layout can't be loaded automatically is not so right,
I found that it works when I start emulator with large screen and 160dpi
Now I don't understand how to make app fit large screen without 160dpi

Does anybody have some new ideas?

The problem is very strange:
If I start a emulator that its screen is large screen and its dpi is 240.then I push my.apk into it and run.
the apk can't load XML files that are from res/layout-large.
Please!if someone could leave some messages here,I will appreciate them
myth2loki
Freshman
Freshman
 
Posts: 3
Joined: Mon Oct 26, 2009 1:37 am

Top

Postby myth2loki » Tue Oct 27, 2009 10:07 am

Could anybody help me please?
myth2loki
Freshman
Freshman
 
Posts: 3
Joined: Mon Oct 26, 2009 1:37 am

Postby myth2loki » Fri Oct 30, 2009 11:00 am

I got answer from google groups.
it says that android does not support large sreen without 160dpi now. it will support all density at future version
myth2loki
Freshman
Freshman
 
Posts: 3
Joined: Mon Oct 26, 2009 1:37 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 5 guests