Use hierarchyviewer to help determine why your TextView is misbehaving: http://developer.android.com/guide/developing/tools/hierarchy-viewer.html
On Mon, Oct 18, 2010 at 5:43 PM, sisko <[email protected]> wrote: > Hi guys, > > the code I pasted below works great with the exception of the last > view - the textView. > > The TextView does not display: > > <LinearLayout > xmlns:android="http://schemas.android.com/apk/res/android" > android:id="@+id/LinearLayout01" > android:background="@drawable/bkgrnd" > android:layout_height="fill_parent" > android:layout_width="fill_parent"> > <RelativeLayout > android:id="@+id/RelativeLayout01" > android:layout_width="wrap_content" > android:layout_height="wrap_content"> > <ImageView > android:id="@+id/ImageView01" > android:layout_width="wrap_content" > android:layout_height="wrap_content" > android:background="@drawable/quizicon" > android:layout_alignParentLeft="true" > android:layout_alignParentTop="true"> > </ImageView> > <TextView > android:id="@+id/TextView01" > android:layout_width="wrap_content" > android:layout_height="wrap_content" > android:text="@string/help" > android:layout_alignParentTop="true" > android:layout_centerHorizontal="true" > android:textSize="@dimen/menuxmlTitleSize" > android:textColor="@color/menuxmlTitleColor"> > </TextView> > <ImageView > android:id="@+id/ImageView02" > android:layout_width="wrap_content" > android:layout_height="wrap_content" > android:background="@drawable/quizicon" > android:layout_alignParentRight="true" > android:layout_alignParentTop="true"> > </ImageView> > > </RelativeLayout> > <TextView > android:text="@+id/TextView02" > android:id="@+id/TextView_HelpText" > android:layout_width="fill_parent" > android:layout_height="wrap_content"> > </TextView> > </LinearLayout> > > I had a similar problem which came down to an XML layout issue and I'm > sure it's a similar issue here only I don't know how to resolve it. > > Can someone please help and tell me how I can get the TextView to > display and perhaps more importantly, direct me to some good android > xml layout material? > > Thanks. > > -- > 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 > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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

