adding both horizontal and vertical scrollview for imageview

view story

http://stackoverflow.com – in my application.i have used RelativeLayout. i want to add horizontal and vertical scrollview to imageview. i tried it but not working. imageview size should be 800*800. is there need of LinearLayout. how can i do this?please help me. xml file - <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/Beige" android:focusable="true" android:orientation="vertical" > <LinearLayout android:id="@+id/linearLayout1" (HowTos)