Hi All, I have a small problem and need some suggestions on how to do it. I have a image view with no title and status bar(Full Screen). I want to put ZoomControls above the image. The image view which i have is of resolution 720 x 1200. I am displaying it on nexus which has screen resolution 480 x 800. In my XML layout if i give the following
<LinearLayout android:id="@+id/tabcontent" xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:padding="5dip"> <FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent"> <ImageView android:id="@+id/zoomImageView" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="#FFFFFF" /> <ZoomControls android:id="@+id/zoomControls" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="10dip" android:layout_marginRight="10dip" android:layout_gravity="right| top" /> </FrameLayout> </LinearLayout> Then image shrenks and shows correctly. Now when I click on Zoom Controls I want to Zoom in or Zoom out. If I put Scrollbar it shows image in full zoom (which i dont want). What I want is onload it should load image in full screen withould showing the scrollbars and when zoom controls are clicked image should get zoomed and with scroll bar. Something similar to Gallery in android phones. -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en