Hi,
while do rotate, I am not getting image at center of the screen.
My xml code is:
<FrameLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@drawable/imageviewer_bg"
android:id="@+id/ID_ZoomLayout">
<ScrollView android:id="@+id/scroll_view1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_centerInParent="true"
android:gravity="center" >
<HorizontalScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:foregroundGravity="center"
android:scrollbarAlwaysDrawHorizontalTrack="true">
<ImageView
android:id="@+id/scroll_image1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scaleType="center">
</ImageView>
</HorizontalScrollView>
</ScrollView>
</FrameLayout>
please help me to resolve this.
--
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
To unsubscribe, reply using "remove me" as the subject.