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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:14:10+00:00 2026-05-15T02:14:10+00:00

Whenever I add an EditText widget to the layout of my home screen widget

  • 0

Whenever I add an EditText widget to the layout of my home screen widget (confusing how the term widget is being used twice in the Android lexicon :-/ ), I receive the “Problem Loading Widget” error box.

Here is the layout I’m attempting; if you remove the EditText, it works…

<RelativeLayout
         android:layout_width="fill_parent"
         android:layout_height="fill_parent"
         xmlns:android="http://schemas.android.com/apk/res/android">

             <Button
                     android:id="@+id/button_generate"
                     android:layout_width="54px"
                     android:layout_height="54px"
                     android:text="Generate"
                     android:textSize="10sp"
                     android:gravity="center"
                     android:layout_alignParentTop="true"
                     android:layout_toRightOf="@+id/edittext_key">
             </Button>   

             <TextView
                     android:id="@+id/textview_hash"
                     android:layout_width="75px"
                     android:layout_height="45px"
                     android:text="Password"
                     android:textSize="11sp"
                     android:gravity="left"
                     android:layout_alignParentTop="true"
                     android:layout_toLeftOf="@+id/edittext_key">
             </TextView>

             <EditText
                     android:id="@+id/edittext_data2"
                     android:layout_width="200px"
                     android:layout_height="50px"
                     android:textSize="12sp"
                     android:layout_marginTop="20px"
                     android:layout_alignParentTop="true"
                     android:layout_centerHorizontal="true">
             </EditText>
</RelativeLayout>

Now, the Google Search home screen widget has an EditText, so it’s obviously legal to implement. Any thoughts on why this is not working?

  • 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-15T02:14:11+00:00Added an answer on May 15, 2026 at 2:14 am

    Widgets use RemoteViews, which only support a certain number of UI elements. EditText is not included. The Android documentation shows which are supported.

    The Google Search home screen widget actually uses a TextView. (Source code)

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

Sidebar

Related Questions

I'm trying to add an AdMob ad to my android application but whenever I'm
whenever I add an Android project to a git repository using the eclipse plugin
I have a problem with buttons in my layout. Whenever I add a button
So whenever I add <uses-sdk android:minSdkVersion = 7></uses-sdk> my application refuses to work properly.
Whenever I add paddingRight to a column in the flex grid, it adds the
whenever I add a new domain into my new Plesk control panel on my
I know that whenever you add/remove/modify any file in the App_Code, App_GlobalResources, and bin
I'm working on a word-press theme and whenever I add the code below to,
In a current project (480 source files), whenever i add a new module, i
I have a PHP application using an Oracle XE database. Whenever I add a

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.