didn't see any suggestions so worked on it until worked. wrapped LinearLayout with Scrollview
On Tue, Jul 13, 2010 at 11:35 AM, Ricks CoffeeTime < richardbknow...@gmail.com> wrote: > I am building off of the dictionary sample and find that if the > definition text length is 500 characters or the amount to fill the > emulator view window, the rest is clipped and even with a scrollbar > enabled it won't allow scrolling to see the rest of the text. > > It uses XML LinearLayout with listview and textview. > The words are listed in a listview. click on a word and the view > overlays the list with a textview of the word's definition. > the use of maxLength and maxLines were flailing to see if it made a > difference. > > This is the XML controlling the word view: > > <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ > android" > android:orientation="vertical" > android:layout_width="fill_parent" > android:layout_height="fill_parent"> > <!-- at top In the middle: a custom image, --> > <ImageView android:id="@+id/image" > android:layout_width="wrap_content" > android:layout_height="wrap_content" > android:paddingLeft="4dip" android_paddingRight="4dip" > android:gravity="fill_horizontal" > android:src="@drawable/bannericlogo" /> > <TextView > android:id="@+id/word" > android:textAppearance="?android:attr/textAppearanceLarge" > android:textSize="30sp" > android:layout_width="wrap_content" > android:layout_height="wrap_content" > android:text="@string/search_instructions" > android:layout_marginLeft="10dip" > android:layout_marginTop="5dip" android:maxLines="40" > android:maxLength="2048"/> > <TextView > android:id="@+id/definition" > android:textAppearance="?android:attr/ > textAppearanceMedium" > android:layout_width="wrap_content" > android:layout_height="wrap_content" > android:text="@string/search_instructions" > android:layout_marginLeft="10dip" > android:layout_weight="1" > android:bufferType="normal" android:maxLength="2048" > android:maxLines="40" android:scrollbars="vertical"/> > </LinearLayout> > -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en