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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:41:03+00:00 2026-05-23T00:41:03+00:00

The emulator keeps on crashing when I run this <?xml version=1.0 encoding=utf-8?> <RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android

  • 0

The emulator keeps on crashing when I run this

<?xml version="1.0" encoding="utf-8"?>

<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="10px"
android:background="@drawable/words_background">
<ImageView
    android:layout_height="wrap_content"
    android:id="@+id/imageView1"
    android:src="@drawable/logo"
    android:paddingTop="5dp"
    android:layout_width="wrap_content"
    android:layout_alignParentTop="true" />
<TextView
    android:layout_height="wrap_content"
    android:gravity="right"
    android:textSize="20dp"
    android:layout_width="wrap_content"
    android:id="@+id/lettersQuestion"
    android:paddingLeft="5dp"
    android:typeface="normal"
    android:text="@string/question"
    android:textStyle="bold"
    android:layout_below="@+id/imageView1"
    android:layout_alignRight="@+id/imageView1"></TextView>
<TextView
    android:layout_height="wrap_content"
    android:gravity="right"
    android:textSize="20dp"
    android:layout_width="wrap_content"
    android:id="@+id/board_lettersQuestion"
    android:paddingLeft="5dp"
    android:typeface="normal"
    android:text="@string/question"
    android:textStyle="bold"
    android:layout_below="@+id/lettersQuestion"
    android:layout_alignLeft="@+id/lettersQuestion"
    android:layout_alignRight="@+id/lettersQuestion"
    android:paddingTop="20dp"></TextView>
<EditText
    android:id="@+id/letters"
    android:layout_height="wrap_content"
    android:layout_width="280dp"
    android:hint="@string/enter_letters"
    android:layout_below="@+id/imageView1" />
<EditText
    android:id="@+id/board_letters"
    android:layout_height="wrap_content"
    android:layout_width="280dp"
    android:hint="Enter Board Letters"
    android:layout_below="@+id/letters" />
<TextView
    android:id="@+id/moreText"
    android:text="@string/more"
    android:layout_alignLeft="@id/board_letters"
    android:layout_below="@id/board_letters"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:textSize="15dp"
    android:typeface="normal"
    android:paddingLeft="5dp"
    android:textStyle="bold" />
<View
    android:background="#eee9e9"
    android:layout_width="fill_parent"
    android:layout_height="2dp"
    android:layout_centerVertical="true"
    android:layout_below="@id/moreText"
    android:paddingTop="3dp" />
<LinearLayout
    android:id="@+id/moreContent"
    android:visibility="gone">
<EditText
    android:layout_below="@+id/moreText"
    android:id="@+id/containsText"
    android:hint="Contains"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignLeft="@+id/moreText"
    android:layout_alignRight="@+id/moreText"
    android:paddingTop="5dp"></EditText>

<Spinner
    android:id="@+id/starts_with"
    android:entries="@array/alphabet_start"
    android:layout_width="155dp"
    android:hint="Starts With"
    android:layout_height="wrap_content"
    android:layout_below="@+id/editText1"
    android:layout_alignLeft="@+id/editText1"
    android:prompt="@string/starts_with"></Spinner>
<Spinner
    android:id="@+id/ends_with"
    android:entries="@array/alphabet_end"
    android:layout_width="155dp"
    android:prompt="@string/ends_with"
    android:layout_height="wrap_content"
    android:layout_toRightOf="@+id/starts_with"
    android:layout_alignTop="@+id/starts_with"
    android:layout_alignBottom="@+id/starts_with"></Spinner>
<Spinner
    android:id="@+id/minSpinner"
    android:entries="@array/lengths_min"
    android:layout_width="80dp"
    android:prompt="@string/min_length"
    android:layout_height="wrap_content"
    android:layout_below="@id/starts_with"
    android:layout_alignLeft="@+id/starts_with"
    android:layout_alignRight="@+id/starts_with">
</Spinner>
<Spinner
    android:id="@+id/maxSpinner"
    android:entries="@array/lengths_max"
    android:layout_width="80dp"
    android:prompt="@string/max_length"
    android:layout_height="wrap_content"
    android:layout_below="@id/ends_with"
    android:layout_alignLeft="@id/ends_with"
    android:layout_alignRight="@id/ends_with"></Spinner>
</LinearLayout>
</RelativeLayout>

It works fine If I take out the LinearLayout can someone please help me with formatting it to run properly. Thanks in advance.

  • 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-23T00:41:04+00:00Added an answer on May 23, 2026 at 12:41 am

    Try adding a default android:layout_width, android:layout_height, and android:orientation to your LinearLayout.

    EDIT: Also, add an ID to the View above the LinearLayout.

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

Sidebar

Related Questions

Hi guys I'm running through this tutorial: http://www.sencha.com/learn/a-sencha-touch-mvc-application-with-phonegap and trying to get the code
I tried the following code with android 2.3.3 (AVD). When i run this code
I followed the instruction from openCV wiki http://opencv.itseez.com/doc/tutorials/introduction/android_binary_package/android_binary_package.html . I try to run the
In the emulator I'm trying to write to the file: /mnt/sdcard/Android/data/com.Me.MyApp/files/myFile.txt I have set
I want to make a http request with android. is use this: void testHTTP()
I am using the Android Emulator to debug my application, first off it is
So I have a simple socket server on an android emulator. When I'm only
I need to run a periodic task in an Android application. I currently use
I'm having problems doing the Database example from PhoneGap. http://docs.phonegap.com/phonegap_storage_storage.md.html#openDatabase The Problem is, when
For some reason, and only on my Dell Vostro 1000 laptop, the Android emulator

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.