I suspect a user error, specifically not reading the documentation. On May 28, 3:38 pm, "eyanblog.appspot.com" <[email protected]> wrote: > Hi, > It seems to my problems. > I can't add EditText for a widget. > Why?Can anyone help me? > Thanks. > Suspect it is google's bug. > > On 5月27日, 上午3时01分, Christopher <[email protected]> wrote:> > Whenever I add anEditTextwidgetto the layout of my home > screenwidget(confusing how the term "widget" is being used twice in the > > Android lexicon :-/ ), I receive the "Problem LoadingWidget" error > > box. > > > Here is the layout I'm attempting; if you remove theEditText, 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 screenwidgethas anEditText, so it's > > obviously legal to implement. Any thoughts on why this is not working?
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

