Thursday, July 9, 2015

android: Implement Horizontal scrool view in android

You can set your required screen or layout inside Scroll View tag. like bellow .
  <ScrollView
            android:layout_width="fill_parent"
            android:layout_height="380dp"
            android:background="@drawable/pagebg0"
            android:scrollbars="vertical || Horizontal"
            android:layout_marginLeft="30dp"
            android:layout_weight="1"
            android:layout_below="@+id/heading"
            android:layout_centerHorizontal="true">

 </ScrollView>

No comments:

Post a Comment