0

anyone whether scrollview works only on Linearlayout because i tried absolute layout but there is a problem in scrolling it

thanks in advance

2
  • it works in all.but you have to eleborate whr you get prob and what? Commented Jan 19, 2011 at 11:05
  • AbsoluteLayout is deprecated. Please do not use it. Commented Jan 19, 2011 at 13:54

1 Answer 1

1

try this code this is helpfull

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="wrap_content" android:layout_width="fill_parent"> <LinearLayout android:orientation="vertical" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@+id/LinearLayoutHelp" android:background="@android:color/white"> <------pasted in views---------> </LinearLayout> </ScrollView> 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.