I'm not at home right now so I can't test it, maybe tomorrow: swap the root linear layout for a relative layout. Move up the TextView, set its alignBottom to the root RelativeLayout and set its height to wrap_content. Then configure your inner RelativeLayout's alignBottom to the TextView. Its height should be set to fill_parent. I could post the code and some links tomorrow.
On Oct 20, 4:07 pm, sisko <adeod...@gmail.com> wrote: > I had began with the layout_width set to wrap_content but it did not > have the desired effect. > I'll admit I don't fully understand the layout concepts so I'm > experienting alot. > > Any good material that can bring me up to speed is welcome, please! > > On 19 Oct, 15:50, letlite <letl...@gmail.com> wrote: > > > > > The default orientation for LinearLayout is horizontal. It looks odd > > that the last TextView view has android:layout_width="fill_parent". > > > On Oct 18, 2:43 pm,sisko<adeod...@gmail.com> 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en