arnouf wrote: > Hi all, > > My program doesn't work correctly with Android 1.6 (running on Acer), > it works correctly with others devices. > > Apparently, my xml view is not correctly understood with this device > (or Android version). > > I've something like that > inside a tabhost, containing a ViewFlipper > < ScrollView > android:id="@+id/viewContentOne" > android:layout_width="wrap_content" > android:layout_height="fill_parent"> > <RelativeLayout > android:layout_width="fill_parent" > android:layout_height="wrap_content"> > <include > layout="@layout/header_article_news" > android:id="@+id/headerOne" /> > <WebView > android:id="@+id/webViewCorpsArticleOne" > android:layout_below="@id/headerOne" > android:layout_width="fill_parent" > android:layout_height="wrap_content" > android:scrollbars="none" /> > footer pour ecouter et partager > <RelativeLayout > android:layout_width="fill_parent" > android:layout_height="wrap_content" > android:gravity="center_horizontal" > android:orientation="horizontal" > > android:layout_alignBottom="@id/webViewCorpsArticleOne" > > android:layout_below="@id/webViewCorpsArticleOne"> > <ImageView > > android:layout_width="wrap_content" > > android:layout_height="wrap_content" > android:id="@+id/ecouterArticle" > > android:gravity="center_horizontal" > android:paddingRight="5dip" > > android:src="@drawable/ic_lock_silent_mode_off" /> > <ImageView > > android:layout_width="wrap_content" > > android:layout_height="wrap_content" > android:id="@+id/shareIt" > android:paddingLeft="5dip" > > android:gravity="center_horizontal" > > android:src="@drawable/ic_menu_share" /> > </RelativeLayout> > </RelativeLayout> > > </ScrollView> > > With Android 2.1 all is ok, but with Android 1.6 I've a second > scrollbars displayed (one for webview another for the scrollview), my > last relativelayout covers the webview which is not displayed > completly. > > I know that an issue was extisting with Android 1.5...I tried a lot of > things and I don't have a correct interface.
You should not put scrollable items (e.g., WebView) in a ScrollView. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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

