Damien
On 16/02/2013, at 1:35 AM, Nobu Games <dev.nobu.games@gmail.com> wrote:
Trust Eclipse (actually it is ADT whining about it). What you're doing is redundant and unnecessary, that's why you are getting this warning message. ScrollView is also a kind of layout and derived from FrameLayout.
On Friday, February 15, 2013 3:29:11 AM UTC-6, Damien wrote:Hi All,I am getting an odd warning from eclipse. "The ScrollView layout or its parent LinearLayout is useless"I need some type of layout at the top level and I need the scrollview as the content is bigger thatn the screen. Is there a better way to do this or is Eclipse whining about nothing?RegardsDamien<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android "android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" ><ScrollViewandroid:layout_marginTop="10dip" android:layout_height="wrap_content" android:layout_width="fill_parent"> <LinearLayoutandroid:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" >.......</LinearLayout></ScrollView></LinearLayout>
No comments:
Post a Comment