Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8400857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:39:21+00:00 2026-06-09T21:39:21+00:00

I’m dealing with the multiple screen support issue of android applications. To support different

  • 0

I’m dealing with the multiple screen support issue of android applications. To support different screen size, I followed the second answer in this thread, which is creating those folders in the file system.

However I didn’t create these folders through eclipse and actually I don’t know whether we can do that. I created them directly in file system. And then, I renamed xml files and add one new xml file in the original layout folder. Next I copied the xml files in the original layout folder to each of the new directories. Question is: Is it right steps to create different screen size layouts?

After this, I go to activities (the .java files) to change the layout names, since I renamed the xml files. However I cannot find the renamed files but the original ones. So I followed this thread since I also get the same problem. After doing project->clean, I have error symbol (the red cross) on each of my activities, and turned out in the imports, import com.mylocalname.R; cannot be resolved since R.java is not generated. I didn’t import android.R.

According to what I found, R.java is not generated maybe because xml file has some errors. However I cannot see any red cross on those files. So how to fix this problem?

So the project is in a mess now. Does anyone have an idea on how to solve the problem? Thanks a lot in advance.

EDIT:

I’m using android platform 4.1 and API level 16.

The xml files’ graphical layouts in the layout folder (not in the layout-X or layout-X-X folders):

graphical layouts

project structures with res expand:

project structure

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T21:39:23+00:00Added an answer on June 9, 2026 at 9:39 pm

    Did you check the problems view in Eclipse? If one or more XML files have an error in them, it should definitely be on that list.

    As far as I can remember XML files will not have a red cross on them like Java files – I can’t confirm that right now though. But when you open up the file the error should be displayed in the graphical view and in source view as well (red x next to line with error).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I know there's a lot of other questions out there that deal with this
I'm trying to select an H1 element which is the second-child in its group
Does anyone know how can I replace this 2 symbol below from the string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.