android.widget
Class ScrollView
java.lang.Object
android.view.View
android.view.ViewGroup
android.widget.FrameLayout
android.widget.ScrollView
- All Implemented Interfaces:
- Drawable.Callback, AccessibilityEventSource, KeyEvent.Callback, ViewManager, ViewParent
public class ScrollView
- extends FrameLayout
| Nested classes/interfaces inherited from class android.view.View |
View.AccessibilityDelegate, View.BaseSavedState, View.DragShadowBuilder, View.MeasureSpec, View.OnAttachStateChangeListener, View.OnClickListener, View.OnCreateContextMenuListener, View.OnDragListener, View.OnFocusChangeListener, View.OnGenericMotionListener, View.OnHoverListener, View.OnKeyListener, View.OnLayoutChangeListener, View.OnLongClickListener, View.OnSystemUiVisibilityChangeListener, View.OnTouchListener |
| Fields inherited from class android.view.View |
ALPHA, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_YES, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_RESOLVED_DEFAULT, TRANSLATION_X, TRANSLATION_Y, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y |
|
Method Summary |
void |
addView(View child)
|
void |
addView(View child,
int index)
|
void |
addView(View child,
int index,
ViewGroup.LayoutParams params)
|
void |
addView(View child,
ViewGroup.LayoutParams params)
|
boolean |
arrowScroll(int direction)
|
void |
computeScroll()
|
protected int |
computeScrollDeltaToGetChildRectOnScreen(Rect rect)
|
protected int |
computeVerticalScrollOffset()
|
protected int |
computeVerticalScrollRange()
|
boolean |
dispatchKeyEvent(KeyEvent event)
|
void |
draw(Canvas canvas)
|
boolean |
executeKeyEvent(KeyEvent event)
|
void |
fling(int velocityY)
|
boolean |
fullScroll(int direction)
|
protected float |
getBottomFadingEdgeStrength()
|
int |
getMaxScrollAmount()
|
protected float |
getTopFadingEdgeStrength()
|
boolean |
isFillViewport()
|
boolean |
isSmoothScrollingEnabled()
|
protected void |
measureChild(View child,
int parentWidthMeasureSpec,
int parentHeightMeasureSpec)
|
protected void |
measureChildWithMargins(View child,
int parentWidthMeasureSpec,
int widthUsed,
int parentHeightMeasureSpec,
int heightUsed)
|
protected void |
onDetachedFromWindow()
|
boolean |
onGenericMotionEvent(MotionEvent event)
|
void |
onInitializeAccessibilityEvent(AccessibilityEvent event)
|
void |
onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info)
|
boolean |
onInterceptTouchEvent(MotionEvent ev)
|
protected void |
onLayout(boolean changed,
int l,
int t,
int r,
int b)
|
protected void |
onMeasure(int widthMeasureSpec,
int heightMeasureSpec)
|
protected void |
onOverScrolled(int scrollX,
int scrollY,
boolean clampedX,
boolean clampedY)
|
protected boolean |
onRequestFocusInDescendants(int direction,
Rect previouslyFocusedRect)
|
protected void |
onSizeChanged(int w,
int h,
int oldw,
int oldh)
|
boolean |
onTouchEvent(MotionEvent ev)
|
boolean |
pageScroll(int direction)
|
boolean |
performAccessibilityAction(int action,
Bundle arguments)
|
void |
requestChildFocus(View child,
View focused)
|
boolean |
requestChildRectangleOnScreen(View child,
Rect rectangle,
boolean immediate)
|
void |
requestDisallowInterceptTouchEvent(boolean disallowIntercept)
|
void |
requestLayout()
|
void |
scrollTo(int x,
int y)
|
void |
setFillViewport(boolean fillViewport)
|
void |
setOverScrollMode(int mode)
|
void |
setSmoothScrollingEnabled(boolean smoothScrollingEnabled)
|
boolean |
shouldDelayChildPressedState()
|
void |
smoothScrollBy(int dx,
int dy)
|
void |
smoothScrollTo(int x,
int y)
|
| Methods inherited from class android.widget.FrameLayout |
checkLayoutParams, drawableStateChanged, gatherTransparentRegion, generateDefaultLayoutParams, generateLayoutParams, generateLayoutParams, getConsiderGoneChildrenWhenMeasuring, getForeground, getForegroundGravity, getMeasureAllChildren, jumpDrawablesToCurrentState, setForeground, setForegroundGravity, setMeasureAllChildren, verifyDrawable |
| Methods inherited from class android.view.ViewGroup |
addChildrenForAccessibility, addFocusables, addStatesFromChildren, addTouchables, addView, addViewInLayout, addViewInLayout, attachLayoutAnimationParameters, attachViewToParent, bringChildToFront, canAnimate, childDrawableStateChanged, cleanupLayoutState, clearChildFocus, clearDisappearingChildren, clearFocus, debug, detachAllViewsFromParent, detachViewFromParent, detachViewFromParent, detachViewsFromParent, dispatchConfigurationChanged, dispatchDisplayHint, dispatchDragEvent, dispatchDraw, dispatchFreezeSelfOnly, dispatchGenericFocusedEvent, dispatchGenericPointerEvent, dispatchHoverEvent, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchRestoreInstanceState, dispatchSaveInstanceState, dispatchSetActivated, dispatchSetPressed, dispatchSetSelected, dispatchSystemUiVisibilityChanged, dispatchThawSelfOnly, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchVisibilityChanged, dispatchWindowFocusChanged, dispatchWindowSystemUiVisiblityChanged, dispatchWindowVisibilityChanged, drawChild, endViewTransition, findFocus, findViewsWithText, fitSystemWindows, focusableViewAvailable, focusSearch, getChildAt, getChildCount, getChildDrawingOrder, getChildMeasureSpec, getChildStaticTransformation, getChildVisibleRect, getDescendantFocusability, getFocusedChild, getLayoutAnimation, getLayoutAnimationListener, getLayoutTransition, getPersistentDrawingCache, hasFocus, hasFocusable, indexOfChild, invalidateChild, invalidateChildInParent, isAlwaysDrawnWithCacheEnabled, isAnimationCacheEnabled, isChildrenDrawingOrderEnabled, isChildrenDrawnWithCacheEnabled, isMotionEventSplittingEnabled, layout, measureChildren, offsetDescendantRectToMyCoords, offsetRectIntoDescendantCoords, onAnimationEnd, onAnimationStart, onCreateDrawableState, onInterceptHoverEvent, onRequestSendAccessibilityEvent, recomputeViewAttributes, removeAllViews, removeAllViewsInLayout, removeDetachedView, removeView, removeViewAt, removeViewInLayout, removeViews, removeViewsInLayout, requestFocus, requestSendAccessibilityEvent, requestTransparentRegion, scheduleLayoutAnimation, setAddStatesFromChildren, setAlwaysDrawnWithCacheEnabled, setAnimationCacheEnabled, setChildrenDrawingCacheEnabled, setChildrenDrawingOrderEnabled, setChildrenDrawnWithCacheEnabled, setClipChildren, setClipToPadding, setDescendantFocusability, setLayoutAnimation, setLayoutAnimationListener, setLayoutTransition, setMotionEventSplittingEnabled, setOnHierarchyChangeListener, setPadding, setPersistentDrawingCache, setStaticTransformationsEnabled, showContextMenuForChild, startActionModeForChild, startLayoutAnimation, startViewTransition, updateViewLayout |
| Methods inherited from class android.view.View |
addFocusables, addOnAttachStateChangeListener, addOnLayoutChangeListener, animate, announceForAccessibility, awakenScrollBars, awakenScrollBars, awakenScrollBars, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelLongPress, canScrollHorizontally, canScrollVertically, checkInputConnectionProxy, clearAnimation, combineMeasuredStates, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeVerticalScrollExtent, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchGenericMotionEvent, dispatchPopulateAccessibilityEvent, findViewById, findViewWithTag, focusSearch, forceLayout, getAccessibilityNodeProvider, getAlpha, getAnimation, getApplicationWindowToken, getBackground, getBaseline, getBottom, getBottomPaddingOffset, getCameraDistance, getContentDescription, getContext, getContextMenuInfo, getDefaultSize, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusables, getFocusedRect, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight, getId, getImportantForAccessibility, getKeepScreenOn, getKeyDispatcherState, getLayerType, getLayoutParams, getLeft, getLeftFadingEdgeStrength, getLeftPaddingOffset, getLocalVisibleRect, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOverScrollMode, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getResources, getRight, getRightFadingEdgeStrength, getRightPaddingOffset, getRootView, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollX, getScrollY, getSolidColor, getSuggestedMinimumHeight, getSuggestedMinimumWidth, getSystemUiVisibility, getTag, getTag, getTop, getTopPaddingOffset, getTouchables, getTouchDelegate, getTranslationX, getTranslationY, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarWidth, getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, hasOnClickListeners, hasOverlappingRendering, hasTransientState, hasWindowFocus, inflate, initializeFadingEdge, initializeScrollbars, invalidate, invalidate, invalidate, invalidateDrawable, isActivated, isClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isInEditMode, isInTouchMode, isLayoutRequested, isLongClickable, isOpaque, isPaddingOffsetRequired, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShown, isSoundEffectsEnabled, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onAttachedToWindow, onCheckIsTextEditor, onConfigurationChanged, onCreateContextMenu, onCreateInputConnection, onDisplayHint, onDragEvent, onDraw, onDrawScrollBars, onFilterTouchEventForSecurity, onFinishInflate, onFinishTemporaryDetach, onFocusChanged, onHoverChanged, onHoverEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onPopulateAccessibilityEvent, onRestoreInstanceState, onSaveInstanceState, onScreenStateChanged, onScrollChanged, onSetAlpha, onStartTemporaryDetach, onTrackballEvent, onVisibilityChanged, onWindowFocusChanged, onWindowSystemUiVisibilityChanged, onWindowVisibilityChanged, overScrollBy, performClick, performHapticFeedback, performHapticFeedback, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, postInvalidateOnAnimation, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, requestFitSystemWindows, requestFocus, requestFocus, requestFocusFromTouch, requestRectangleOnScreen, requestRectangleOnScreen, resolveSize, resolveSizeAndState, restoreHierarchyState, saveHierarchyState, scheduleDrawable, scrollBy, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setActivated, setAlpha, setAnimation, setBackground, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBottom, setCameraDistance, setClickable, setContentDescription, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setEnabled, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusableInTouchMode, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHovered, setId, setImportantForAccessibility, setKeepScreenOn, setLayerType, setLayoutParams, setLeft, setLongClickable, setMeasuredDimension, setMinimumHeight, setMinimumWidth, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setPivotX, setPivotY, setPressed, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle, setScrollContainer, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setSystemUiVisibility, setTag, setTag, setTop, setTouchDelegate, setTranslationX, setTranslationY, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setVisibility, setWillNotCacheDrawing, setWillNotDraw, setX, setY, showContextMenu, startActionMode, startAnimation, startDrag, unscheduleDrawable, unscheduleDrawable, willNotCacheDrawing, willNotDraw |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScrollView
public ScrollView(Context context)
ScrollView
public ScrollView(Context context,
AttributeSet attrs)
ScrollView
public ScrollView(Context context,
AttributeSet attrs,
int defStyle)
shouldDelayChildPressedState
public boolean shouldDelayChildPressedState()
- Overrides:
shouldDelayChildPressedState in class FrameLayout
getTopFadingEdgeStrength
protected float getTopFadingEdgeStrength()
- Overrides:
getTopFadingEdgeStrength in class View
getBottomFadingEdgeStrength
protected float getBottomFadingEdgeStrength()
- Overrides:
getBottomFadingEdgeStrength in class View
getMaxScrollAmount
public int getMaxScrollAmount()
addView
public void addView(View child)
- Overrides:
addView in class ViewGroup
addView
public void addView(View child,
int index)
- Overrides:
addView in class ViewGroup
addView
public void addView(View child,
ViewGroup.LayoutParams params)
- Specified by:
addView in interface ViewManager- Overrides:
addView in class ViewGroup
addView
public void addView(View child,
int index,
ViewGroup.LayoutParams params)
- Overrides:
addView in class ViewGroup
isFillViewport
public boolean isFillViewport()
setFillViewport
public void setFillViewport(boolean fillViewport)
isSmoothScrollingEnabled
public boolean isSmoothScrollingEnabled()
setSmoothScrollingEnabled
public void setSmoothScrollingEnabled(boolean smoothScrollingEnabled)
onMeasure
protected void onMeasure(int widthMeasureSpec,
int heightMeasureSpec)
- Overrides:
onMeasure in class FrameLayout
dispatchKeyEvent
public boolean dispatchKeyEvent(KeyEvent event)
- Overrides:
dispatchKeyEvent in class ViewGroup
executeKeyEvent
public boolean executeKeyEvent(KeyEvent event)
requestDisallowInterceptTouchEvent
public void requestDisallowInterceptTouchEvent(boolean disallowIntercept)
- Specified by:
requestDisallowInterceptTouchEvent in interface ViewParent- Overrides:
requestDisallowInterceptTouchEvent in class ViewGroup
onInterceptTouchEvent
public boolean onInterceptTouchEvent(MotionEvent ev)
- Overrides:
onInterceptTouchEvent in class ViewGroup
onTouchEvent
public boolean onTouchEvent(MotionEvent ev)
- Overrides:
onTouchEvent in class View
onGenericMotionEvent
public boolean onGenericMotionEvent(MotionEvent event)
- Overrides:
onGenericMotionEvent in class View
onOverScrolled
protected void onOverScrolled(int scrollX,
int scrollY,
boolean clampedX,
boolean clampedY)
- Overrides:
onOverScrolled in class View
performAccessibilityAction
public boolean performAccessibilityAction(int action,
Bundle arguments)
- Overrides:
performAccessibilityAction in class View
onInitializeAccessibilityNodeInfo
public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info)
- Overrides:
onInitializeAccessibilityNodeInfo in class FrameLayout
onInitializeAccessibilityEvent
public void onInitializeAccessibilityEvent(AccessibilityEvent event)
- Overrides:
onInitializeAccessibilityEvent in class FrameLayout
pageScroll
public boolean pageScroll(int direction)
fullScroll
public boolean fullScroll(int direction)
arrowScroll
public boolean arrowScroll(int direction)
smoothScrollBy
public final void smoothScrollBy(int dx,
int dy)
smoothScrollTo
public final void smoothScrollTo(int x,
int y)
computeVerticalScrollRange
protected int computeVerticalScrollRange()
- Overrides:
computeVerticalScrollRange in class View
computeVerticalScrollOffset
protected int computeVerticalScrollOffset()
- Overrides:
computeVerticalScrollOffset in class View
measureChild
protected void measureChild(View child,
int parentWidthMeasureSpec,
int parentHeightMeasureSpec)
- Overrides:
measureChild in class ViewGroup
measureChildWithMargins
protected void measureChildWithMargins(View child,
int parentWidthMeasureSpec,
int widthUsed,
int parentHeightMeasureSpec,
int heightUsed)
- Overrides:
measureChildWithMargins in class ViewGroup
computeScroll
public void computeScroll()
- Overrides:
computeScroll in class View
computeScrollDeltaToGetChildRectOnScreen
protected int computeScrollDeltaToGetChildRectOnScreen(Rect rect)
requestChildFocus
public void requestChildFocus(View child,
View focused)
- Specified by:
requestChildFocus in interface ViewParent- Overrides:
requestChildFocus in class ViewGroup
onRequestFocusInDescendants
protected boolean onRequestFocusInDescendants(int direction,
Rect previouslyFocusedRect)
- Overrides:
onRequestFocusInDescendants in class ViewGroup
requestChildRectangleOnScreen
public boolean requestChildRectangleOnScreen(View child,
Rect rectangle,
boolean immediate)
- Specified by:
requestChildRectangleOnScreen in interface ViewParent- Overrides:
requestChildRectangleOnScreen in class ViewGroup
requestLayout
public void requestLayout()
- Specified by:
requestLayout in interface ViewParent- Overrides:
requestLayout in class View
onDetachedFromWindow
protected void onDetachedFromWindow()
- Overrides:
onDetachedFromWindow in class View
onLayout
protected void onLayout(boolean changed,
int l,
int t,
int r,
int b)
- Overrides:
onLayout in class FrameLayout
onSizeChanged
protected void onSizeChanged(int w,
int h,
int oldw,
int oldh)
- Overrides:
onSizeChanged in class FrameLayout
fling
public void fling(int velocityY)
scrollTo
public void scrollTo(int x,
int y)
- Overrides:
scrollTo in class View
setOverScrollMode
public void setOverScrollMode(int mode)
- Overrides:
setOverScrollMode in class View
draw
public void draw(Canvas canvas)
- Overrides:
draw in class FrameLayout
Copyright © 2008-2012. All Rights Reserved.