public class BoomMenuButton extends android.widget.FrameLayout implements InnerOnBoomButtonClickListener
android.view.ViewGroup.MarginLayoutParams, android.view.ViewGroup.OnHierarchyChangeListenerandroid.view.View.AccessibilityDelegate, android.view.View.BaseSavedState, android.view.View.DragShadowBuilder, android.view.View.MeasureSpec, android.view.View.OnApplyWindowInsetsListener, android.view.View.OnAttachStateChangeListener, android.view.View.OnCapturedPointerListener, android.view.View.OnClickListener, android.view.View.OnContextClickListener, android.view.View.OnCreateContextMenuListener, android.view.View.OnDragListener, android.view.View.OnFocusChangeListener, android.view.View.OnGenericMotionListener, android.view.View.OnHoverListener, android.view.View.OnKeyListener, android.view.View.OnLayoutChangeListener, android.view.View.OnLongClickListener, android.view.View.OnScrollChangeListener, android.view.View.OnSystemUiVisibilityChangeListener, android.view.View.OnTouchListener| 限定符和类型 | 字段和说明 |
|---|---|
protected static java.lang.String |
TAG |
CLIP_TO_PADDING_MASK, FOCUS_AFTER_DESCENDANTS, FOCUS_BEFORE_DESCENDANTS, FOCUS_BLOCK_DESCENDANTS, LAYOUT_MODE_CLIP_BOUNDS, LAYOUT_MODE_OPTICAL_BOUNDS, PERSISTENT_ALL_CACHES, PERSISTENT_ANIMATION_CACHE, PERSISTENT_NO_CACHE, PERSISTENT_SCROLLING_CACHEACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR, AUTOFILL_HINT_CREDIT_CARD_NUMBER, AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE, AUTOFILL_HINT_EMAIL_ADDRESS, AUTOFILL_HINT_NAME, AUTOFILL_HINT_PASSWORD, AUTOFILL_HINT_PHONE, AUTOFILL_HINT_POSTAL_ADDRESS, AUTOFILL_HINT_POSTAL_CODE, AUTOFILL_HINT_USERNAME, AUTOFILL_TYPE_DATE, AUTOFILL_TYPE_LIST, AUTOFILL_TYPE_NONE, AUTOFILL_TYPE_TEXT, AUTOFILL_TYPE_TOGGLE, DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION, DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION, DRAG_FLAG_GLOBAL_URI_READ, DRAG_FLAG_GLOBAL_URI_WRITE, DRAG_FLAG_OPAQUE, 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, FOCUSABLE, FOCUSABLE_AUTO, 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_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, IMPORTANT_FOR_AUTOFILL_AUTO, IMPORTANT_FOR_AUTOFILL_NO, IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_AUTOFILL_YES, IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, NOT_FOCUSABLE, 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_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END, SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT, SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP, 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_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR, TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y, Z| 构造器和说明 |
|---|
BoomMenuButton(android.content.Context context) |
BoomMenuButton(android.content.Context context,
android.util.AttributeSet attrs) |
BoomMenuButton(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addBuilder(BoomButtonBuilder builder)
Add a builder to bmb, notice that @needToLayout will be called.
|
void |
boom()
Boom the BMB!
|
void |
boomImmediately()
Boom the BMB with duration 0!
|
void |
clearBuilders()
Remove all builders, notice that @needToLayout will NOT be called.
|
protected void |
dispatchDraw(android.graphics.Canvas canvas) |
BoomButton |
getBoomButton(int index)
Get a boom button at index.
|
java.util.ArrayList<BoomButton> |
getBoomButtons()
Get boom buttons.
|
BoomEnum |
getBoomEnum() |
float |
getBottomHamButtonTopMargin() |
BoomButtonBuilder |
getBuilder(int index)
Get a builder at index.
|
java.util.ArrayList<BoomButtonBuilder> |
getBuilders()
Get the array of builders.
|
float |
getButtonBottomMargin() |
ButtonEnum |
getButtonEnum() |
float |
getButtonHorizontalMargin() |
float |
getButtonInclinedMargin() |
float |
getButtonLeftMargin() |
ButtonPlaceAlignmentEnum |
getButtonPlaceAlignmentEnum() |
ButtonPlaceEnum |
getButtonPlaceEnum() |
int |
getButtonRadius() |
float |
getButtonRightMargin() |
float |
getButtonTopMargin() |
float |
getButtonVerticalMargin() |
java.util.ArrayList<android.graphics.PointF> |
getCustomButtonPlacePositions() |
java.util.ArrayList<android.graphics.PointF> |
getCustomPiecePlacePositions() |
int |
getDimColor() |
float |
getDotRadius() |
android.graphics.Rect |
getEdgeInsetsInParentView() |
int |
getFrames() |
float |
getHamHeight() |
float |
getHamWidth() |
long |
getHideDelay() |
long |
getHideDuration() |
EaseEnum |
getHideMoveEaseEnum() |
EaseEnum |
getHideRotateEaseEnum() |
EaseEnum |
getHideScaleEaseEnum() |
int |
getHighlightedColor() |
int |
getNormalColor() |
OnBoomListener |
getOnBoomListener() |
OrderEnum |
getOrderEnum() |
protected android.view.ViewGroup |
getParentView() |
float |
getPieceCornerRadius() |
float |
getPieceHorizontalMargin() |
float |
getPieceInclinedMargin() |
PiecePlaceEnum |
getPiecePlaceEnum() |
float |
getPieceVerticalMargin() |
int |
getRotateDegree() |
int |
getShadowColor() |
int |
getShadowOffsetX() |
int |
getShadowOffsetY() |
int |
getShadowRadius() |
int |
getShareLine1Color() |
int |
getShareLine2Color() |
float |
getShareLineLength() |
float |
getShareLineWidth() |
long |
getShowDelay() |
long |
getShowDuration() |
EaseEnum |
getShowMoveEaseEnum() |
EaseEnum |
getShowRotateEaseEnum() |
EaseEnum |
getShowScaleEaseEnum() |
int |
getUnableColor() |
boolean |
isAnimating()
Whether BMB is animating.
|
boolean |
isAutoBoom() |
boolean |
isAutoBoomImmediately() |
boolean |
isAutoHide() |
boolean |
isBackgroundEffect() |
boolean |
isBackPressListened() |
boolean |
isBoomed()
Whether the BMB has finished booming.
|
boolean |
isBoomInWholeScreen() |
boolean |
isCacheOptimization() |
boolean |
isCancelable() |
boolean |
isDraggable() |
boolean |
isInFragment() |
boolean |
isInList() |
boolean |
isOrientationAdaptable() |
boolean |
isReBoomed()
Whether the BMB has finished ReBooming.
|
boolean |
isRippleEffect() |
boolean |
isShadowEffect() |
boolean |
isUse3DTransformAnimation() |
protected void |
onAttachedToWindow() |
protected void |
onBackgroundClicked() |
void |
onButtonClick(int index,
BoomButton boomButton) |
protected void |
onDetachedFromWindow() |
boolean |
onKeyDown(int keyCode,
android.view.KeyEvent event) |
protected void |
onLayout(boolean changed,
int left,
int top,
int right,
int bottom) |
void |
reboom()
Re-boom the BMB!
|
void |
reboomImmediately()
Re-boom the BMB with duration 0!
|
void |
removeBuilder(BoomButtonBuilder builder)
Remove a builder, notice that @needToLayout will be called.
|
void |
removeBuilder(int index)
Remove a builder at index, notice that @needToLayout will be called.
|
void |
setAutoBoom(boolean autoBoom)
Whether BMB will boom automatically when it's shown.
|
void |
setAutoBoomImmediately(boolean autoBoomImmediately)
Whether BMB will boom automatically without animations when it's shown.
|
void |
setAutoHide(boolean autoHide)
Whether the BMB is auto-hide.
|
void |
setBackgroundEffect(boolean backgroundEffect)
Whether the BMB should have a background effect.
|
void |
setBackPressListened(boolean backPressListened)
Whether BMB will reboom when the back-key is pressed.
|
void |
setBoomEnum(BoomEnum boomEnum)
Set the boom-enum for BMB.
|
void |
setBoomInWholeScreen(boolean boomInWholeScreen)
Whether the BMB should boom in the whole screen.
|
void |
setBottomHamButtonTopMargin(float bottomHamButtonTopMargin)
Set the top-margin of bottom ham-boom-button.
|
void |
setBuilder(int index,
BoomButtonBuilder builder)
Set a builder at index, notice that @needToLayout will be called.
|
void |
setBuilders(java.util.ArrayList<BoomButtonBuilder> builders)
Set builders array, notice that @needToLayout will be called.
|
void |
setButtonBottomMargin(float buttonBottomMargin)
Set the bottom-alignment margin between screen and buttons.
|
void |
setButtonEnum(ButtonEnum buttonEnum)
Set the button-enum for bmb, notice that methods
toLayout(), clearPieces(),
clearBuilders(), and clearButtons() will be called. |
void |
setButtonHorizontalMargin(float buttonHorizontalMargin)
Set the horizontal-margin between buttons.
|
void |
setButtonInclinedMargin(float buttonInclinedMargin)
Set the inclined-margin between buttons.
|
void |
setButtonLeftMargin(float buttonLeftMargin)
Set the left-alignment margin between screen and buttons.
|
void |
setButtonPlaceAlignmentEnum(ButtonPlaceAlignmentEnum buttonPlaceAlignmentEnum)
Set the button-place-alignment-enum.
|
void |
setButtonPlaceEnum(ButtonPlaceEnum buttonPlaceEnum)
Set the button-place-enum.
|
void |
setButtonRadius(int buttonRadius)
Set the radius of BMB, if you use this method to set the size of BMB,
then you should set the width and height of BMB in .xml file to "wrap-content".
|
void |
setButtonRightMargin(float buttonRightMargin)
Set the right-alignment margin between screen and buttons.
|
void |
setButtonTopMargin(float buttonTopMargin)
Set the top-alignment margin between screen and buttons.
|
void |
setButtonVerticalMargin(float buttonVerticalMargin)
Set the vertical-margin between buttons.
|
void |
setCacheOptimization(boolean cacheOptimization)
Whether use cache optimization to avoid multi-creating boom-buttons.
|
void |
setCancelable(boolean cancelable)
Whether the BMB is cancelable.
|
void |
setCustomButtonPlacePositions(java.util.ArrayList<android.graphics.PointF> customButtonPlacePositions) |
void |
setCustomPiecePlacePositions(java.util.ArrayList<android.graphics.PointF> customPiecePlacePositions)
The customized positions of pieces.
|
void |
setDelay(long delay) |
void |
setDimColor(int dimColor)
Set the dim-color of the background when the BMB booms.
|
void |
setDotRadius(float dotRadius)
Set the radius of dots in BMB.
|
void |
setDraggable(boolean draggable)
Make BMB draggable or not.
|
void |
setDuration(long duration) |
void |
setEdgeInsetsInParentView(android.graphics.Rect edgeInsetsInParentView)
Set the top, left, bottom and right margins in BMB's parent view when BMB is draggable.
|
void |
setEnable(int index,
boolean enable)
Set enable attribute of the boom-button at index.
|
void |
setEnabled(boolean enabled) |
void |
setFrames(int frames)
Set the animation-frames for every boom-button animation.
|
void |
setHamHeight(int hamHeight)
Set the height of hams in BMB.
|
void |
setHamWidth(float hamWidth)
Set the width of hams in BMB.
|
void |
setHideDelay(long hideDelay)
Delay of every boom-button.
|
void |
setHideDuration(long hideDuration)
Set the duration of every boom-button when re-booming.
|
void |
setHideEaseEnum(EaseEnum hideEaseEnum) |
void |
setHideMoveEaseEnum(EaseEnum hideMoveEaseEnum)
Set the ease type of movement when every boom-button is re-booming.
|
void |
setHideRotateEaseEnum(EaseEnum hideRotateEaseEnum)
Set the ease type of rotate-animation when every boom-button is re-booming.
|
void |
setHideScaleEaseEnum(EaseEnum hideScaleEaseEnum)
Set the ease type of scale-animation when every boom-button is re-booming.
|
void |
setHighlightedColor(int highlightedColor)
Set the color of BMB at highlighted-state.
|
void |
setInFragment(boolean inFragment)
When BMB is used in fragment, it must be setInFragment(true).
|
void |
setInList(boolean inList)
When BMB is used in list-view, it must be setInList(true).
|
void |
setNormalColor(int normalColor)
Set the color of BMB at normal-state.
|
void |
setOnBoomListener(OnBoomListener onBoomListener)
Set the @OnBoomListener of BMB.
|
void |
setOrderEnum(OrderEnum orderEnum)
Set the order-enum for BMB.
|
void |
setOrientationAdaptable(boolean orientationAdaptable)
Usually, you don't need to worry about the positions of sub-buttons of BMB when the screen
orientation is changed.
|
void |
setPieceCornerRadius(float pieceCornerRadius)
Set the corner radius of pieces.
|
void |
setPieceHorizontalMargin(float pieceHorizontalMargin)
Set the horizontal margin between pieces(dots, blocks or hams) in BMB.
|
void |
setPieceInclinedMargin(float pieceInclinedMargin)
Set the inclined margin between pieces(dots, blocks or hams) in BMB.
|
void |
setPiecePlaceEnum(PiecePlaceEnum piecePlaceEnum)
Set the piece-place-enum, notice that @requestLayout() will be called.
|
void |
setPieceVerticalMargin(float pieceVerticalMargin)
Set the vertical margin between pieces(dots, blocks or hams) in BMB.
|
void |
setRippleEffect(boolean rippleEffect)
Whether the BMB should have a ripple-effect.
|
void |
setRotateDegree(int rotateDegree)
Set the rotate degree of rotate-animation of every boom-button.
|
void |
setShadowColor(int shadowColor)
Set the color of shadow.
|
void |
setShadowEffect(boolean shadowEffect)
Whether BMB should have a shadow-effect.
|
void |
setShadowOffsetX(int shadowOffsetX)
Set the BMB's shadow offset in the x-axis.
|
void |
setShadowOffsetY(int shadowOffsetY)
Set the BMB's shadow offset in the y-axis.
|
void |
setShadowRadius(int shadowRadius)
Set the shadow-radius of BMB, please notice that the "radius" here means the extra
radius of BMB.
|
void |
setShareLine1Color(int shareLine1Color)
Set the color of share-line 1(the above), only works when piece-place-enum is Share.
|
void |
setShareLine2Color(int shareLine2Color)
Set the color of share-line 2(the below), only works when piece-place-enum is Share.
|
void |
setShareLineLength(float shareLineLength)
Set the length of share-lines in BMB, only works when piece-place-enum is Share.
|
void |
setShareLineWidth(float shareLineWidth)
Set the width of share-lines in BMB, only works when piece-place-enum is Share.
|
void |
setShowDelay(long showDelay)
Delay of every boom-button.
|
void |
setShowDuration(long showDuration)
Set the duration of every boom-button when booming.
|
void |
setShowEaseEnum(EaseEnum showEaseEnum) |
void |
setShowMoveEaseEnum(EaseEnum showMoveEaseEnum)
Set the ease type of movement when every boom-button is booming.
|
void |
setShowRotateEaseEnum(EaseEnum showRotateEaseEnum)
Set the ease type of rotate-animation when every boom-button is booming.
|
void |
setShowScaleEaseEnum(EaseEnum showScaleEaseEnum)
Set the ease type of scale-animation when every boom-button is booming.
|
void |
setUnableColor(int unableColor)
Set the color of BMB at unable-state.
|
void |
setUse3DTransformAnimation(boolean use3DTransformAnimation)
Whether there are 3d animations for boom-buttons.
|
checkLayoutParams, generateDefaultLayoutParams, generateLayoutParams, generateLayoutParams, getAccessibilityClassName, getConsiderGoneChildrenWhenMeasuring, getMeasureAllChildren, onMeasure, setForegroundGravity, setMeasureAllChildren, shouldDelayChildPressedStateaddChildrenForAccessibility, addFocusables, addKeyboardNavigationClusters, addStatesFromChildren, addTouchables, addView, addView, addView, addView, addView, addViewInLayout, addViewInLayout, attachLayoutAnimationParameters, attachViewToParent, bringChildToFront, canAnimate, childDrawableStateChanged, childHasTransientStateChanged, cleanupLayoutState, clearChildFocus, clearDisappearingChildren, clearFocus, debug, detachAllViewsFromParent, detachViewFromParent, detachViewFromParent, detachViewsFromParent, dispatchApplyWindowInsets, dispatchCapturedPointerEvent, dispatchConfigurationChanged, dispatchDisplayHint, dispatchDragEvent, dispatchDrawableHotspotChanged, dispatchFreezeSelfOnly, dispatchGenericFocusedEvent, dispatchGenericPointerEvent, dispatchHoverEvent, dispatchKeyEvent, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchPointerCaptureChanged, dispatchProvideAutofillStructure, dispatchProvideStructure, dispatchRestoreInstanceState, dispatchSaveInstanceState, dispatchSetActivated, dispatchSetPressed, dispatchSetSelected, dispatchSystemUiVisibilityChanged, dispatchThawSelfOnly, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchVisibilityChanged, dispatchWindowFocusChanged, dispatchWindowSystemUiVisiblityChanged, dispatchWindowVisibilityChanged, drawableStateChanged, drawChild, endViewTransition, findFocus, findViewsWithText, focusableViewAvailable, focusSearch, gatherTransparentRegion, getChildAt, getChildCount, getChildDrawingOrder, getChildMeasureSpec, getChildStaticTransformation, getChildVisibleRect, getClipChildren, getClipToPadding, getDescendantFocusability, getFocusedChild, getLayoutAnimation, getLayoutAnimationListener, getLayoutMode, getLayoutTransition, getNestedScrollAxes, getOverlay, getPersistentDrawingCache, getTouchscreenBlocksFocus, hasFocus, hasTransientState, indexOfChild, invalidateChild, invalidateChildInParent, isAlwaysDrawnWithCacheEnabled, isAnimationCacheEnabled, isChildrenDrawingOrderEnabled, isChildrenDrawnWithCacheEnabled, isMotionEventSplittingEnabled, isTransitionGroup, jumpDrawablesToCurrentState, layout, measureChild, measureChildren, measureChildWithMargins, notifySubtreeAccessibilityStateChanged, offsetDescendantRectToMyCoords, offsetRectIntoDescendantCoords, onCreateDrawableState, onDescendantInvalidated, onInterceptHoverEvent, onInterceptTouchEvent, onNestedFling, onNestedPreFling, onNestedPrePerformAccessibilityAction, onNestedPreScroll, onNestedScroll, onNestedScrollAccepted, onRequestFocusInDescendants, onRequestSendAccessibilityEvent, onResolvePointerIcon, onStartNestedScroll, onStopNestedScroll, onViewAdded, onViewRemoved, recomputeViewAttributes, removeAllViews, removeAllViewsInLayout, removeDetachedView, removeView, removeViewAt, removeViewInLayout, removeViews, removeViewsInLayout, requestChildFocus, requestChildRectangleOnScreen, requestDisallowInterceptTouchEvent, requestFocus, requestSendAccessibilityEvent, requestTransparentRegion, restoreDefaultFocus, scheduleLayoutAnimation, setAddStatesFromChildren, setAlwaysDrawnWithCacheEnabled, setAnimationCacheEnabled, setChildrenDrawingCacheEnabled, setChildrenDrawingOrderEnabled, setChildrenDrawnWithCacheEnabled, setClipChildren, setClipToPadding, setDescendantFocusability, setLayoutAnimation, setLayoutAnimationListener, setLayoutMode, setLayoutTransition, setMotionEventSplittingEnabled, setOnHierarchyChangeListener, setPersistentDrawingCache, setStaticTransformationsEnabled, setTouchscreenBlocksFocus, setTransitionGroup, showContextMenuForChild, showContextMenuForChild, startActionModeForChild, startActionModeForChild, startLayoutAnimation, startViewTransition, updateViewLayoutaddExtraDataToAccessibilityNodeInfo, addFocusables, addOnAttachStateChangeListener, addOnLayoutChangeListener, animate, announceForAccessibility, autofill, autofill, awakenScrollBars, awakenScrollBars, awakenScrollBars, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelDragAndDrop, cancelLongPress, cancelPendingInputEvents, canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, canScrollHorizontally, canScrollVertically, checkInputConnectionProxy, clearAnimation, combineMeasuredStates, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScroll, computeSystemWindowInsets, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchFinishTemporaryDetach, dispatchGenericMotionEvent, dispatchNestedFling, dispatchNestedPreFling, dispatchNestedPrePerformAccessibilityAction, dispatchNestedPreScroll, dispatchNestedScroll, dispatchPopulateAccessibilityEvent, dispatchStartTemporaryDetach, draw, drawableHotspotChanged, findViewById, findViewWithTag, fitSystemWindows, focusSearch, forceHasOverlappingRendering, forceLayout, generateViewId, getAccessibilityLiveRegion, getAccessibilityNodeProvider, getAccessibilityTraversalAfter, getAccessibilityTraversalBefore, getAlpha, getAnimation, getApplicationWindowToken, getAutofillHints, getAutofillId, getAutofillType, getAutofillValue, getBackground, getBackgroundTintList, getBackgroundTintMode, getBaseline, getBottom, getBottomFadingEdgeStrength, getBottomPaddingOffset, getCameraDistance, getClipBounds, getClipBounds, getClipToOutline, getContentDescription, getContext, getContextMenuInfo, getDefaultFocusHighlightEnabled, getDefaultSize, getDisplay, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getElevation, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusable, getFocusables, getFocusedRect, getForeground, getForegroundGravity, getForegroundTintList, getForegroundTintMode, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHasOverlappingRendering, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight, getId, getImportantForAccessibility, getImportantForAutofill, getKeepScreenOn, getKeyDispatcherState, getLabelFor, getLayerType, getLayoutDirection, getLayoutParams, getLeft, getLeftFadingEdgeStrength, getLeftPaddingOffset, getLocalVisibleRect, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextClusterForwardId, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOutlineProvider, getOverScrollMode, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getPointerIcon, getResources, getRevealOnFocusHint, getRight, getRightFadingEdgeStrength, getRightPaddingOffset, getRootView, getRootWindowInsets, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollIndicators, getScrollX, getScrollY, getSolidColor, getStateListAnimator, getSuggestedMinimumHeight, getSuggestedMinimumWidth, getSystemUiVisibility, getTag, getTag, getTextAlignment, getTextDirection, getTooltipText, getTop, getTopFadingEdgeStrength, getTopPaddingOffset, getTouchables, getTouchDelegate, getTransitionName, getTranslationX, getTranslationY, getTranslationZ, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarWidth, getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount, getWindowId, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, getZ, hasExplicitFocusable, hasFocusable, hasNestedScrollingParent, hasOnClickListeners, hasOverlappingRendering, hasPointerCapture, hasWindowFocus, inflate, invalidate, invalidate, invalidate, invalidateDrawable, invalidateOutline, isAccessibilityFocused, isActivated, isAttachedToWindow, isClickable, isContextClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isFocusedByDefault, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isImportantForAccessibility, isImportantForAutofill, isInEditMode, isInLayout, isInTouchMode, isKeyboardNavigationCluster, isLaidOut, isLayoutDirectionResolved, isLayoutRequested, isLongClickable, isNestedScrollingEnabled, isOpaque, isPaddingOffsetRequired, isPaddingRelative, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShown, isSoundEffectsEnabled, isTemporarilyDetached, isTextAlignmentResolved, isTextDirectionResolved, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, keyboardNavigationClusterSearch, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onAnimationEnd, onAnimationStart, onApplyWindowInsets, onCancelPendingInputEvents, onCapturedPointerEvent, onCheckIsTextEditor, onConfigurationChanged, onCreateContextMenu, onCreateInputConnection, onDisplayHint, onDragEvent, onDraw, onDrawForeground, onDrawScrollBars, onFilterTouchEventForSecurity, onFinishInflate, onFinishTemporaryDetach, onFocusChanged, onGenericMotionEvent, onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onOverScrolled, onPointerCaptureChange, onPopulateAccessibilityEvent, onProvideAutofillStructure, onProvideAutofillVirtualStructure, onProvideStructure, onProvideVirtualStructure, onRestoreInstanceState, onRtlPropertiesChanged, onSaveInstanceState, onScreenStateChanged, onScrollChanged, onSetAlpha, onSizeChanged, onStartTemporaryDetach, onTouchEvent, onTrackballEvent, onVisibilityAggregated, onVisibilityChanged, onWindowFocusChanged, onWindowSystemUiVisibilityChanged, onWindowVisibilityChanged, overScrollBy, performAccessibilityAction, performClick, performContextClick, performContextClick, performHapticFeedback, performHapticFeedback, performLongClick, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, postInvalidateOnAnimation, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, releasePointerCapture, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, requestApplyInsets, requestFitSystemWindows, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestPointerCapture, requestRectangleOnScreen, requestRectangleOnScreen, requestUnbufferedDispatch, resolveSize, resolveSizeAndState, restoreHierarchyState, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setAccessibilityLiveRegion, setAccessibilityTraversalAfter, setAccessibilityTraversalBefore, setActivated, setAlpha, setAnimation, setAutofillHints, setBackground, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBackgroundTintList, setBackgroundTintMode, setBottom, setCameraDistance, setClickable, setClipBounds, setClipToOutline, setContentDescription, setContextClickable, setDefaultFocusHighlightEnabled, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setElevation, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusable, setFocusableInTouchMode, setFocusedByDefault, setForeground, setForegroundTintList, setForegroundTintMode, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHovered, setId, setImportantForAccessibility, setImportantForAutofill, setKeepScreenOn, setKeyboardNavigationCluster, setLabelFor, setLayerPaint, setLayerType, setLayoutDirection, setLayoutParams, setLeft, setLongClickable, setMeasuredDimension, setMinimumHeight, setMinimumWidth, setNestedScrollingEnabled, setNextClusterForwardId, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnApplyWindowInsetsListener, setOnCapturedPointerListener, setOnClickListener, setOnContextClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnScrollChangeListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setOutlineProvider, setOverScrollMode, setPadding, setPaddingRelative, setPivotX, setPivotY, setPointerIcon, setPressed, setRevealOnFocusHint, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle, setScrollContainer, setScrollIndicators, setScrollIndicators, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setStateListAnimator, setSystemUiVisibility, setTag, setTag, setTextAlignment, setTextDirection, setTooltipText, setTop, setTouchDelegate, setTransitionName, setTranslationX, setTranslationY, setTranslationZ, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setVisibility, setWillNotCacheDrawing, setWillNotDraw, setX, setY, setZ, showContextMenu, showContextMenu, startActionMode, startActionMode, startAnimation, startDrag, startDragAndDrop, startNestedScroll, stopNestedScroll, toString, unscheduleDrawable, unscheduleDrawable, updateDragShadow, verifyDrawable, willNotCacheDrawing, willNotDrawclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, createContextMenu, getLayoutDirection, getParent, getParentForAccessibility, getTextAlignment, getTextDirection, isLayoutDirectionResolved, isLayoutRequested, isTextAlignmentResolved, isTextDirectionResolved, keyboardNavigationClusterSearch, requestFitSystemWindows, requestLayoutprotected static final java.lang.String TAG
public BoomMenuButton(android.content.Context context)
public BoomMenuButton(android.content.Context context,
android.util.AttributeSet attrs)
public BoomMenuButton(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr)
public boolean onKeyDown(int keyCode,
android.view.KeyEvent event)
onKeyDown 在接口中 android.view.KeyEvent.CallbackonKeyDown 在类中 android.view.Viewprotected void onLayout(boolean changed,
int left,
int top,
int right,
int bottom)
onLayout 在类中 android.widget.FrameLayoutprotected void dispatchDraw(android.graphics.Canvas canvas)
dispatchDraw 在类中 android.view.ViewGrouppublic boolean isAnimating()
public boolean isBoomed()
public boolean isReBoomed()
public void boom()
public void boomImmediately()
public void reboom()
public void reboomImmediately()
protected android.view.ViewGroup getParentView()
protected void onBackgroundClicked()
public void onButtonClick(int index,
BoomButton boomButton)
onButtonClick 在接口中 InnerOnBoomButtonClickListenerprotected void onAttachedToWindow()
onAttachedToWindow 在类中 android.view.ViewGroupprotected void onDetachedFromWindow()
onDetachedFromWindow 在类中 android.view.ViewGrouppublic void addBuilder(BoomButtonBuilder builder)
builder - builderpublic void setBuilder(int index,
BoomButtonBuilder builder)
index - indexbuilder - builderpublic void setBuilders(java.util.ArrayList<BoomButtonBuilder> builders)
builders - builderspublic BoomButtonBuilder getBuilder(int index)
index - indexpublic void removeBuilder(BoomButtonBuilder builder)
builder - builderpublic void removeBuilder(int index)
index - indexpublic void setEnabled(boolean enabled)
setEnabled 在类中 android.view.Viewpublic void setEnable(int index,
boolean enable)
index - index of the boom-buttonenable - whether the boom-button should be enablepublic void clearBuilders()
public java.util.ArrayList<BoomButtonBuilder> getBuilders()
public BoomButton getBoomButton(int index)
index - indexpublic java.util.ArrayList<BoomButton> getBoomButtons()
public boolean isCacheOptimization()
public void setCacheOptimization(boolean cacheOptimization)
cacheOptimization - cache optimizationpublic boolean isBoomInWholeScreen()
public void setBoomInWholeScreen(boolean boomInWholeScreen)
boomInWholeScreen - boom in the whole screenpublic boolean isInList()
public void setInList(boolean inList)
inList - use BMB in list-viewpublic boolean isInFragment()
public void setInFragment(boolean inFragment)
inFragment - use BMB in fragmentpublic boolean isBackPressListened()
public void setBackPressListened(boolean backPressListened)
backPressListened - whether BMB will reboom when the back-key is pressedpublic boolean isShadowEffect()
public void setShadowEffect(boolean shadowEffect)
shadowEffect - shadow-effectpublic int getShadowOffsetX()
public void setShadowOffsetX(int shadowOffsetX)
shadowOffsetX - x-axis shadow offsetpublic int getShadowOffsetY()
public void setShadowOffsetY(int shadowOffsetY)
shadowOffsetY - y-axis shadow offsetpublic int getShadowRadius()
public void setShadowRadius(int shadowRadius)
shadowRadius - extra shadow radiuspublic int getShadowColor()
public void setShadowColor(int shadowColor)
shadowColor - color of shadowpublic int getButtonRadius()
public void setButtonRadius(int buttonRadius)
buttonRadius - radius of BMBpublic ButtonEnum getButtonEnum()
public void setButtonEnum(ButtonEnum buttonEnum)
toLayout(), clearPieces(),
clearBuilders(), and clearButtons() will be called.buttonEnum - button-enumpublic boolean isBackgroundEffect()
public void setBackgroundEffect(boolean backgroundEffect)
backgroundEffect - background effectpublic boolean isRippleEffect()
public void setRippleEffect(boolean rippleEffect)
rippleEffect - ripple effectpublic int getNormalColor()
public void setNormalColor(int normalColor)
normalColor - the color of BMB at normal-statepublic int getHighlightedColor()
public void setHighlightedColor(int highlightedColor)
highlightedColor - the color of BMB at highlighted-statepublic int getUnableColor()
public void setUnableColor(int unableColor)
unableColor - the color of BMB at unable-statepublic boolean isDraggable()
public void setDraggable(boolean draggable)
draggable - draggable or not.public android.graphics.Rect getEdgeInsetsInParentView()
public void setEdgeInsetsInParentView(android.graphics.Rect edgeInsetsInParentView)
edgeInsetsInParentView - the top, left, bottom and right marginspublic float getDotRadius()
public void setDotRadius(float dotRadius)
dotRadius - radius of dotpublic float getHamWidth()
public void setHamWidth(float hamWidth)
hamWidth - width of hampublic float getHamHeight()
public void setHamHeight(int hamHeight)
hamHeight - height of hampublic float getPieceCornerRadius()
public void setPieceCornerRadius(float pieceCornerRadius)
pieceCornerRadius - corner radius of piecespublic float getPieceHorizontalMargin()
public void setPieceHorizontalMargin(float pieceHorizontalMargin)
pieceHorizontalMargin - horizontal margin between piecespublic float getPieceVerticalMargin()
public void setPieceVerticalMargin(float pieceVerticalMargin)
pieceVerticalMargin - vertical margin between piecespublic float getPieceInclinedMargin()
public void setPieceInclinedMargin(float pieceInclinedMargin)
pieceInclinedMargin - inclined margin between piecespublic float getShareLineLength()
public void setShareLineLength(float shareLineLength)
shareLineLength - length of share-lines, in pixelpublic int getShareLine1Color()
public void setShareLine1Color(int shareLine1Color)
shareLine1Color - color of share-line 1public int getShareLine2Color()
public void setShareLine2Color(int shareLine2Color)
shareLine2Color - color of share-line 2public float getShareLineWidth()
public void setShareLineWidth(float shareLineWidth)
shareLineWidth - width of share-lines, in pixelpublic PiecePlaceEnum getPiecePlaceEnum()
public void setPiecePlaceEnum(PiecePlaceEnum piecePlaceEnum)
piecePlaceEnum - piece-place-enumpublic java.util.ArrayList<android.graphics.PointF> getCustomPiecePlacePositions()
public void setCustomPiecePlacePositions(java.util.ArrayList<android.graphics.PointF> customPiecePlacePositions)
customPiecePlacePositions - customized positionspublic OnBoomListener getOnBoomListener()
public void setOnBoomListener(OnBoomListener onBoomListener)
onBoomListener - OnBoomListenerpublic int getDimColor()
public void setDimColor(int dimColor)
dimColor - dim-color of backgroundpublic void setDelay(long delay)
public void setDuration(long duration)
public long getShowDelay()
public void setShowDelay(long showDelay)
showDelay - delay of every boom-buttonpublic long getShowDuration()
public void setShowDuration(long showDuration)
showDuration - duration of every boom-button when boomingpublic long getHideDelay()
public void setHideDelay(long hideDelay)
hideDelay - delay of every boom-buttonpublic long getHideDuration()
public void setHideDuration(long hideDuration)
hideDuration - duration of every boom-button when boomingpublic boolean isCancelable()
public void setCancelable(boolean cancelable)
cancelable - whether the BMB is cancelablepublic boolean isAutoHide()
public void setAutoHide(boolean autoHide)
autoHide - whether the BMB is auto-hidepublic OrderEnum getOrderEnum()
public void setOrderEnum(OrderEnum orderEnum)
orderEnum - order-enumpublic int getFrames()
public void setFrames(int frames)
frames - frames for every boom-button animationpublic BoomEnum getBoomEnum()
public void setBoomEnum(BoomEnum boomEnum)
boomEnum - boom-enumpublic void setShowEaseEnum(EaseEnum showEaseEnum)
public EaseEnum getShowMoveEaseEnum()
public void setShowMoveEaseEnum(EaseEnum showMoveEaseEnum)
showMoveEaseEnum - ease type of movement when boomingpublic EaseEnum getShowScaleEaseEnum()
public void setShowScaleEaseEnum(EaseEnum showScaleEaseEnum)
showScaleEaseEnum - ease type of scale-animation when boomingpublic EaseEnum getShowRotateEaseEnum()
public void setShowRotateEaseEnum(EaseEnum showRotateEaseEnum)
showRotateEaseEnum - ease type of rotate-animation when boomingpublic void setHideEaseEnum(EaseEnum hideEaseEnum)
public EaseEnum getHideMoveEaseEnum()
public void setHideMoveEaseEnum(EaseEnum hideMoveEaseEnum)
hideMoveEaseEnum - ease type of movement when re-boomingpublic EaseEnum getHideScaleEaseEnum()
public void setHideScaleEaseEnum(EaseEnum hideScaleEaseEnum)
hideScaleEaseEnum - ease type of scale-animation when re-boomingpublic EaseEnum getHideRotateEaseEnum()
public void setHideRotateEaseEnum(EaseEnum hideRotateEaseEnum)
hideRotateEaseEnum - ease type of rotate-animation when re-boomingpublic int getRotateDegree()
public void setUse3DTransformAnimation(boolean use3DTransformAnimation)
use3DTransformAnimation - Whether there are 3d animations for boom-buttons.public boolean isUse3DTransformAnimation()
public void setAutoBoom(boolean autoBoom)
autoBoom - true/falsepublic boolean isAutoBoom()
public void setAutoBoomImmediately(boolean autoBoomImmediately)
autoBoomImmediately - true/falsepublic boolean isAutoBoomImmediately()
public void setRotateDegree(int rotateDegree)
rotateDegree - rotate degreepublic ButtonPlaceEnum getButtonPlaceEnum()
public void setButtonPlaceEnum(ButtonPlaceEnum buttonPlaceEnum)
buttonPlaceEnum - button-place-enumpublic java.util.ArrayList<android.graphics.PointF> getCustomButtonPlacePositions()
public void setCustomButtonPlacePositions(java.util.ArrayList<android.graphics.PointF> customButtonPlacePositions)
public ButtonPlaceAlignmentEnum getButtonPlaceAlignmentEnum()
public void setButtonPlaceAlignmentEnum(ButtonPlaceAlignmentEnum buttonPlaceAlignmentEnum)
buttonPlaceAlignmentEnum - button-place-alignment-enumpublic float getButtonHorizontalMargin()
public void setButtonHorizontalMargin(float buttonHorizontalMargin)
buttonHorizontalMargin - horizontal-marginpublic float getButtonVerticalMargin()
public void setButtonVerticalMargin(float buttonVerticalMargin)
buttonVerticalMargin - vertical-marginpublic float getButtonInclinedMargin()
public void setButtonInclinedMargin(float buttonInclinedMargin)
buttonInclinedMargin - Inclined-marginpublic float getButtonTopMargin()
public void setButtonTopMargin(float buttonTopMargin)
buttonTopMargin - Top-alignment marginpublic float getButtonBottomMargin()
public void setButtonBottomMargin(float buttonBottomMargin)
buttonBottomMargin - Bottom-alignment marginpublic float getButtonLeftMargin()
public void setButtonLeftMargin(float buttonLeftMargin)
buttonLeftMargin - Left-alignment marginpublic float getButtonRightMargin()
public void setButtonRightMargin(float buttonRightMargin)
buttonRightMargin - Right-alignment marginpublic float getBottomHamButtonTopMargin()
public void setBottomHamButtonTopMargin(float bottomHamButtonTopMargin)
bottomHamButtonTopMargin - top-margin of bottom ham-boom-buttonpublic boolean isOrientationAdaptable()
public void setOrientationAdaptable(boolean orientationAdaptable)
orientationAdaptable - orientationAdaptable