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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T15:08:55+00:00 2026-05-14T15:08:55+00:00

All I’m trying to do is open a very simple application that is supposed

  • 0

All I’m trying to do is open a very simple application that is supposed to do nothing but display an imageView above a textView. The application worked fine until I added the imageView so I’m assuming my problem has something to do with that.

Here is the code:

package com.isi.sa;

import android.app.Activity;
import android.os.Bundle;

public class SimpleAssessment extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        setContentView(R.layout.main);
    }
}

Here is my layout -> main.xml

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <ImageView
        android:layout_width="fill_parent"
        android:src="@drawable/isi_logo"/>

    <TextView  
        android:layout_width="fill_parent" 
        android:layout_height="fill_parent" 
        android:text="@string/hello"
        android:background="@color/white"
        android:textColor="@color/black"/>
</LinearLayout>

When I try and run the app in Eclipse through the Emulator the emulator gives me the following error:

The application Application Name (process.com.isi.sa) has stopped unexpectedly. Please try again.

The Console log in Eclipse shows the following messages:

[2010-04-16 11:08:44 - SimpleAssessment] ------------------------------
[2010-04-16 11:08:44 - SimpleAssessment] Android Launch!
[2010-04-16 11:08:44 - SimpleAssessment] adb is running normally.
[2010-04-16 11:08:44 - SimpleAssessment] Performing com.isi.sa.SimpleAssessment activity launch
[2010-04-16 11:08:44 - SimpleAssessment] Automatic Target Mode: launching new emulator with compatible AVD 'my_avd'
[2010-04-16 11:08:44 - SimpleAssessment] Launching a new emulator with Virtual Device 'my_avd'
[2010-04-16 11:08:47 - SimpleAssessment] New emulator found: emulator-5554
[2010-04-16 11:08:47 - SimpleAssessment] Waiting for HOME ('android.process.acore') to be launched...
[2010-04-16 11:09:31 - SimpleAssessment] WARNING: Application does not specify an API level requirement!
[2010-04-16 11:09:31 - SimpleAssessment] Device API version is 3 (Android 1.5)
[2010-04-16 11:09:31 - SimpleAssessment] HOME is up on device 'emulator-5554'
[2010-04-16 11:09:31 - SimpleAssessment] Uploading SimpleAssessment.apk onto device 'emulator-5554'
[2010-04-16 11:09:31 - SimpleAssessment] Installing SimpleAssessment.apk...
[2010-04-16 11:10:04 - SimpleAssessment] Success!
[2010-04-16 11:10:04 - SimpleAssessment] Starting activity com.isi.sa.SimpleAssessment on device 
[2010-04-16 11:10:09 - SimpleAssessment] ActivityManager: Starting: Intent { action=android.intent.action.MAIN categories={android.intent.category.LAUNCHER} comp={com.isi.sa/com.isi.sa.SimpleAssessment} }

Thanks in advance for the help!

  • 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-05-14T15:08:56+00:00Added an answer on May 14, 2026 at 3:08 pm

    ImageView is missing a layout_height and you can’t have both of them as “fill_parent”. You should use a RelativeLayout or use absolute heights/widths.

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

Sidebar

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.