You are right. When I move the TextView up it is squashed but visible. Can you advice on how I can make it visible beneath the relative layout
On 20 Oct, 03:22, metal mikey <coref...@gmail.com> wrote: > It might be because the TextView is positioned offscreen. Try putting > it prior to the RelativeLayout, if you can see it then then it's > likely the RelativeLayout is "pushing it" offscreen when the TextView > is placed after the RelativeLayout. > > On Oct 20, 10:07 am,sisko<adeod...@gmail.com> wrote: > > > The following code is causing me problems as the last view, 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> > > > Can anyone offer suggestions as to why the TextView does not showup in > > the present format? > > Also, please suggest good online resourse(s) that can help me learn > > good Android XML layout techniques, please. > > > 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