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

  • Home
  • SEARCH
  • 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 9102317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T01:21:18+00:00 2026-06-17T01:21:18+00:00

The Android (Open Source Project) native launcher source code seems to be missing the

  • 0

The Android (Open Source Project) native launcher source code seems to be missing the following required XML layout parameters in some of its published resource files: layout_height and layout_width

Missing attributes

  • AppsCustomizeTabHost in apps_customize_pane.xml
  • Workspace in workspace.xml
  • there are 13 more, including duplicates in screen-size-specific layout resources

Compile-time exceptions

This breaks launcher compilation, at least independent compilation, throwing errors such as:

  • ‘layout-width’ attribute should be defined
  • ‘layout-height’ attribute should be defined

Note: there are many other issues that need to be resolved in order compile Android launcher2, this question is about these specific missing attributes and how come they are missing?

How does Google compile its launcher and what are the LayoutParams values?

So how is Google able to compile the code when these required attributes are missing?

Furthermore, what are the values that should be used, should they be:

android:layout_width="fill_parent"
android:layout_height="fill_parent"

or wrap_content, or specific pixel values – in other words, where can I get this kind of information / what is the secret build process?

  • 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-17T01:21:20+00:00Added an answer on June 17, 2026 at 1:21 am

    We do not compile Android with Eclipse+ADT but with make. The compilers do not check for layout_width and layout_height at build time. When these attributes are missing a runtime error is generated. But Launcher2 is built so that these attributes are not needed (using code to generate layout params for instance.) There is nothing secret about it 🙂

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

Sidebar

Related Questions

I cloned some of the trees from the Android Open Source Project to take
I'm build Android Open Source Project on Ubuntu 10.0.4. I try to install required
Where can I browse the source code for any Android Open Source Project (AOSP)
I use Eclipse to study some open source projects on Android. I keep seeing
I have an android project with java and native code. Everything works fine, till
When i compile a android module from Android Open Source Project using mm, the
I can't run emulator after rebuild Android Open Source Project on Ubuntu 10.0.4. Please
How do I get the latest Android Open Source Project (AOSP) source on windows?
I've been using the following code in an XML layout file: <!-- Copyright (C)
I have this question when I am studying an open source Android project. I

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.