scrollview

Android sdk 1.6 WVGA, webview within scrollview is not working

Hello All, I have added the webview within scrollview in the layout. So data in webview is not fully displayed. Only in android sdk1.6 WVGA resolution, It is not working properly. This bug is filed in android bug tracker also. For your reference, http://groups.google.com/group/android-developers/browse_thread/thread/d66d908993d51d65 ...

How to display NSMutableAttributedString within ScrollView on iPhone

I am developing an iPhone app and want to be able to use an NSMutableAttributedString inside a ScrollView. Here are the steps I want to follow: Grab a string from CoreData. Copy the string into an NSMutableAttributedString. Parse the string and modify the attributes of portions of the text. Display the NSMutableAttributedString inside...

How can I put a ListView into a ScrollView without it collapsing?

I've searched around for solutions to this problem, and the only answer I can find seems to be "don't put a ListView into a ScrollView". I have yet to see any real explanation for why though. The only reason I can seem to find is that Google doesn't think you should want to do that. Well I do, so I did. So the question is, how can yo...

Dragging an image from a scrollview

This is driving me bonkers, have been on it ages and still can get the thing to do what I want! My view is set out like this: RootViewController contains (UIView)flipView FlipView contains (UiView)firstView FirstView contains a scrollview and a load of imageviews Scrollview contains a series of custom imageViews I can drag the cust...

How can I determine if I will draw offscreen when doing custom bitmap blitting in a view inside a scrollview in Android

I have subclassed View and do some bitmap drawing inside of the onDraw method. This view is then placed in a horizontal scrollview. Some of the time the bitmaps will not be visible since they are scrolled off screen. To improve performance I would like to avoid drawing anything when the object will not be visible. So the question is, ho...

How to make ScrollView with a RelativeLayout with multiple child layouts fill the screen?

I have a layout that has just a ScrollView visible. It has a relative layout as its child. This layout has several other layouts (mainly text views) as its children. When the text is not big enough, the scroll view does not expand itself to fit the whole screen. Instead, it shows a gap at the bottom where the background shows. I tried se...

android ListView replacement for ScrollView

I have a complex layout file with many TextView's and EditText's placed on the canvas. The layout needs to be a ScrollView in order to properly work for the user. The problem is that 2 fields should really be ListView's with all the formatting that comes with them. Neither of these lists will be more then 10 lines long. I am currentl...

How can I remove only the scrollview?

I have a viewcontroller that is set to scrollview delegate (the scrollview is a subview of the viewcontroller), when I put [scrollview removeFromSuperview]; both the viewcontroller and the scrollview get removed and I'm just left with an empty window. How can I remove only the scrollview? edit:::: this is part of my viewcontroller .h ...

Scrollview doesn't swipe when it's too short to scroll

Hello everyone-- I'm pretty new to Android app development, and I've been playing around with swipe gestures using Android's SimpleOnGestureListener and a ViewFlipper. There are 3 children of the ViewFlipper, and each is a ScrollView. They're all dynamically populated when the Activity loads, and they don't change after that. The Scr...

Defining a ScrollView without setting it's height

Hello, I created a ScrollView and want it to expand to the available space, without having to set a fixed height (i.e. "250px") for it. As such, I created a RelativeLayout. The basic outline follows: <RelativeLayout> <LinearLayout android:id="@+id/x" > <TextView android:text="Title" ... /> </Linear...

Recalculate ScrollView on different ViewFlipper views?

I have a ScrolLView that wraps a ViewFlipper. The content in the ViewFlipper is not of equal height, so my second screen has a very long scrollbar that goes on and on with blank content: <ScrollView android:id="@+id/outer_scroll" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout...

scrollView and footer issue in android

Hello In my android application i am using a header and a footer.In between i have a table inside a scrollview. The problem is that i am not able to see the footer even if i am adding it same as header using include tag. The height and width of the scrollview if i set it to some specified length it works fine but again when it changes th...

Android- Scrollview : change layout position by dragging

Hi, I create Scrollview with 10 layout. I want to change the layout position by dragging. layout_view.setOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent ev) { final int action = ev.getAction(); switch (action) { case MotionEvent.ACTION_DOWN: { ... The problem is when i dragging D...

xcode img_data_lock Problem with Backgroung images in Scrollview

I try to do a magazine app containing a horizontal Scrollview with 15 Pages each containing a vertical ScrollView containing up to 15 Pages. For this I took apples Photoscroller-Example-Code (http://developer.apple.com/iphone/library/samplecode/PhotoScroller/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010080-Intro-DontLinkElementID_...

Android: Total height of ScrollView

Hi all, I have a custom ScrollView (extended android.widget.ScrollView) which I use in my layout. I want to measure the total height of the contents of this scrollview. getHeight() and getMeasuredHeight() don't give me correct values (too high numbers). Background information: I want to determine how far the user has scrolled. I use on...

iPhone SDK Scrolling Game Area with Dragging Cards

We are starting a new game and while I have a few months experience with iPhone SDK, I'm not quite sure the best approach to take for this project. Basically, our card game requires more real estate than the iPhone screen allows. What we ultimately need is about 480x600 pixels so some of our gameboard will be off the screen sometimes. ...

IPhone - Full screen UIScrollView starts right but repositions itself below navigation bar

Hi all, I am currently trying to implement a photo picker just like the Photo App but with a custom image source. For the "photo scrolling" part I used the Apple PhotoScroller sample code and adapted it. One of the main difference is that it is now embedded in a navigation controller (wich is the photoPicker own nav controller, not the ...

scrollviewer and canvas - scrolling view to given position

Hi I have some problems with implementing autoscrolling in WPF (I think I could call it that way). I have a canvas placed inside a scrollviwer. On my canvas I can dynamicly add different shapes. The position of this shapes can be changed with mouse. Everytime I add new shape on canvas or change position of shape I fire measureOverride fu...

Please Help me for putting scrolling option in a android layout.

My code for the Layout is given below. I am not able see the full content. I am not able to scoll also. How i can show the all content by scrolling. Screen shot of the phone also giving Thank you. ...

Reset scroll in ScrollView

I have a ScrollView (and a LinearLayout within it) set as main content. When the user scrolls the view further down, and then if I replace it's child (LinearLayout) with another LinearLayout, the view remains in the scrolled positioned. How do I reset the ScrollView back to coordinate 0? ...