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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:19:14+00:00 2026-06-13T13:19:14+00:00

It used to be that my Eclipse Android Graphical Layout editor could render the

  • 0

eclipse android graphical layout fail

It used to be that my Eclipse Android Graphical Layout editor could render the layout I had made for my app. But I added just one more layout to include a top row of buttons and now it no longer renders at all.

There are no lint errors. No errors reported in logcat or the error console.

I did a clean and rebuild. No errors anywhere in the project.

I upped the settings in my eclipse.ini to allow for more memory availability (system is 64 bit and has 4G ram).

closed and reopened Eclipsed. Shut down machine, restarted.

None of this made a difference.

Is it just too much for the layout editor to handle? Or is it some other problem?

Thank you

Here is a drawing of what I’m trying to achieve:

mockup

Here is my layout xml:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/mainWindowLayout"
    android:layout_width="fill_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >
    <LinearLayout
        android:id="@+id/topButtonsLayout"
        android:layout_width="fill_parent"
        android:layout_height="0dp"
        android:orientation="horizontal" >
        <ImageButton
            android:id="@+id/ideaButton"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:contentDescription="@string/blah"
            android:src="@drawable/ic_idea" />
        <ImageButton
            android:id="@+id/soundsLikeButton"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:contentDescription="@string/blah"
            android:src="@drawable/ic_soundslike" />
    </LinearLayout>
    <LinearLayout
        android:id="@+id/chooserLayout"
        android:layout_width="fill_parent"
        android:layout_height="0dp"
        android:orientation="horizontal" >
        <LinearLayout
            android:id="@+id/leftThingLayout"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:orientation="vertical" >
            <EditText
                android:id="@+id/ThisTextBox"
                android:layout_width="match_parent"
                android:layout_height="0dp"
                android:layout_weight="2"
                android:ems="10"
                android:inputType="textMultiLine"
                android:text="@string/this_thing" />
            <LinearLayout
                android:id="@+id/leftChooserLayout"
                android:layout_width="match_parent"
                android:layout_height="wrap_content" >
                <ImageButton
                    android:id="@+id/preferLeft"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:contentDescription="@string/blah"
                    android:src="@drawable/ic_likeit" />
                <ImageButton
                    android:id="@+id/defineLeft"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:contentDescription="@string/blah"
                    android:src="@drawable/ic_define" />
                <ImageButton
                    android:id="@+id/notLeft"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                   android:contentDescription="@string/blah"
                    android:src="@drawable/ic_dontlike" />
            </LinearLayout>
        </LinearLayout>
        <LinearLayout
            android:id="@+id/rightThingLayout"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:orientation="vertical" >
            <EditText
                android:id="@+id/ThatTextBox"
                android:layout_width="match_parent"
                android:layout_height="0dp"
                android:layout_weight="2"
                android:ems="10"
                android:inputType="textMultiLine"
                android:text="@string/that_thing" />
            <LinearLayout
                android:id="@+id/rightChooserLayout"
                android:layout_width="match_parent"
                android:layout_height="wrap_content" >
                <ImageButton
                    android:id="@+id/preferRight"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:contentDescription="@string/blah"
                    android:src="@drawable/ic_likeit" />
                <ImageButton
                    android:id="@+id/defineRight"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:contentDescription="@string/blah"
                    android:src="@drawable/ic_define" />
                <ImageButton
                    android:id="@+id/notRight"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:contentDescription="@string/blah"
                    android:src="@drawable/ic_dontlike" />
            </LinearLayout>
        </LinearLayout>
    </LinearLayout>
</LinearLayout>·

thank you for any clues

  • 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-13T13:19:15+00:00Added an answer on June 13, 2026 at 1:19 pm

    You have
    android:layout_height=”0dp”
    in a couple of places there. That makes your views basically invisible. If you change the 0dp to match_parent it should work.

    (The right time to use 0dp is when you are using weights to do proportional allocation among the children; then the 0dp basically means that the weights will share all available space, rather than the remainder of the intrinsic sizes).

    I’ve just uploaded a fix to make lint flag issues like this, which will hopefully make it much more obvious in the future:
    https://android-review.googlesource.com/#/c/45683/

    — Tor

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

Sidebar

Related Questions

I had build in past an android app that i used Jsoup to parse
I am looking out for an eclipse plug-in that could be used to detect
All Android developers I know use Eclipse. But I got used to NetBeans developing
I created a small Android App that runs on the Android simulator/tablet just fine..
I'm working at the moment at a simple app in eclipse for android. Just
What is the version of Eclipse that can be used to draw the UML
I recently wrote a program that used a simple producer/consumer pattern. It initially had
I'm using Eclipse Helios 3.6.2 for Android development and whenever I design a layout
I'm using Eclipse to learn to develop Android applications in Java. I haven't used
I am using Eclipse Indigo for Android development. The problem i face is that

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.