Un elemento View que muestra un mapa para la navegación
Los usuarios de esta clase deben reenviar todos los métodos de ciclo de vida de Activity
o Fragment
que contienen esta vista a los correspondientes de esta clase. En particular, debes reenviar los siguientes métodos:
onCreate(Bundle)
onStart()
onResume()
onPause()
onStop()
onDestroy()
onConfigurationChanged(Configuration)
onSaveInstanceState(Bundle)
onTrimMemory(int)
Si se agrega el NavView después de que su Activity
o Fragment
superior ya pasó su ciclo de vida de creación, debes llamar a onCreate(Bundle)
, onStart()
y onResume()
de forma manual para inicializarlo de forma correcta. Del mismo modo, si se desconecta un NavView de su Activity
o Fragment
superior, debes llamar de forma manual a onPause()
, onStop()
y onDestroy()
para evitar filtraciones.
Nota: Te recomendamos que no agregues niños a esta vista.
Todas las llamadas a NavView deben realizarse en el subproceso de IU.
Resumen de clases anidadas
Interfaz | NavigationView.OnNightModeChangedListener | Interfaz para un objeto de escucha que recibirá una notificación cuando la IU entre al "modo nocturno" o lo salga de él. | |
Interfaz | NavigationView.OnRecenterButtonClickedListener | Interfaz para un objeto de escucha que recibirá una notificación cuando se haga clic en el botón de volver a centrar. |
Resumen de la constante heredada
int | ARRIBA | |
int | ALIGN_BASELINE | |
int | ALIGN_BOTTOM | |
int | ALIGN_END | |
int | ALIGN_LEFT | |
int | ALIGN_PARENT_BOTTOM | |
int | ALIGN_PARENT_END | |
int | ALIGN_PARENT_LEFT | |
int | ALIGN_PARENT_RIGHT | |
int | ALIGN_PARENT_START | |
int | ALIGN_PARENT_TOP | |
int | ALIGN_RIGHT | |
int | ALIGN_START | |
int | ALIGN_TOP | |
int | A CONTINUACIÓN | |
int | CENTER_HORIZONTAL | |
int | CENTER_IN_PARENT | |
int | CENTER_VERTICAL | |
int | END_OF | |
int | LEFT_OF | |
int | RIGHT_OF | |
int | START_OF | |
int | TRUE |
int | FOCUS_AFTER_DESCENDANTS | |
int | FOCUS_BEFORE_DESCENDANTS | |
int | FOCUS_BLOCK_DESCENDANTS | |
int | LAYOUT_MODE_CLIP_BOUNDS | |
int | LAYOUT_MODE_OPTICAL_BOUNDS | |
int | PERSISTENT_ALL_CACHES | |
int | PERSISTENT_ANIMATION_CACHE | |
int | PERSISTENT_NO_CACHE | |
int | PERSISTENT_SCROLLING_CACHE |
int | ACCESSIBILITY_LIVE_REGION_ASSERTIVE | |
int | ACCESSIBILITY_LIVE_REGION_NONE | |
int | ACCESSIBILITY_LIVE_REGION_POLITE | |
int | AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS | |
Cadena | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE | |
Cadena | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY | |
Cadena | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH | |
Cadena | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR | |
Cadena | AUTOFILL_HINT_CREDIT_CARD_NUMBER | |
Cadena | AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE | |
Cadena | AUTOFILL_HINT_EMAIL_ADDRESS | |
Cadena | AUTOFILL_HINT_NAME | |
Cadena | AUTOFILL_HINT_PASSWORD | |
Cadena | AUTOFILL_HINT_PHONE | |
Cadena | AUTOFILL_HINT_POSTAL_ADDRESS | |
Cadena | AUTOFILL_HINT_POSTAL_CODE | |
Cadena | AUTOFILL_HINT_USERNAME | |
int | AUTOFILL_TYPE_DATE | |
int | AUTOFILL_TYPE_LIST | |
int | AUTOFILL_TYPE_NONE | |
int | AUTOFILL_TYPE_TEXT | |
int | AUTOFILL_TYPE_TOGGLE | |
int | DRAG_FLAG_GLOBAL | |
int | DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION | |
int | DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION | |
int | DRAG_FLAG_GLOBAL_URI_READ | |
int | DRAG_FLAG_GLOBAL_URI_WRITE | |
int | DRAG_FLAG_OPAQUE | |
int | DRAWING_CACHE_QUALITY_AUTO | |
int | DRAWING_CACHE_QUALITY_HIGH | |
int | DRAWING_CACHE_QUALITY_LOW | |
int | FIND_VIEWS_WITH_CONTENT_DESCRIPTION | |
int | FIND_VIEWS_WITH_TEXT | |
int | FOCUSABLE | |
int | FOCUSABLES_ALL | |
int | FOCUSABLES_TOUCH_MODE | |
int | FOCUSABLE_AUTO | |
int | FOCUS_BACKWARD | |
int | FOCUS_DOWN | |
int | FOCUS_FORWARD | |
int | FOCUS_LEFT | |
int | FOCUS_RIGHT | |
int | FOCUS_UP | |
int | No disponible | |
int | HAPTIC_FEEDBACK_ENABLED | |
int | IMPORTANT_FOR_ACCESSIBILITY_AUTO | |
int | IMPORTANT_FOR_ACCESSIBILITY_NO | |
int | IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS | |
int | IMPORTANT_FOR_ACCESSIBILITY_YES | |
int | IMPORTANT_FOR_AUTOFILL_AUTO | |
int | IMPORTANT_FOR_AUTOFILL_NO | |
int | IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS | |
int | IMPORTANT_FOR_AUTOFILL_YES | |
int | IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS | |
int | Invisible | |
int | KEEP_SCREEN_ON | |
int | LAYER_TYPE_HARDWARE | |
int | LAYER_TYPE_NONE | |
int | LAYER_TYPE_SOFTWARE | |
int | LAYOUT_DIRECTION_INHERIT | |
int | LAYOUT_DIRECTION_LOCALE | |
int | LAYOUT_DIRECTION_LTR | |
int | LAYOUT_DIRECTION_RTL | |
int | MEASURED_HEIGHT_STATE_SHIFT | |
int | MEASURED_SIZE_MASK | |
int | MEASURED_STATE_MASK | |
int | MEASURED_STATE_TOO_SMALL | |
int | NOT_FOCUSABLE | |
int | NO_ID | |
int | OVER_SCROLL_ALWAYS | |
int | OVER_SCROLL_IF_CONTENT_SCROLLS | |
int | OVER_SCROLL_NEVER | |
int | SCREEN_STATE_OFF | |
int | SCREEN_STATE_ON | |
int | SCROLLBARS_INSIDE_INSET | |
int | SCROLLBARS_INSIDE_OVERLAY | |
int | SCROLLBARS_OUTSIDE_INSET | |
int | SCROLLBARS_OUTSIDE_OVERLAY | |
int | SCROLLBAR_POSITION_DEFAULT | |
int | SCROLLBAR_POSITION_LEFT | |
int | SCROLLBAR_POSITION_RIGHT | |
int | SCROLL_AXIS_HORIZONTAL | |
int | SCROLL_AXIS_NONE | |
int | SCROLL_AXIS_VERTICAL | |
int | SCROLL_INDICATOR_BOTTOM | |
int | SCROLL_INDICATOR_END | |
int | SCROLL_INDICATOR_LEFT | |
int | SCROLL_INDICATOR_RIGHT | |
int | SCROLL_INDICATOR_START | |
int | SCROLL_INDICATOR_TOP | |
int | SOUND_EFFECTS_ENABLED | |
int | STATUS_BAR_HIDDEN | |
int | STATUS_BAR_VISIBLE | |
int | SYSTEM_UI_FLAG_FULLSCREEN | |
int | SYSTEM_UI_FLAG_HIDE_NAVIGATION | |
int | SYSTEM_UI_FLAG_IMMERSIVE | |
int | SYSTEM_UI_FLAG_IMMERSIVE_STICKY | |
int | SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | |
int | SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION | |
int | SYSTEM_UI_FLAG_LAYOUT_STABLE | |
int | SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR | |
int | SYSTEM_UI_FLAG_LIGHT_STATUS_BAR | |
int | SYSTEM_UI_FLAG_LOW_PROFILE | |
int | SYSTEM_UI_FLAG_VISIBLE | |
int | SYSTEM_UI_LAYOUT_FLAGS | |
int | TEXT_ALIGNMENT_CENTER | |
int | TEXT_ALIGNMENT_GRAVITY | |
int | TEXT_ALIGNMENT_INHERIT | |
int | TEXT_ALIGNMENT_TEXT_END | |
int | TEXT_ALIGNMENT_TEXT_START | |
int | TEXT_ALIGNMENT_VIEW_END | |
int | TEXT_ALIGNMENT_VIEW_START | |
int | TEXT_DIRECTION_ANY_RTL | |
int | TEXT_DIRECTION_FIRST_STRONG | |
int | TEXT_DIRECTION_FIRST_STRONG_LTR | |
int | TEXT_DIRECTION_FIRST_STRONG_RTL | |
int | TEXT_DIRECTION_INHERIT | |
int | TEXT_DIRECTION_LOCALE | |
int | TEXT_DIRECTION_LTR | |
int | TEXT_DIRECTION_RTL | |
int | Visible |
Resumen de campos heredados
Propiedad final estática pública<View, Float> | ALFA | |
Propiedad final estática pública<View, Float> | Rotación | |
Propiedad final estática pública<View, Float> | ROTATION_X | |
Propiedad final estática pública<View, Float> | ROTATION_Y | |
Propiedad final estática pública<View, Float> | SCALE_X | |
Propiedad final estática pública<View, Float> | SCALE_Y | |
Propiedad final estática pública<View, Float> | TRANSLATION_X | |
Propiedad final estática pública<View, Float> | TRANSLATION_Y | |
Propiedad final estática pública<View, Float> | TRANSLATION_Z | |
Propiedad final estática pública<View, Float> | X | |
Propiedad final estática pública<View, Float> | Y | |
Propiedad final estática pública<View, Float> | Z |
Resumen de constructores públicos
NavigationView(contexto contextual)
|
|
NavigationView(contexto de contexto, atributos attrs)
|
|
NavigationView(contexto de contexto, atributos attrs, int defStyleAttr)
|
Resumen de métodos públicos
Cámara |
getCamera()
Muestra un objeto de cámara que se puede usar para modificar el viewport del mapa.
|
NavigationMap |
getMap()
Muestra un objeto que se puede usar para agregar contenido al mapa.
|
void |
onConfigurationChanged(configuración de configuración)
|
void |
onCreate(Bundle savedInstanceState)
|
void | |
void |
onPause()
|
void |
onResume()
|
void |
onSaveInstanceState(Bundle outState)
|
void |
onStart()
|
void |
onStop()
|
void |
onTrimMemory(nivel interno)
|
void |
setCalloutInfoDisplayModeOverride(NavigationCalloutDisplayMode relevanteInfoDisplayModeOverride)
Anula el modo de visualización predeterminado para las solicitudes de oferta de ETA durante la navegación.
|
void |
setCalloutInfoFormatOverride(RouteCalloutInfoFormat relevanteInfoFormatOverride).
Establece el modo de formato de información de texto destacado para los textos destacados de la ruta.
|
void |
setCompassEnabled(booleano habilitado)
Establece si la brújula es visible.
|
void |
setCustomControl(control de vista, posición CustomControlPosition)
Establece una vista de control personalizada que aparecerá en la posición determinada en la IU de navegación.
|
void |
setEtaCardEnabled(booleano habilitado)
Establece si la tarjeta de hora de llegada se mostrará durante la navegación.
|
void |
setForceNightMode(modo nocturno entero)
Establece el
ForceNightMode actual. |
void |
setHeaderEnabled(booleano habilitado)
Establece si el encabezado de navegación paso a paso es visible durante la navegación.
|
void |
setOnNightModeChangedListener(objeto de escucha NavigationView.OnNightModeChangedListener)
Establece un objeto de escucha que recibirá una notificación inmediata sobre el estado actual del "modo nocturno" y cada vez que la IU entre en el "modo nocturno" o salga de él.
|
void |
setOnRecenterButtonClickedListener(objeto de escucha NavigationView.OnRecenterButtonClickedListener)
Establece un objeto de escucha que recibirá una notificación cuando se haga clic en el botón de volver a centrar.
|
void |
setRecenterButtonEnabled(booleano habilitado)
Establece si se debe mostrar el botón Volver a centrar.
|
void |
setSpeedAlertOptions(SpeedAlertOptions speedAlertOptions)
Configura
SpeedAlertOptions para personalizar los umbrales de activación de SpeedAlertSeverity . |
void |
setSpeedLimitIconEnabled(booleano habilitado)
Especifica si se muestra el ícono de límite de velocidad.
|
void |
setSpeedometerIconEnabled(booleano habilitado)
Especifica si se muestra el ícono de velocímetro.
|
void |
setSpeedometerUiOptions(SpeedometerUiOptions speedometerUiOptions)
Establece la configuración de la IU del velocímetro
SpeedometerUiOptions en función de SpeedAlertSeverity . |
void |
setStylingOptions(stylingOptions StylingOptions)
Establece algunas opciones de estilo para la IU de navegación.
|
void |
setTrafficIncidentCardsEnabled(booleano habilitado)
Establece si se deben mostrar las tarjetas de incidentes de tráfico cuando el usuario hace clic en un ícono de incidentes de tráfico.
|
void |
setTrafficPromptsEnabled(booleano habilitado)
Establece si se deben mostrar las solicitudes de tráfico.
|
Resumen de métodos heredados
ViewGroup.LayoutParams |
generateLayoutParams(AttributeSet arg0)
|
CharSequence |
getAccessibilityClassName()
|
int |
getBaseline()
|
int |
getGravity()
|
int |
getIgnoreGravity()
|
void |
requestLayout().
|
void |
setGravity(int arg0)
|
void |
setHorizontalGravity(int arg0)
|
void |
setIgnoreGravity(int arg0)
|
void |
setVerticalGravity(int arg0)
|
boolean |
shouldDelayChildPressedState()
|
void |
addChildrenForAccessibility(ArrayList<View> arg0)
|
void |
addFocusables(ArrayList<View> arg0, int arg1, int arg2)
|
void |
addKeyboardNavigationClusters(Colección<View> arg0, int arg1)
|
boolean |
addStatesFromChildren()
|
void |
addTouchables(ArrayList<View> arg0)
|
void |
addView(View arg0, ViewGroup.LayoutParams arg1)
|
void |
addView(View arg0, int arg1)
|
void |
addView(View arg0, int arg1, ViewGroup.LayoutParams arg2)
|
void |
addView(View arg0)
|
void |
addView(View arg0, int arg1, int arg2)
|
void |
bringChildToFront(Ver arg0)
|
void |
childDrawableStateChanged(Ver arg0)
|
void |
childHasTransientStateChanged(View arg0, boolean arg1)
|
void |
clearChildFocus(View arg0)
|
void |
clearDisappearingChildren()
|
void |
clearFocus()
|
WindowInsets |
dispatchApplyWindowInsets(WindowInsets arg0)
|
boolean |
dispatchCapturedPointerEvent(MotionEvent arg0)
|
void |
dispatchConfigurationChanged(configuración arg0)
|
void |
dispatchDisplayHint(int arg0)
|
boolean |
dispatchDragEvent(DragEvent arg0)
|
void |
dispatchDrawableHotspotChanged(argumento flotante, argumento flotante1)
|
void |
dispatchFinishTemporaryDetach()
|
boolean |
dispatchKeyEvent(KeyEvent arg0)
|
boolean |
dispatchKeyEventPreIme(KeyEvent arg0)
|
boolean |
dispatchKeyShortcutEvent(KeyEvent arg0)
|
void |
dispatchPointerCaptureChanged(boolean arg0)
|
void |
dispatchProvideAutofillStructure(ViewStructure arg0, int arg1)
|
void |
dispatchProvideStructure(ViewStructure arg0)
|
void |
dispatchSetActivated(boolean arg0)
|
void |
dispatchSetSelected(boolean arg0)
|
void |
dispatchStartTemporaryDetach()
|
void |
dispatchSystemUiVisibilityChanged(int arg0)
|
boolean |
dispatchTouchEvent(MotionEvent arg0)
|
boolean |
dispatchTrackballEvent(MotionEvent arg0)
|
boolean |
dispatchUnhandledMove(View arg0, int arg1)
|
void |
dispatchWindowFocusChanged(boolean arg0)
|
void |
dispatchWindowSystemUiVisibilityChanged(int arg0)
|
void |
dispatchWindowVisibilityChanged(int arg0)
|
void |
endViewTransition(View arg0)
|
Ver |
findFocus()
|
void |
findViewsWithText(ArrayList<View> arg0, CharSequence arg1, int arg2)
|
Ver |
focusSearch(View arg0, int arg1)
|
void |
focusableViewAvailable(View arg0)
|
boolean |
gatherTransparentRegion(región arg0)
|
ViewGroup.LayoutParams |
generateLayoutParams(AttributeSet arg0)
|
CharSequence |
getAccessibilityClassName()
|
Ver |
getChildAt(int arg0)
|
int |
getChildCount()
|
final int |
getChildDrawingOrder(int arg0)
|
estático int |
getChildMeasureSpec(int arg0, int arg1, int arg2)
|
boolean |
getChildVisibleRect(View arg0, Rect arg1, Point arg2)
|
boolean |
getClipChildren()
|
boolean |
getClipToPadding()
|
int |
getDescendantFocusability()
|
Ver |
getFocusedChild()
|
LayoutAnimationController |
getLayoutAnimation().
|
Animation.AnimationListener |
getLayoutAnimationListener().
|
int |
getLayoutMode().
|
LayoutTransition |
getLayoutTransition()
|
int |
getNestedScrollAxes()
|
ViewOverlay |
getOverlay()
|
int |
getPersistentDrawingCache()
|
boolean |
getTouchscreenBlocksFocus().
|
boolean |
hasFocus()
|
boolean |
hasTransientState()
|
int |
indexOfChild(Ver arg0)
|
final void |
invalidateChild(View arg0, Rect arg1)
|
ViewParent |
invalidateChildInParent(int[] arg0, Rect arg1)
|
boolean |
isAlwaysDrawnWithCacheEnabled()
|
boolean |
isAnimationCacheEnabled()
|
boolean |
isLayoutSuppressed()
|
boolean |
isMotionEventSplittingEnabled()
|
boolean |
isTransitionGroup()
|
void |
jumpDrawablesToCurrentState()
|
final void |
diseño(int arg0, int arg1, int arg2, int arg3)
|
void |
notifySubtreeAccessibilityStateChanged(View arg0, View arg1, int arg2)
|
final void |
offsetDescendantRectToMyCoords(View arg0, Rect arg1)
|
final void |
offsetRectIntoDescendantCoords(View arg0, Rect arg1)
|
void |
onDescendantInvalidated(View arg0, View arg1)
|
boolean |
onInterceptHoverEvent(MotionEvent arg0)
|
boolean |
onInterceptTouchEvent(MotionEvent)
|
boolean |
onNestedFling(View arg0, float arg1, float arg2, boolean arg3)
|
boolean |
onNestedPreFling(View arg0, float arg1, float arg2)
|
boolean |
onNestedPrePerformAccessibilityAction(View arg0, int arg1, Bundle arg2)
|
void |
onNestedPreScroll(View arg0, int arg1, int arg2, int[] arg3)
|
void |
onNestedScroll(View arg0, int arg1, int arg2, int arg3, int arg4)
|
void |
onNestedScrollAccepted(View arg0, View arg1, int arg2)
|
boolean |
onRequestSendAccessibilityEvent(View arg0, AccessibilityEvent arg1)
|
PointerIcon |
onResolvePointerIcon(MotionEvent arg0, int arg1)
|
boolean |
onStartNestedScroll(View arg0, View arg1, int arg2)
|
void |
onStopNestedScroll(Ver argumento 0)
|
void |
onViewAdded(View arg0)
|
void |
onViewRemoved(View arg0)
|
void |
recomputeViewAttributes(Ver arg0)
|
void |
removeAllViews()
|
void |
removeAllViewsInLayout()
|
void |
removeView(View arg0)
|
void |
removeViewAt(int arg0)
|
void |
removeViewInLayout(View arg0)
|
void |
removeViews(int arg0, int arg1)
|
void |
removeViewsInLayout(int arg0, int arg1)
|
void |
requestChildFocus(View arg0, View arg1)
|
boolean |
requestChildRectangleOnScreen(View arg0, Rect arg1, boolean arg2)
|
void |
requestDisallowInterceptTouchEvent(boolean arg0)
|
boolean |
requestFocus(int arg0, Rect arg1)
|
boolean |
requestSendAccessibilityEvent(View arg0, AccessibilityEvent arg1)
|
void |
requestTransparentRegion(Ver arg0).
|
boolean |
restoreDefaultFocus()
|
void |
scheduleLayoutAnimation()
|
void |
setAddStatesFromChildren(boolean arg0)
|
void |
setAlwaysDrawnWithCacheEnabled(boolean arg0)
|
void |
setAnimationCacheEnabled(boolean arg0)
|
void |
setClipChildren(boolean arg0)
|
void |
setClipToPadding(boolean arg0)
|
void |
setDescendantFocusability(int arg0)
|
void |
setLayoutAnimation(LayoutAnimationController arg0)
|
void |
setLayoutAnimationListener(Animation.AnimationListener arg0)
|
void |
setLayoutMode(int arg0)
|
void |
setLayoutTransition(LayoutTransition arg0).
|
void |
setMotionEventSplittingEnabled(boolean arg0)
|
void |
setOnHierarchyChangeListener(ViewGroup.OnHierarchyChangeListener arg0)
|
void |
setPersistentDrawingCache(int arg0)
|
void |
setTouchscreenBlocksFocus(boolean arg0)
|
void |
setTransitionGroup(boolean arg0)
|
boolean |
shouldDelayChildPressedState()
|
boolean |
showContextMenuForChild(View arg0, float arg1, float arg2)
|
boolean |
showContextMenuForChild(Ver argumento0)
|
ActionMode |
startActionModeForChild(View arg0, ActionMode.Callback arg1, int arg2)
|
ActionMode |
startActionModeForChild(View arg0, ActionMode.Callback arg1)
|
void |
startLayoutAnimation().
|
void |
startViewTransition(View arg0)
|
void |
suppressLayout(boolean arg0)
|
void |
updateViewLayout(View arg0, ViewGroup.LayoutParams arg1)
|
void |
addChildrenForAccessibility(ArrayList<View> arg0)
|
void |
addExtraDataToAccessibilityNodeInfo(AccessibilityNodeInfo arg0, String arg1, Bundle arg2)
|
void |
addFocusables(ArrayList<View> arg0, int arg1)
|
void |
addFocusables(ArrayList<View> arg0, int arg1, int arg2)
|
void |
addKeyboardNavigationClusters(Colección<View> arg0, int arg1)
|
void |
addOnAttachStateChangeListener(View.OnAttachStateChangeListener arg0)
|
void |
addOnLayoutChangeListener(View.OnLayoutChangeListener arg0)
|
void |
addOnUnhandledKeyEventListener(View.OnUnhandledKeyEventListener arg0)
|
void |
addTouchables(ArrayList<View> arg0)
|
ViewPropertyAnimator |
animar()
|
void |
announceForAccessibility(CharSequence arg0)
|
void |
autocompletar(arg0 de AutofillValue)
|
void |
autocompletar(SparseArray<AutofillValue> arg0)
|
void |
bringToFront()
|
void |
buildDrawingCache(boolean arg0)
|
void |
buildDrawingCache()
|
void |
buildLayer()
|
boolean |
callOnClick()
|
boolean |
canResolveLayoutDirection()
|
boolean |
canResolveTextAlignment()
|
boolean |
canResolveTextDirection()
|
boolean |
canScrollHorizontally(int arg0)
|
boolean |
canScrollVertically(int arg0)
|
final void |
cancelDragAndDrop()
|
void |
cancelLongPress()
|
final void |
cancelPendingInputEvents()
|
boolean |
checkInputConnectionProxy(View arg0)
|
void |
clearAnimation()
|
void |
clearFocus()
|
estático int |
combineMeasuredStates(int arg0, int arg1)
|
void |
computeScroll()
|
WindowInsets |
computeSystemWindowInsets(WindowInsets arg0, Rect arg1)
|
AccessibilityNodeInfo |
createAccessibilityNodeInfo()
|
void |
createContextMenu(ContextMenu arg0)
|
void |
destroyDrawingCache()
|
WindowInsets |
dispatchApplyWindowInsets(WindowInsets arg0)
|
boolean |
dispatchCapturedPointerEvent(MotionEvent arg0)
|
void |
dispatchConfigurationChanged(configuración arg0)
|
void |
dispatchDisplayHint(int arg0)
|
boolean |
dispatchDragEvent(DragEvent arg0)
|
void |
dispatchDrawableHotspotChanged(argumento flotante, argumento flotante1)
|
void |
dispatchFinishTemporaryDetach()
|
boolean |
dispatchGenericMotionEvent(MotionEvent arg0)
|
boolean |
dispatchKeyEvent(KeyEvent arg0)
|
boolean |
dispatchKeyEventPreIme(KeyEvent arg0)
|
boolean |
dispatchKeyShortcutEvent(KeyEvent arg0)
|
boolean |
dispatchNestedFling(float arg0, float arg1, boolean arg2)
|
boolean |
dispatchNestedPreFling(float arg0, float arg1)
|
boolean |
dispatchNestedPrePerformAccessibilityAction(int arg0, Bundle arg1)
|
boolean |
dispatchNestedPreScroll(int arg0, int arg1, int[] arg2, int[] arg3)
|
boolean |
dispatchNestedScroll(int arg0, int arg1, int arg2, int arg3, int[] arg4)
|
void |
dispatchPointerCaptureChanged(boolean arg0)
|
boolean |
dispatchPopulateAccessibilityEvent(AccessibilityEvent arg0)
|
void |
dispatchProvideAutofillStructure(ViewStructure arg0, int arg1)
|
void |
dispatchProvideStructure(ViewStructure arg0)
|
void |
dispatchStartTemporaryDetach()
|
void |
dispatchSystemUiVisibilityChanged(int arg0)
|
boolean |
dispatchTouchEvent(MotionEvent arg0)
|
boolean |
dispatchTrackballEvent(MotionEvent arg0)
|
boolean |
dispatchUnhandledMove(View arg0, int arg1)
|
void |
dispatchWindowFocusChanged(boolean arg0)
|
void |
dispatchWindowSystemUiVisibilityChanged(int arg0)
|
void |
dispatchWindowVisibilityChanged(int arg0)
|
void |
draw(lienzo arg0)
|
void |
drawableHotspotChanged(argumento flotante, argumento flotante1)
|
Ver |
findFocus()
|
final <T extiende View> T |
findViewById(int arg0)
|
final <T extiende View> T |
findViewWithTag(objeto arg0)
|
void |
findViewsWithText(ArrayList<View> arg0, CharSequence arg1, int arg2)
|
Ver |
focusSearch(int arg0)
|
void |
forceHasOverlappingRendering(boolean arg0)
|
void |
forceLayout()
|
estático int |
generateViewId()
|
CharSequence |
getAccessibilityClassName()
|
View.AccessibilityDelegate |
getAccessibilityDelegate()
|
int |
getAccessibilityLiveRegion()
|
AccessibilityNodeProvider |
getAccessibilityNodeProvider()
|
CharSequence |
getAccessibilityPaneTitle()
|
int |
getAccessibilityTraversalAfter().
|
int |
getAccessibilityTraversalBefore()
|
float |
getAlpha()
|
Animación |
getAnimation()
|
Matriz |
getAnimationMatrix().
|
IBinder |
getApplicationWindowToken()
|
int[] |
getAttributeResolutionStack(int arg0)
|
Map<Número entero> |
getAttributeSourceResourceMap()
|
String[] |
getAutofillHints()
|
final AutofillId |
getAutofillId()
|
int |
getAutofillType()
|
AutofillValue |
getAutofillValue()
|
Elemento de diseño |
getBackground()
|
BlendMode |
getBackgroundTintBlendMode()
|
ColorStateList |
getBackgroundTintList()
|
PorterDuff.Mode |
getBackgroundTintMode()
|
int |
getBaseline()
|
final int |
getBottom()
|
float |
getCameraDistance()
|
boolean |
getClipBounds(Rect)
|
Rect |
getClipBounds()
|
booleano final |
getClipToOutline()
|
final ContentCaptureSession |
getContentCaptureSession()
|
CharSequence |
getContentDescription().
|
final Context |
getContext()
|
booleano final |
getDefaultFocusHighlightEnabled()
|
estático int |
getDefaultSize(int arg0, int arg1)
|
Display |
getDisplay()
|
final int[] |
getDrawableState().
|
Mapa de bits |
getDrawingCache()
|
Mapa de bits |
getDrawingCache(boolean arg0)
|
int |
getDrawingCacheBackgroundColor()
|
int |
getDrawingCacheQuality()
|
void |
getDrawingRect(Rect arg0)
|
long |
getDrawingTime()
|
float |
getElevation().
|
int |
getExplicitStyle()
|
boolean |
getFilterTouchesWhenObscured()
|
boolean |
getFitsSystemWindows()
|
int |
getFocusable()
|
ArrayList<View> |
getFocusables(int arg0)
|
void |
getFocusedRect(Rect arg0)
|
Elemento de diseño |
getForeground()
|
int |
getForegroundGravity()
|
BlendMode |
getForegroundTintBlendMode()
|
ColorStateList |
getForegroundTintList()
|
PorterDuff.Mode |
getForegroundTintMode()
|
booleano final |
getGlobalVisibleRect(Rect arg0)
|
boolean |
getGlobalVisibleRect(Rect arg0, Point arg1)
|
Handler |
getHandler()
|
booleano final |
getHasOverlappingRendering()
|
final int |
getHeight()
|
void |
getHitRect(Rect arg0)
|
int |
getHorizontalFadingEdgeLength()
|
Elemento de diseño |
getHorizontalScrollbarThumbDrawable()
|
Elemento de diseño |
getHorizontalScrollbarTrackDrawable()
|
int |
getId()
|
int |
getImportantForAccessibility()
|
int |
getImportantForAutofill()
|
boolean |
getKeepScreenOn()
|
KeyEvent.DispatcherState |
getKeyDispatcherState()
|
int |
getLabelFor()
|
int |
getLayerType()
|
int |
getLayoutDirection()
|
ViewGroup.LayoutParams |
getLayoutParams().
|
final int |
getLeft()
|
booleano final |
getLocalVisibleRect(Rect arg0)
|
void |
getLocationInSurface(int[])
|
void |
getLocationInWindow(int[] arg0)
|
void |
getLocationOnScreen(int[] arg0)
|
Matriz |
getMatrix()
|
final int |
getMeasuredHeight()
|
final int |
getMeasuredHeightAndState()
|
final int |
getMeasuredState()
|
final int |
getMeasuredWidth()
|
final int |
getMeasuredWidthAndState()
|
int |
getMinimumHeight()
|
int |
getMinimumWidth()
|
int |
getNextClusterForwardId()
|
int |
getNextFocusDownId()
|
int |
getNextFocusForwardId()
|
int |
getNextFocusLeftId()
|
int |
getNextFocusRightId()
|
int |
getNextFocusUpId()
|
View.OnFocusChangeListener |
getOnFocusChangeListener()
|
int |
getOutlineAmbientShadowColor().
|
ViewOutlineProvider |
getOutlineProvider().
|
int |
getOutlineSpotShadowColor()
|
int |
getOverScrollMode()
|
ViewOverlay |
getOverlay()
|
int |
getPaddingBottom()
|
int |
getPaddingEnd()
|
int |
getPaddingLeft()
|
int |
getPaddingRight()
|
int |
getPaddingStart()
|
int |
getPaddingTop()
|
final ViewParent |
getParent().
|
ViewParent |
getParentForAccessibility()
|
float |
getPivotX()
|
float |
getPivotY()
|
PointerIcon |
getPointerIcon().
|
Recursos |
getResources().
|
booleano final |
getRevealOnFocusHint()
|
final int |
getRight()
|
Ver |
getRootView()
|
WindowInsets |
getRootWindowInsets()
|
float |
getRotation()
|
float |
getRotationX()
|
float |
getRotationY()
|
float |
getScaleX()
|
float |
getScaleY()
|
int |
getScrollBarDefaultDelayBeforeFade()
|
int |
getScrollBarFadeDuration()
|
int |
getScrollBarSize()
|
int |
getScrollBarStyle()
|
int |
getScrollIndicators()
|
final int |
getScrollX()
|
final int |
getScrollY()
|
int |
getSolidColor().
|
int |
getSourceLayoutResId().
|
StateListAnimator |
getStateListAnimator().
|
List<Rect> |
getSystemGestureExclusionRects()
|
int |
getSystemUiVisibility()
|
Objeto |
getTag()
|
Objeto |
getTag(int arg0)
|
int |
getTextAlignment()
|
int |
getTextDirection()
|
CharSequence |
getTooltipText()
|
final int |
getTop()
|
TouchDelegate |
getTouchDelegate()
|
ArrayList<View> |
getTouchables()
|
float |
getTransitionAlpha()
|
Cadena |
getTransitionName()
|
float |
getTranslationX()
|
float |
getTranslationY().
|
float |
getTranslationZ()
|
long |
getUniqueDrawingId()
|
int |
getVerticalFadingEdgeLength()
|
int |
getVerticalScrollbarPosition()
|
Elemento de diseño |
getVerticalScrollbarThumbDrawable()
|
Elemento de diseño |
getVerticalScrollbarTrackDrawable()
|
int |
getVerticalScrollbarWidth()
|
ViewTreeObserver |
getViewTreeObserver().
|
int |
getVisibility()
|
final int |
getWidth()
|
WindowId |
getWindowId()
|
int |
getWindowSystemUiVisibility()
|
IBinder |
getWindowToken()
|
int |
getWindowVisibility()
|
void |
getWindowVisibleDisplayFrame(Rect)
|
float |
getX()
|
float |
getY()
|
float |
getZ()
|
boolean |
hasExplicitFocusable()
|
boolean |
hasFocus()
|
boolean |
hasFocusable()
|
boolean |
hasNestedScrollingParent().
|
boolean |
hasOnClickListeners()
|
boolean |
hasOverlappingRendering()
|
boolean |
hasPointerCapture()
|
boolean |
hasTransientState()
|
boolean |
hasWindowFocus().
|
estático Ver |
increment(Contexto arg0, int arg1, ViewGroup arg2)
|
void |
invalidate()
|
void |
invalidate(Rect arg0)
|
void |
invalidate(int arg0, int arg1, int arg2, int arg3)
|
void |
invalidateDrawable(elemento de diseño arg0)
|
void |
invalidateOutline()
|
boolean |
isAccessibilityFocused()
|
boolean |
isAccessibilityHeading()
|
boolean |
isActivated()
|
boolean |
isAttachedToWindow()
|
boolean |
isClickable()
|
boolean |
isContextClickable()
|
boolean |
isDirty()
|
boolean |
isDrawingCacheEnabled()
|
boolean |
isDuplicateParentStateEnabled()
|
boolean |
isEnabled()
|
booleano final |
isFocusable()
|
booleano final |
isFocusableInTouchMode()
|
boolean |
isFocused()
|
booleano final |
isFocusedByDefault()
|
boolean |
isForceDarkAllowed()
|
boolean |
isHapticFeedbackEnabled()
|
boolean |
isHardwareAccelerated()
|
boolean |
isHorizontalFadingEdgeEnabled()
|
boolean |
isHorizontalScrollBarEnabled()
|
boolean |
isHovered()
|
boolean |
isImportantForAccessibility()
|
booleano final |
isImportantForAutofill()
|
boolean |
isInEditMode()
|
boolean |
isInLayout()
|
boolean |
isInTouchMode()
|
booleano final |
isKeyboardNavigationCluster()
|
boolean |
isLaidOut()
|
boolean |
isLayoutDirectionResolved()
|
boolean |
isLayoutRequested()
|
boolean |
isLongClickable()
|
boolean |
isNestedScrollingEnabled()
|
boolean |
isOpaque()
|
boolean |
isPaddingRelative()
|
boolean |
isPivotSet()
|
boolean |
isPressed()
|
boolean |
isSaveEnabled()
|
boolean |
isSaveFromParentEnabled()
|
boolean |
isScreenReaderFocusable()
|
boolean |
isScrollContainer()
|
boolean |
isScrollbarFadingEnabled()
|
boolean |
isSelected()
|
boolean |
isShown()
|
boolean |
isSoundEffectsEnabled()
|
booleano final |
isTemporarilyDetached()
|
boolean |
isTextAlignmentResolved()
|
boolean |
isTextDirectionResolved()
|
boolean |
isVerticalFadingEdgeEnabled()
|
boolean |
isVerticalScrollBarEnabled()
|
boolean |
isVisibleToUserForAutofill(int arg0)
|
void |
jumpDrawablesToCurrentState()
|
Ver |
keyboardNavigationClusterSearch(Ver arg0, int arg1)
|
void |
diseño(int arg0, int arg1, int arg2, int arg3)
|
final void |
medida(int arg0, int arg1)
|
void |
offsetLeftAndRight(int arg0)
|
void |
offsetTopAndBottom(int arg0)
|
WindowInsets |
onApplyWindowInsets(WindowInsets arg0)
|
void |
onCancelPendingInputEvents()
|
boolean |
onCapturedPointerEvent(MotionEvent arg0)
|
boolean |
onCheckIsTextEditor()
|
InputConnection |
onCreateInputConnection(EditorInfo arg0)
|
boolean |
onDragEvent(argumento de DragEvent)
|
void |
onDrawForeground(Canvas arg0)
|
boolean |
onFilterTouchEventForSecurity(MotionEvent arg0)
|
void |
onFinishTemporaryDetach()
|
boolean |
onGenericMotionEvent(MotionEvent)
|
void |
onHoverChanged(boolean arg0)
|
boolean |
onHoverEvent(MotionEvent arg0)
|
void |
onInitializeAccessibilityEvent(AccessibilityEvent arg0)
|
void |
onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo arg0)
|
boolean |
onKeyDown(int arg0, KeyEvent arg1)
|
boolean |
onKeyLongPress(int arg0, KeyEvent arg1)
|
boolean |
onKeyMultiple(int arg0, int arg1, KeyEvent arg2)
|
boolean |
onKeyPreIme(int arg0, KeyEvent arg1)
|
boolean |
onKeyShortcut(int arg0, KeyEvent arg1)
|
boolean |
onKeyUp(int arg0, KeyEvent arg1)
|
void |
onPointerCaptureChange(boolean arg0)
|
void |
onPopulateAccessibilityEvent(AccessibilityEvent arg0)
|
void |
onProvideAutofillStructure(ViewStructure arg0, int arg1)
|
void |
onProvideAutofillVirtualStructure(ViewStructure arg0, int arg1)
|
void |
onProvideStructure(ViewStructure arg0)
|
void |
onProvideVirtualStructure(ViewStructure arg0).
|
PointerIcon |
onResolvePointerIcon(MotionEvent arg0, int arg1)
|
void |
onRtlPropertiesChanged(int arg0)
|
void |
onScreenStateChanged(int arg0)
|
void |
onStartTemporaryDetach()
|
boolean |
onTouchEvent(MotionEvent arg0)
|
boolean |
onTrackballEvent(MotionEvent arg0)
|
void |
onVisibilityAggregated(boolean arg0)
|
void |
onWindowFocusChanged(boolean arg0)
|
void |
onWindowSystemUiVisibilityChanged(int arg0)
|
boolean |
performAccessibilityAction(int arg0, paquete arg1)
|
boolean |
performClick()
|
boolean |
performContextClick(argumento flotante, argumento flotante1)
|
boolean |
performContextClick()
|
boolean |
performHapticFeedback(int arg0)
|
boolean |
performHapticFeedback(int arg0, int arg1)
|
boolean |
performLongClick(argumento flotante, argumento flotante1)
|
boolean |
performLongClick()
|
void |
playSoundEffect(int arg0)
|
boolean |
post(arg0 ejecutable)
|
boolean |
postDelayed(argumento ejecutable, arg1 largo)
|
void |
postInvalidate()
|
void |
postInvalidate(int arg0, int arg1, int arg2, int arg3)
|
void |
postInvalidateDelayed(argumento largo, int arg1, int arg2, int arg3, int arg4)
|
void |
postInvalidateDelayed(argumento largo)
|
void |
postInvalidateOnAnimation(int arg0, int arg1, int arg2, int arg3)
|
void |
postInvalidateOnAnimation()
|
void |
postOnAnimation(arg0 ejecutable)
|
void |
postOnAnimationDelayed(argumento ejecutable, arg1 largo)
|
void |
refreshDrawableState()
|
void |
releasePointerCapture()
|
boolean |
removeCallbacks(arg0 ejecutable)
|
void |
removeOnAttachStateChangeListener(View.OnAttachStateChangeListener arg0)
|
void |
removeOnLayoutChangeListener(View.OnLayoutChangeListener arg0)
|
void |
removeOnUnhandledKeyEventListener(View.OnUnhandledKeyEventListener arg0)
|
void |
requestApplyInsets()
|
void |
requestFitSystemWindows()
|
booleano final |
requestFocus(int arg0)
|
booleano final |
requestFocus().
|
boolean |
requestFocus(int arg0, Rect arg1)
|
booleano final |
requestFocusFromTouch().
|
void |
requestLayout().
|
void |
requestPointerCapture().
|
boolean |
requestRectangleOnScreen(Rect arg0)
|
boolean |
requestRectangleOnScreen(Rect arg0, boolean arg1)
|
final void |
requestUnbufferedDispatch(MotionEvent arg0)
|
final <T extiende View> T |
requireViewById(int arg0)
|
void |
resetPivot()
|
estático int |
resolveSize(int arg0, int arg1)
|
estático int |
resolveSizeAndState(int arg0, int arg1, int arg2)
|
boolean |
restoreDefaultFocus()
|
void |
restoreHierarchyState(SparseArray<Parcelable> arg0)
|
final void |
saveAttributeDataForStyleable(Context arg0, int[] arg1, AttributeSet arg2, TypedArray arg3, int arg4, int arg5)
|
void |
saveHierarchyState(SparseArray<Parcelable> arg0)
|
void |
scheduleDrawable(elemento de diseño arg0, argumento ejecutable1, arg2 largo)
|
void |
scrollBy(int arg0, int arg1)
|
void |
scrollTo(int arg0, int arg1)
|
void |
sendAccessibilityEvent(int arg0).
|
void |
sendAccessibilityEventUnchecked(AccessibilityEvent arg0)
|
void |
setAccessibilityDelegate(View.AccessibilityDelegate arg0)
|
void |
setAccessibilityHeading(boolean arg0)
|
void |
setAccessibilityLiveRegion(int arg0)
|
void |
setAccessibilityPaneTitle(CharSequence arg0)
|
void |
setAccessibilityTraversalAfter(int arg0)
|
void |
setAccessibilityTraversalBefore(int arg0)
|
void |
setActivated(boolean arg0)
|
void |
setAlpha(argumento flotante)
|
void |
setAnimation(argumento de animación)
|
void |
setAnimationMatrix(arg0 de matriz)
|
void |
setAutofillHints(String... arg0)
|
void |
setAutofillId(AutofillId arg0)
|
void |
setBackground(elemento de diseño arg0)
|
void |
setBackgroundColor(int arg0)
|
void |
setBackgroundDrawable(elemento de diseño arg0)
|
void |
setBackgroundResource(int arg0)
|
void |
setBackgroundTintBlendMode(BlendMode arg0)
|
void |
setBackgroundTintList(ColorStateList arg0)
|
void |
setBackgroundTintMode(PorterDuff.Mode arg0)
|
final void |
setBottom(int arg0)
|
void |
setCameraDistance(argumento flotante)
|
void |
setClickable(boolean arg0)
|
void |
setClipBounds(Rect)
|
void |
setClipToOutline(boolean arg0)
|
void |
setContentCaptureSession(ContentCaptureSession arg0)
|
void |
setContentDescription(CharSequence arg0)
|
void |
setContextClickable(boolean arg0)
|
void |
setDefaultFocusHighlightEnabled(boolean arg0)
|
void |
setDrawingCacheBackgroundColor(int arg0)
|
void |
setDrawingCacheEnabled(boolean arg0)
|
void |
setDrawingCacheQuality(int arg0)
|
void |
setDuplicateParentStateEnabled(boolean arg0)
|
void |
setElevation(argumento flotante)
|
void |
setEnabled(boolean arg0)
|
void |
setFadingEdgeLength(int arg0)
|
void |
setFilterTouchesWhenObscured(boolean arg0)
|
void |
setFitsSystemWindows(boolean arg0)
|
void |
setFocusable(boolean arg0)
|
void |
setFocusable(int arg0)
|
void |
setFocusableInTouchMode(boolean arg0)
|
void |
setFocusedByDefault(boolean arg0)
|
void |
setForceDarkAllowed(boolean arg0)
|
void |
setForeground(elemento de diseño arg0)
|
void |
setForegroundGravity(int arg0)
|
void |
setForegroundTintBlendMode(BlendMode arg0)
|
void |
setForegroundTintList(ColorStateList arg0)
|
void |
setForegroundTintMode(PorterDuff.Mode arg0)
|
void |
setHapticFeedbackEnabled(boolean arg0)
|
void |
setHasTransientState(boolean arg0)
|
void |
setHorizontalFadingEdgeEnabled(boolean arg0)
|
void |
setHorizontalScrollBarEnabled(boolean arg0)
|
void |
setHorizontalScrollbarThumbDrawable(elemento de diseño arg0)
|
void |
setHorizontalScrollbarTrackDrawable(elemento de diseño arg0)
|
void |
setHovered(boolean arg0)
|
void |
setId(int arg0)
|
void |
setImportantForAccessibility(int arg0)
|
void |
setImportantForAutofill(int arg0)
|
void |
setKeepScreenOn(boolean arg0)
|
void |
setKeyboardNavigationCluster(boolean arg0)
|
void |
setLabelFor(int arg0)
|
void |
setLayerPaint(argumento de pintura)
|
void |
setLayerType(int arg0, Paint arg1)
|
void |
setLayoutDirection(int arg0)
|
void |
setLayoutParams(ViewGroup.LayoutParams)
|
final void |
setLeft(int arg0)
|
final void |
setLeftTopRightBottom(int arg0, int arg1, int arg2, int arg3)
|
void |
setLongClickable(boolean arg0)
|
void |
setMinimumHeight(int arg0)
|
void |
setMinimumWidth(int arg0)
|
void |
setNestedScrollingEnabled(boolean arg0)
|
void |
setNextClusterForwardId(int arg0)
|
void |
setNextFocusDownId(int arg0)
|
void |
setNextFocusForwardId(int arg0)
|
void |
setNextFocusLeftId(int arg0)
|
void |
setNextFocusRightId(int arg0)
|
void |
setNextFocusUpId(int arg0)
|
void |
setOnApplyWindowInsetsListener(View.OnApplyWindowInsetsListener arg0)
|
void |
setOnCapturedPointerListener(View.OnCapturedPointerListener arg0)
|
void |
setOnClickListener(View.OnClickListener arg0)
|
void |
setOnContextClickListener(View.OnContextClickListener arg0)
|
void |
setOnCreateContextMenuListener(View.OnCreateContextMenuListener arg0)
|
void |
setOnDragListener(View.OnDragListener arg0)
|
void |
setOnFocusChangeListener(View.OnFocusChangeListener arg0)
|
void |
setOnGenericMotionListener(View.OnGenericMotionListener arg0)
|
void |
setOnHoverListener(View.OnHoverListener arg0)
|
void |
setOnKeyListener(View.OnKeyListener arg0)
|
void |
setOnLongClickListener(View.OnLongClickListener arg0)
|
void |
setOnScrollChangeListener(View.OnScrollChangeListener arg0)
|
void |
setOnSystemUiVisibilityChangeListener(View.OnSystemUiVisibilityChangeListener arg0)
|
void |
setOnTouchListener(View.OnTouchListener arg0).
|
void |
setOutlineAmbientShadowColor(int arg0)
|
void |
setOutlineProvider(ViewOutlineProvider arg0)
|
void |
setOutlineSpotShadowColor(int arg0)
|
void |
setOverScrollMode(int arg0)
|
void |
setPadding(int arg0, int arg1, int arg2, int arg3)
|
void |
setPaddingRelative(int arg0, int arg1, int arg2, int arg3)
|
void |
setPivotX(argumento flotante)
|
void |
setPivotY(argumento flotante)
|
void |
setPointerIcon(PointerIcon arg0)
|
void |
setPressed(boolean arg0)
|
final void |
setRevealOnFocusHint(boolean arg0)
|
final void |
setRight(int arg0)
|
void |
setRotation(float arg0)
|
void |
setRotationX(float arg0)
|
void |
setRotationY(float arg0)
|
void |
setSaveEnabled(boolean arg0)
|
void |
setSaveFromParentEnabled(boolean arg0)
|
void |
setScaleX(argumento flotante)
|
void |
setScaleY(argumento flotante)
|
void |
setScreenReaderFocusable(boolean arg0)
|
void |
setScrollBarDefaultDelayBeforeFade(int arg0)
|
void |
setScrollBarFadeDuration(int arg0)
|
void |
setScrollBarSize(int arg0)
|
void |
setScrollBarStyle(int arg0)
|
void |
setScrollContainer(boolean arg0)
|
void |
setScrollIndicators(int arg0, int arg1)
|
void |
setScrollIndicators(int arg0)
|
void |
setScrollX(int arg0)
|
void |
setScrollY(int arg0)
|
void |
setScrollbarFadingEnabled(boolean arg0)
|
void |
setSelected(boolean arg0)
|
void |
setSoundEffectsEnabled(boolean arg0)
|
void |
setStateListAnimator(StateListAnimator arg0)
|
void |
setSystemGestureExclusionRects(List<Rect> arg0)
|
void |
setSystemUiVisibility(int arg0)
|
void |
setTag(int arg0, Object arg1)
|
void |
setTag(objeto arg0)
|
void |
setTextAlignment(int arg0)
|
void |
setTextDirection(int arg0)
|
void |
setTooltipText(CharSequence arg0)
|
final void |
setTop(int arg0)
|
void |
setTouchDelegate(TouchDelegate arg0)
|
void |
setTransitionAlpha(argumento flotante)
|
final void |
setTransitionName(String arg0)
|
void |
setTransitionVisibility(int arg0)
|
void |
setTranslationX(argumento flotante)
|
void |
setTranslationY(argumento flotante)
|
void |
setTranslationZ(argumento flotante)
|
void |
setVerticalFadingEdgeEnabled(boolean arg0)
|
void |
setVerticalScrollBarEnabled(boolean arg0)
|
void |
setVerticalScrollbarPosition(int arg0)
|
void |
setVerticalScrollbarThumbDrawable(elemento de diseño arg0)
|
void |
setVerticalScrollbarTrackDrawable(elemento de diseño arg0)
|
void |
setVisibility(int arg0)
|
void |
setWillNotCacheDrawing(boolean arg0)
|
void |
setWillNotDraw(boolean arg0)
|
void |
setX(float arg0)
|
void |
setY(float arg0)
|
void |
setZ(argumento flotante)
|
boolean |
showContextMenu()
|
boolean |
showContextMenu(arg0 flotante, argumento flotante1)
|
ActionMode |
startActionMode(ActionMode.Callback arg0, int arg1)
|
ActionMode |
startActionMode(ActionMode.Callback arg0)
|
void |
startAnimation(arg0 de animación)
|
booleano final |
startDrag(ClipData arg0, View.DragShadownBuilder arg1, Object arg2, int arg3)
|
booleano final |
startDragAndDrop(arg0 de ClipData, View.DragShadownBuilder arg1, argumento de objeto 2, argumento int arg3)
|
boolean |
startNestedScroll(int arg0)
|
void |
stopNestedScroll()
|
Cadena |
toString()
|
void |
transformMatrixToGlobal(arg0 de matriz)
|
void |
transformMatrixToLocal(arg0 de matriz)
|
void |
unscheduleDrawable(elemento de diseño arg0, arg ejecutable1)
|
void |
unscheduleDrawable(elemento de diseño arg0)
|
final void |
updateDragShadow(View.DragShadowBuilder arg0)
|
boolean |
willNotCacheDrawing()
|
boolean |
willNotDraw()
|
boolean |
es igual a(objeto arg0)
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
Cadena |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(argumento largo)
|
final void |
wait()
|
abstracto void |
bringChildToFront(Ver arg0)
|
abstracto boolean |
canResolveLayoutDirection()
|
abstracto boolean |
canResolveTextAlignment()
|
abstracto boolean |
canResolveTextDirection()
|
abstracto void |
childDrawableStateChanged(Ver arg0)
|
abstracto void |
childHasTransientStateChanged(View arg0, boolean arg1)
|
abstracto void |
clearChildFocus(View arg0)
|
abstracto void |
createContextMenu(ContextMenu arg0)
|
Resumen Ver |
focusSearch(View arg0, int arg1)
|
abstracto void |
focusableViewAvailable(View arg0)
|
abstracto boolean |
getChildVisibleRect(View arg0, Rect arg1, Point arg2)
|
abstracto int |
getLayoutDirection()
|
resumen ViewParent |
getParent().
|
resumen ViewParent |
getParentForAccessibility()
|
abstracto int |
getTextAlignment()
|
abstracto int |
getTextDirection()
|
abstracto void |
invalidateChild(View arg0, Rect arg1)
|
resumen ViewParent |
invalidateChildInParent(int[] arg0, Rect arg1)
|
abstracto boolean |
isLayoutDirectionResolved()
|
abstracto boolean |
isLayoutRequested()
|
abstracto boolean |
isTextAlignmentResolved()
|
abstracto boolean |
isTextDirectionResolved()
|
Resumen Ver |
keyboardNavigationClusterSearch(Ver arg0, int arg1)
|
abstracto void |
notifySubtreeAccessibilityStateChanged(View arg0, View arg1, int arg2)
|
void |
onDescendantInvalidated(View arg0, View arg1)
|
abstracto boolean |
onNestedFling(View arg0, float arg1, float arg2, boolean arg3)
|
abstracto boolean |
onNestedPreFling(View arg0, float arg1, float arg2)
|
abstracto boolean |
onNestedPrePerformAccessibilityAction(View arg0, int arg1, Bundle arg2)
|
abstracto void |
onNestedPreScroll(View arg0, int arg1, int arg2, int[] arg3)
|
abstracto void |
onNestedScroll(View arg0, int arg1, int arg2, int arg3, int arg4)
|
abstracto void |
onNestedScrollAccepted(View arg0, View arg1, int arg2)
|
abstracto boolean |
onStartNestedScroll(View arg0, View arg1, int arg2)
|
abstracto void |
onStopNestedScroll(Ver argumento 0)
|
abstracto void |
recomputeViewAttributes(Ver arg0)
|
abstracto void |
requestChildFocus(View arg0, View arg1)
|
abstracto boolean |
requestChildRectangleOnScreen(View arg0, Rect arg1, boolean arg2)
|
abstracto void |
requestDisallowInterceptTouchEvent(boolean arg0)
|
abstracto void |
requestFitSystemWindows()
|
abstracto void |
requestLayout().
|
abstracto boolean |
requestSendAccessibilityEvent(View arg0, AccessibilityEvent arg1)
|
abstracto void |
requestTransparentRegion(Ver arg0).
|
abstracto boolean |
showContextMenuForChild(Ver argumento0)
|
abstracto boolean |
showContextMenuForChild(View arg0, float arg1, float arg2)
|
abstract ActionMode |
startActionModeForChild(View arg0, ActionMode.Callback arg1, int arg2)
|
abstract ActionMode |
startActionModeForChild(View arg0, ActionMode.Callback arg1)
|
abstracto void |
addView(View arg0, ViewGroup.LayoutParams arg1)
|
abstracto void |
removeView(View arg0)
|
abstracto void |
updateViewLayout(View arg0, ViewGroup.LayoutParams arg1)
|
abstracto void |
invalidateDrawable(elemento de diseño arg0)
|
abstracto void |
scheduleDrawable(elemento de diseño arg0, argumento ejecutable1, arg2 largo)
|
abstracto void |
unscheduleDrawable(elemento de diseño arg0, arg ejecutable1)
|
abstracto boolean |
onKeyDown(int arg0, KeyEvent arg1)
|
abstracto boolean |
onKeyLongPress(int arg0, KeyEvent arg1)
|
abstracto boolean |
onKeyMultiple(int arg0, int arg1, KeyEvent arg2)
|
abstracto boolean |
onKeyUp(int arg0, KeyEvent arg1)
|
abstracto void |
sendAccessibilityEvent(int arg0).
|
abstracto void |
sendAccessibilityEventUnchecked(AccessibilityEvent arg0)
|
Constructores públicos
público NavigationView (contexto de contexto)
Parámetros
Contexto |
---|
public NavigationView (Contexto de contexto, Atributos de AttributeSet)
Parámetros
Contexto | |
---|---|
attrs |
public NavigationView (Context context, AttributeSet attrs, int defStyleAttr)
Parámetros
Contexto | |
---|---|
attrs | |
defStyleAttr |
Métodos públicos
public Cámara getCamera ()
Muestra un objeto de cámara que se puede usar para modificar el viewport del mapa. Solo se debe llamar a este método en el subproceso de IU.
Devuelve
- el objeto
Camera
asociado con esta vista
public NavigationMap getMap ()
Muestra un objeto que se puede usar para agregar contenido al mapa. Solo se debe llamar a este método en el subproceso de IU.
public void onConfigurationChanged (Configuración)
Parámetros
config |
---|
public void onCreate (Bundle savedInstanceState)
Parámetros
savedInstanceState |
---|
public void onDestroy ()
public void onPause ()
public void onResume ()
public void onSaveInstanceState (Bundle outState)
Parámetros
outState |
---|
public void onStart ()
public void onStop ()
public void onTrimMemory (int level)
Parámetros
level |
---|
público void setCalloutInfoDisplayModeOverride (NavigationCalloutDisplayMode markupInfoDisplayModeOverride)
Anula el modo de visualización predeterminado para las solicitudes de oferta de ETA durante la navegación. Si pasas un valor nulo, se restablecerá el modo de visualización predeterminado.
Parámetros
calloutInfoDisplayModeOverride | el nuevo modo de visualización deseado. |
---|
public void setCalloutInfoFormatOverride (RouteCalloutInfoFormat relevanteInfoFormatOverride).
Establece el modo de formato de información de texto destacado para los textos destacados de la ruta. Si no se llama a este método, las leyendas seguirán el comportamiento que se define en RouteExtensionInfoFormat.DEFAULT.
Parámetros
calloutInfoFormatOverride | el nuevo formato de texto destacado deseado. |
---|
public void setCompassEnabled (boolean enabled)
Establece si la brújula es visible. Solo se debe llamar a este método en el subproceso de IU.
Parámetros
habilitado |
---|
público void setCustomControl (ver control, posición CustomControlPosition)
Establece una vista de control personalizada que aparecerá en la posición determinada en la IU de navegación. Si ya existe algún control personalizado en la posición indicada, se reemplazará. Si llamas a este método con un valor de control nulo, se quitará el control personalizado en la posición determinada. Si el control ya se agregó en una posición diferente o ya tiene un elemento superior, se ignorará. Solo se debe llamar a este método en el subproceso de IU.
Parámetros
control | una vista que se posicionará en la IU de navegación |
---|---|
position | Determina dónde se colocará el control personalizado en la IU en relación con los controles integrados. |
public void setEtaCardEnabled (boolean enabled)
Establece si la tarjeta de hora de llegada se mostrará durante la navegación. Solo se debe llamar a este método en el subproceso de IU.
Parámetros
habilitado |
---|
public void setForceNightMode (int NightMode)
Establece el ForceNightMode
actual.
Parámetros
nightMode |
---|
public void setHeaderEnabled (boolean enabled)
Establece si el encabezado de navegación paso a paso es visible durante la navegación. Solo se debe llamar a este método en el subproceso de IU.
Parámetros
habilitado |
---|
público void setOnNightModeChangedListener (objeto de escucha NavigationView.OnNightModeChangedListener)
Establece un objeto de escucha que recibirá una notificación inmediata sobre el estado actual del "modo nocturno" y cada vez que la IU entre en el "modo nocturno" o salga de él. Solo se debe llamar a este método en el subproceso de IU.
Nota: Para evitar pérdidas de memoria, se debe llamar a setOnNightModeChangedListener(null)
cuando ya no se requiera el objeto de escucha.
Parámetros
objeto de escucha | un objeto de escucha que recibirá una notificación cuando la IU entre en el modo nocturno o salga de él |
---|
público void setOnRecenterButtonClickedListener (objeto de escucha de NavigationView.OnRecenterButtonClickedListener)
Establece un objeto de escucha que recibirá una notificación cuando se haga clic en el botón de volver a centrar. Solo se debe llamar a este método en el subproceso de IU.
Nota: Para evitar pérdidas de memoria, se debe llamar a setOnRecenterButtonClickedListener(null)
cuando ya no se requiera el objeto de escucha.
Parámetros
objeto de escucha | un objeto de escucha que recibirá una notificación cuando se haga clic en el botón para volver a centrar |
---|
public void setRecenterButtonEnabled (boolean enabled)
Establece si se debe mostrar el botón Volver a centrar. Solo se debe llamar a este método en el subproceso de IU.
Parámetros
habilitado |
---|
public void setSpeedAlertOptions (SpeedAlertOptions speedAlertOptions)
Configura SpeedAlertOptions
para personalizar los umbrales de activación de SpeedAlertSeverity
.
Puedes usar este método a fin de personalizar los umbrales de activación de las alertas de velocidad en porcentaje para
las alertas MINOR
y MAJOR
. También puedes
usar este método a fin de configurar el tiempo en segundos que se necesita para actualizar las alertas de velocidad de MINOR
a MAJOR
.
Si estableces un SpeedAlertOptions
de null
o no estableces ninguno, la alerta de velocidad predeterminada de NavSDK mostrará lo siguiente: la alerta de velocidad muestra texto rojo con fondo blanco o oscuro para el modo diurno/nocturno, respectivamente, cuando la velocidad sea inferior a 8 km/h o 10 km/h por encima del límite de velocidad, y muestra texto en blanco en un fondo rojo cuando el vehículo supera los 8 km/h o 10 km/h.
Parámetros
speedAlertOptions |
---|
public void setSpeedLimitIconEnabled (boolean enabled)
Especifica si se muestra el ícono de límite de velocidad. Solo debes llamar a este método en el subproceso de IU.
Cuando se habilita esta opción, aparece un ícono de límite de velocidad que indica el límite de velocidad de la ruta en la esquina inferior de inicio durante la guía. El ícono solo aparece en las ubicaciones donde hay disponibles datos confiables sobre el límite de velocidad. Cuando el ícono del velocímetro es visible, significa que están adjuntos.
Si el botón de volver a centrar está habilitado, el ícono de límite de velocidad se ocultará temporalmente cuando se muestre.
Nota: Los conductores deben seguir todas las señales de tránsito y usar el ícono de límite de velocidad solo como referencia. No se puede garantizar la precisión de los datos sobre el límite de velocidad. Puedes informar errores en nuestros datos sobre el límite de velocidad presentando un caso en el Portal de asistencia de Google Cloud.
Parámetros
habilitado |
---|
public void setSpeedometerIconEnabled (boolean enabled)
Especifica si se muestra el ícono de velocímetro. Solo debes llamar a este método en el subproceso de IU.
Cuando se habilita, aparece un ícono de velocímetro que indica la velocidad del vehículo en la esquina inferior de inicio durante la guía. Cuando el ícono de límite de velocidad es visible, se adjuntan y, luego, el velocímetro puede tener diferentes colores para el texto y el fondo, según la gravedad del límite de velocidad.
Habilitar el ícono de Speedomter también habilita el ícono de límite de velocidad por completo. Sin embargo, puedes usar setSpeedLimitIconEnabled(boolean)
para inhabilitar o habilitar el ícono de límite de velocidad por separado.
Si está habilitado, el ícono de velocímetro se ocultará temporalmente cuando aparezca.
Parámetros
habilitado |
---|
public void setSpeedometerUiOptions (SpeedometerUiOptions speedometerUiOptions)
Establece la configuración de la IU del velocímetro SpeedometerUiOptions
en función de SpeedAlertSeverity
. Solo debes llamar a este método en el subproceso de IU.
Si configuras un SpeedometerUiOptions
de null
, borrarás el anterior si se configuró. Cuando no se configura un SpeedometerUiOptions
, la IU del velocímetro recurre a las configuraciones predeterminadas de NavSDK para las alertas de velocidad de diferentes SpeedAlertSeverity
:
Parámetros
speedometerUiOptions |
---|
public void setStylingOptions (StylingOptions stylingOptions)
Establece algunas opciones de estilo para la IU de navegación. Solo se debe llamar a este método en el subproceso de IU.
Parámetros
stylingOptions |
---|
public void setTrafficIncidentCardsEnabled (boolean enabled)
Establece si se deben mostrar las tarjetas de incidentes de tráfico cuando el usuario hace clic en un ícono de incidentes de tráfico. Solo se debe llamar a este método en el subproceso de IU.
Ten en cuenta que, cuando se ejecuta la navegación guiada, se muestran los detalles del incidente de tráfico en las instrucciones.
Para inhabilitar los detalles de incidentes de tráfico durante la navegación, se debe usar setTrafficPromptsEnabled(boolean)
.
Parámetros
habilitado |
---|
public void setTrafficPromptsEnabled (boolean enabled)
Establece si se deben mostrar las solicitudes de tráfico. Los mensajes de tráfico aparecen periódicamente para actualizar al usuario sobre las condiciones del tráfico durante la navegación. Solo se debe llamar a este método en el subproceso de IU.
Parámetros
habilitado |
---|