Thanks to all. pskink Thanks for the help. Its really working fine now. Your suggestions helps me a lot.
Thanks to Mark Murphy, It is good to see the hierarchy view, which will help me a lot in future. Again thanks to all. On Feb 22, 6:39 pm, skink <[email protected]> wrote: > On Feb 22, 2:23 pm, Beena <[email protected]> wrote: > > > > > Here is the main.xml > > ========= > > > <?xml version="1.0" encoding="UTF-8"?> > > > <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ > > android" > > android:layout_width="fill_parent" > > android:layout_height="fill_parent" > > android:background="#FFF" > > android:orientation="vertical" > > android:scrollbarSize="12dip"> > > > <LinearLayout > > android:layout_width="wrap_content" > > android:layout_height="wrap_content" > > android:layout_gravity="center" > > > > > <ImageView > > android:id="@+id/serchImage" > > android:src="@drawable/close" > > android:layout_width="wrap_content" > > android:layout_height="wrap_content" > > android:layout_gravity="right"/> > > </LinearLayout> > > if your header is simply ImageView you dont need to embed it in > LinearLayout, the same applies to footer > > > > > <ScrollView xmlns:android="http://schemas.android.com/apk/res/ > > android" > > android:layout_width="fill_parent" > > android:layout_height="fill_parent" > > android:scrollbarSize="12dip"> > > your ScrollView should have: > android:layout_height="0px" > android:layout_weight="1" > > pskink -- 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

