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 8173269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:05:01+00:00 2026-06-06T22:05:01+00:00

A naked layout resource directory Android OS interprets as layout, normal, mdpi , according

  • 0

A naked layout resource directory Android OS interprets as layout, normal, mdpi, according to the docs. If I create a new project and make layout structure like this:

/res/
    /layout/
    /layout-normal/

OR

/res/
    /layout/
    /layout-normal-mdpi/

I get no error. Why?

If there is no error, then I can conclude that naked layout directory is not normal, mdpi, but it’s for all those layout which were not explicitly set, right?! So its purpose is always variable?!

In example no.2., if I load the content on normal, mdpi mobile screen, will it load from the naked or explicit directory?

Thanks in advance anyone taking time to clarify this for me.

  • 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-06T22:05:10+00:00Added an answer on June 6, 2026 at 10:05 pm

    The app may be running on a device that disqualifies the /layout-normal-mdpi resources from consideration. It will then fall back on the resources in /layout. In other words, the resources in /layout will be used as the default for any configuration that has no more specific resource available.

    It makes a bit more sense to talk about drawables. The system will scale drawables from /drawable from the default mdpi to the density of the actual configuration. The /drawable-mdpi resources, on the other hand, will be used specifically for mdpi configurations.

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

Sidebar

Related Questions

Sometimes Android SDK compiling Project will generate an empty layout XML named main.out.xml ,
Assuming the following project layout:- mainrepo_git |____ .git |____ .gitmodules |____ proj <------- directory
I've this layout xml, named pagina.xml: <?xml version=1.0 encoding=utf-8?> <RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android android:layout_width=match_parent android:layout_height=match_parent android:gravity=center_vertical
I'm learning android now, and i write some simple codes according to the book.
I have an existing project and on new pages I'd like to include new
I am working on a Windows Form to create a Employee Card Layout. In
I have the following div layout: Everything is fine when I put normal txt
I am new to Android and I don't know much about Android. Well I
I have created a new layout templates in apps/frontend/default/my_theme/template/page and named it home-page.phtml and
I have an APP, bundle ID is com.MYAPP, and then I create a new

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.