Choosing the input type configures the keyboard type that is shown, acceptable characters, and appearance of the edit text. For example, if you want to ...
Platform
AndroidStudio
GooglePlay
Jetpack
Kotlin
Docs
Games
Language
English
BahasaIndonesia
Español–AméricaLatina
Português–Brasil
中文–简体
日本語
한국어
Signin
Documentation
Overview
Guides
Reference
Samples
Design&Quality
Platform
AndroidStudio
GooglePlay
Jetpack
Kotlin
Docs
Overview
Guides
Reference
Samples
Design&Quality
Games
AndroidAPIReference
Overview
AndroidPlatform
Packages
APIlevel
RELSv231302928272625242322212019181716151413121110987654321
ClassIndexPackageIndex
androidOverview
ClassesManifestManifest.permissionManifest.permission_groupRR.animR.animatorR.arrayR.attrR.boolR.colorR.dimenR.drawableR.fractionR.idR.integerR.interpolatorR.layoutR.menuR.mipmapR.pluralsR.rawR.stringR.styleR.styleableR.transitionR.xml
android.accessibilityserviceOverview
InterfacesAccessibilityService.MagnificationController.OnMagnificationChangedListenerAccessibilityService.SoftKeyboardController.OnShowModeChangedListenerAccessibilityService.TakeScreenshotCallback
ClassesAccessibilityButtonControllerAccessibilityButtonController.AccessibilityButtonCallbackAccessibilityGestureEventAccessibilityServiceAccessibilityService.GestureResultCallbackAccessibilityService.MagnificationControllerAccessibilityService.ScreenshotResultAccessibilityService.SoftKeyboardControllerAccessibilityServiceInfoFingerprintGestureControllerFingerprintGestureController.FingerprintGestureCallbackGestureDescriptionGestureDescription.BuilderGestureDescription.StrokeDescription
android.accountsOverview
InterfacesAccountManagerCallbackAccountManagerFutureOnAccountsUpdateListener
ClassesAbstractAccountAuthenticatorAccountAccountAuthenticatorActivityAccountAuthenticatorResponseAccountManagerAuthenticatorDescription
ExceptionsAccountsExceptionAuthenticatorExceptionNetworkErrorExceptionOperationCanceledException
android.animationOverview
InterfacesAnimator.AnimatorListenerAnimator.AnimatorPauseListenerLayoutTransition.TransitionListenerTimeAnimator.TimeListenerTimeInterpolatorTypeEvaluatorValueAnimator.AnimatorUpdateListener
ClassesAnimatorAnimatorInflaterAnimatorListenerAdapterAnimatorSetAnimatorSet.BuilderArgbEvaluatorBidirectionalTypeConverterFloatArrayEvaluatorFloatEvaluatorIntArrayEvaluatorIntEvaluatorKeyframeLayoutTransitionObjectAnimatorPointFEvaluatorPropertyValuesHolderRectEvaluatorStateListAnimatorTimeAnimatorTypeConverterValueAnimator
android.annotationOverview
AnnotationsSuppressLintTargetApi
android.appOverview
InterfacesActionBar.OnMenuVisibilityListenerActionBar.OnNavigationListenerActionBar.TabListenerAlarmManager.OnAlarmListenerApplication.ActivityLifecycleCallbacksApplication.OnProvideAssistDataListenerAppOpsManager.OnOpActiveChangedListenerAppOpsManager.OnOpChangedListenerDatePickerDialog.OnDateSetListenerFragmentBreadCrumbs.OnBreadCrumbClickListenerFragmentManager.BackStackEntryFragmentManager.OnBackStackChangedListenerKeyguardManager.OnKeyguardExitResultLoaderManager.LoaderCallbacksNotification.Action.ExtenderNotification.ExtenderPendingIntent.OnFinishedSearchManager.OnCancelListenerSearchManager.OnDismissListenerSharedElementCallback.OnSharedElementsReadyListenerTimePickerDialog.OnTimeSetListenerUiAutomation.AccessibilityEventFilterUiAutomation.OnAccessibilityEventListenerWallpaperManager.OnColorsChangedListenerZygotePreload
ClassesActionBarActionBar.LayoutParamsActionBar.TabActivityActivityGroupActivityManagerActivityManager.AppTaskActivityManager.MemoryInfoActivityManager.ProcessErrorStateInfoActivityManager.RecentTaskInfoActivityManager.RunningAppProcessInfoActivityManager.RunningServiceInfoActivityManager.RunningTaskInfoActivityManager.TaskDescriptionActivityOptionsAlarmManagerAlarmManager.AlarmClockInfoAlertDialogAlertDialog.BuilderAliasActivityAppComponentFactoryApplicationApplicationErrorReportApplicationErrorReport.AnrInfoApplicationErrorReport.BatteryInfoApplicationErrorReport.CrashInfoApplicationErrorReport.RunningServiceInfoApplicationExitInfoAppOpsManagerAppOpsManager.OnOpNotedCallbackAsyncNotedAppOpAutomaticZenRuleDatePickerDialogDialogDialogFragmentDirectActionDirectAction.BuilderDownloadManagerDownloadManager.QueryDownloadManager.RequestExpandableListActivityFragmentFragment.SavedStateFragmentBreadCrumbsFragmentContainerFragmentControllerFragmentHostCallbackFragmentManagerFragmentManager.FragmentLifecycleCallbacksFragmentManagerNonConfigFragmentTransactionGameManagerInstrumentationInstrumentation.ActivityMonitorInstrumentation.ActivityResultIntentServiceKeyguardManagerKeyguardManager.KeyguardDismissCallbackKeyguardManager.KeyguardLockLauncherActivityLauncherActivity.IconResizerLauncherActivity.ListItemListActivityListFragmentLoaderManagerLocalActivityManagerMediaRouteActionProviderMediaRouteButtonNativeActivityNotificationNotification.ActionNotification.Action.BuilderNotification.Action.WearableExtenderNotification.BigPictureStyleNotification.BigTextStyleNotification.BubbleMetadataNotification.BubbleMetadata.BuilderNotification.BuilderNotification.CallStyleNotification.CarExtenderNotification.CarExtender.BuilderNotification.CarExtender.UnreadConversationNotification.DecoratedCustomViewStyleNotification.DecoratedMediaCustomViewStyleNotification.InboxStyleNotification.MediaStyleNotification.MessagingStyleNotification.MessagingStyle.MessageNotification.StyleNotification.WearableExtenderNotificationChannelNotificationChannelGroupNotificationManagerNotificationManager.PolicyPendingIntentPersonPerson.BuilderPictureInPictureParamsPictureInPictureParams.BuilderPictureInPictureUiStatePresentationProgressDialogRemoteActionRemoteInputRemoteInput.BuilderSearchableInfoSearchManagerServiceSharedElementCallbackStatusBarManagerSyncNotedAppOpTabActivityTaskInfoTaskStackBuilderTimePickerDialogUiAutomationUiModeManagerVoiceInteractorVoiceInteractor.AbortVoiceRequestVoiceInteractor.CommandRequestVoiceInteractor.CompleteVoiceRequestVoiceInteractor.ConfirmationRequestVoiceInteractor.PickOptionRequestVoiceInteractor.PickOptionRequest.OptionVoiceInteractor.PromptVoiceInteractor.RequestWallpaperColorsWallpaperInfoWallpaperManager
ExceptionsAuthenticationRequiredExceptionBackgroundServiceStartNotAllowedExceptionForegroundServiceStartNotAllowedExceptionFragment.InstantiationExceptionPendingIntent.CanceledExceptionRecoverableSecurityExceptionServiceStartNotAllowedException
android.app.adminOverview
InterfacesDevicePolicyManager.OnClearApplicationUserDataListener
ClassesConnectEventDelegatedAdminReceiverDeviceAdminInfoDeviceAdminReceiverDeviceAdminServiceDevicePolicyManagerDevicePolicyManager.InstallSystemUpdateCallbackDnsEventFactoryResetProtectionPolicyFactoryResetProtectionPolicy.BuilderFreezePeriodNetworkEventSecurityLogSecurityLog.SecurityEventSystemUpdateInfoSystemUpdatePolicy
ExceptionsSystemUpdatePolicy.ValidationFailedExceptionUnsafeStateException
android.app.appsearchOverview
InterfacesBatchResultCallback
ClassesAppSearchBatchResultAppSearchBatchResult.BuilderAppSearchManagerAppSearchManager.SearchContextAppSearchManager.SearchContext.BuilderAppSearchResultAppSearchSchemaAppSearchSchema.BooleanPropertyConfigAppSearchSchema.BooleanPropertyConfig.BuilderAppSearchSchema.BuilderAppSearchSchema.BytesPropertyConfigAppSearchSchema.BytesPropertyConfig.BuilderAppSearchSchema.DocumentPropertyConfigAppSearchSchema.DocumentPropertyConfig.BuilderAppSearchSchema.DoublePropertyConfigAppSearchSchema.DoublePropertyConfig.BuilderAppSearchSchema.LongPropertyConfigAppSearchSchema.LongPropertyConfig.BuilderAppSearchSchema.PropertyConfigAppSearchSchema.StringPropertyConfigAppSearchSchema.StringPropertyConfig.BuilderAppSearchSessionGenericDocumentGenericDocument.BuilderGetByDocumentIdRequestGetByDocumentIdRequest.BuilderGetSchemaResponseGetSchemaResponse.BuilderGlobalSearchSessionMigratorPackageIdentifierPutDocumentsRequestPutDocumentsRequest.BuilderRemoveByDocumentIdRequestRemoveByDocumentIdRequest.BuilderReportSystemUsageRequestReportSystemUsageRequest.BuilderReportUsageRequestReportUsageRequest.BuilderSearchResultSearchResult.BuilderSearchResult.MatchInfoSearchResult.MatchInfo.BuilderSearchResult.MatchRangeSearchResultsSearchSpecSearchSpec.BuilderSetSchemaRequestSetSchemaRequest.BuilderSetSchemaResponseSetSchemaResponse.BuilderSetSchemaResponse.MigrationFailureStorageInfoStorageInfo.Builder
android.app.appsearch.exceptionsOverview
ExceptionsAppSearchException
android.app.assistOverview
ClassesAssistContentAssistStructureAssistStructure.ViewNodeAssistStructure.WindowNode
android.app.backupOverview
InterfacesBackupHelper
ClassesBackupAgentBackupAgentHelperBackupDataInputBackupDataInputStreamBackupDataOutputBackupManagerFileBackupHelperFullBackupDataOutputRestoreObserverSharedPreferencesBackupHelper
android.app.blobOverview
ClassesBlobHandleBlobStoreManagerBlobStoreManager.Session
android.app.jobOverview
ClassesJobInfoJobInfo.BuilderJobInfo.TriggerContentUriJobParametersJobSchedulerJobServiceJobServiceEngineJobWorkItem
android.app.peopleOverview
ClassesConversationStatusConversationStatus.BuilderPeopleManager
android.app.roleOverview
ClassesRoleManager
android.app.sliceOverview
ClassesSliceSlice.BuilderSliceItemSliceManagerSliceMetricsSliceProviderSliceSpec
android.app.usageOverview
ClassesConfigurationStatsEventStatsExternalStorageStatsNetworkStatsNetworkStats.BucketNetworkStatsManagerNetworkStatsManager.UsageCallbackStorageStatsStorageStatsManagerUsageEventsUsageEvents.EventUsageStatsUsageStatsManager
android.appwidgetOverview
ClassesAppWidgetHostAppWidgetHostViewAppWidgetManagerAppWidgetProviderAppWidgetProviderInfo
android.bluetoothOverview
InterfacesBluetoothAdapter.LeScanCallbackBluetoothProfileBluetoothProfile.ServiceListener
ClassesBluetoothA2dpBluetoothAdapterBluetoothAssignedNumbersBluetoothClassBluetoothClass.DeviceBluetoothClass.Device.MajorBluetoothClass.ServiceBluetoothDeviceBluetoothGattBluetoothGattCallbackBluetoothGattCharacteristicBluetoothGattDescriptorBluetoothGattServerBluetoothGattServerCallbackBluetoothGattServiceBluetoothHeadsetBluetoothHealthBluetoothHealthAppConfigurationBluetoothHealthCallbackBluetoothHearingAidBluetoothHidDeviceBluetoothHidDevice.CallbackBluetoothHidDeviceAppQosSettingsBluetoothHidDeviceAppSdpSettingsBluetoothLeAudioBluetoothManagerBluetoothServerSocketBluetoothSocketBluetoothStatusCodes
android.bluetooth.leOverview
ClassesAdvertiseCallbackAdvertiseDataAdvertiseData.BuilderAdvertiseSettingsAdvertiseSettings.BuilderAdvertisingSetAdvertisingSetCallbackAdvertisingSetParametersAdvertisingSetParameters.BuilderBluetoothLeAdvertiserBluetoothLeScannerPeriodicAdvertisingParametersPeriodicAdvertisingParameters.BuilderScanCallbackScanFilterScanFilter.BuilderScanRecordScanResultScanSettingsScanSettings.Builder
android.companionOverview
InterfacesDeviceFilter
ClassesAssociationRequestAssociationRequest.BuilderBluetoothDeviceFilterBluetoothDeviceFilter.BuilderBluetoothLeDeviceFilterBluetoothLeDeviceFilter.BuilderCompanionDeviceManagerCompanionDeviceManager.CallbackCompanionDeviceServiceWifiDeviceFilterWifiDeviceFilter.Builder
ExceptionsDeviceNotAssociatedException
android.contentOverview
InterfacesClipboardManager.OnPrimaryClipChangedListenerComponentCallbacksComponentCallbacks2ContentProvider.PipeDataWriterDialogInterfaceDialogInterface.OnCancelListenerDialogInterface.OnClickListenerDialogInterface.OnDismissListenerDialogInterface.OnKeyListenerDialogInterface.OnMultiChoiceClickListenerDialogInterface.OnShowListenerEntityIteratorIntentSender.OnFinishedLoader.OnLoadCanceledListenerLoader.OnLoadCompleteListenerServiceConnectionSharedPreferencesSharedPreferences.EditorSharedPreferences.OnSharedPreferenceChangeListenerSyncStatusObserver
ClassesAbstractThreadedSyncAdapterAsyncQueryHandlerAsyncQueryHandler.WorkerArgsAsyncQueryHandler.WorkerHandlerAsyncTaskLoaderAttributionSourceAttributionSource.BuilderBroadcastReceiverBroadcastReceiver.PendingResultClipboardManagerClipDataClipData.ItemClipDescriptionComponentNameContentProviderContentProvider.CallingIdentityContentProviderClientContentProviderOperationContentProviderOperation.BuilderContentProviderResultContentQueryMapContentResolverContentResolver.MimeTypeInfoContentUrisContentValuesContextContextParamsContextParams.BuilderContextWrapperCursorLoaderEntityEntity.NamedContentValuesIntentIntent.FilterComparisonIntent.ShortcutIconResourceIntentFilterIntentFilter.AuthorityEntryIntentSenderLoaderLoader.ForceLoadContentObserverLocusIdMutableContextWrapperPeriodicSyncQuickViewConstantsRestrictionEntryRestrictionsManagerSearchRecentSuggestionsProviderSyncAdapterTypeSyncContextSyncInfoSyncRequestSyncRequest.BuilderSyncResultSyncStatsUriMatcherUriPermission
ExceptionsActivityNotFoundExceptionIntentFilter.MalformedMimeTypeExceptionIntentSender.SendIntentExceptionOperationApplicationExceptionReceiverCallNotAllowedException
android.content.pmOverview
InterfacesPackageManager.OnChecksumsReadyListener
ClassesActivityInfoActivityInfo.WindowLayoutApkChecksumApplicationInfoApplicationInfo.DisplayNameComparatorAttributionChangedPackagesChecksumComponentInfoConfigurationInfoCrossProfileAppsFeatureGroupInfoFeatureInfoInstallSourceInfoInstrumentationInfoLabeledIntentLauncherActivityInfoLauncherAppsLauncherApps.CallbackLauncherApps.PinItemRequestLauncherApps.ShortcutQueryModuleInfoPackageInfoPackageInstallerPackageInstaller.SessionPackageInstaller.SessionCallbackPackageInstaller.SessionInfoPackageInstaller.SessionParamsPackageItemInfoPackageItemInfo.DisplayNameComparatorPackageManagerPackageManager.PropertyPackageStatsPathPermissionPermissionGroupInfoPermissionInfoProviderInfoResolveInfoResolveInfo.DisplayNameComparatorServiceInfoSharedLibraryInfoShortcutInfoShortcutInfo.BuilderShortcutManagerSignatureSigningInfoVersionedPackage
ExceptionsPackageManager.NameNotFoundException
android.content.pm.verify.domainOverview
ClassesDomainVerificationManagerDomainVerificationUserState
android.content.resOverview
InterfacesXmlResourceParser
ClassesAssetFileDescriptorAssetFileDescriptor.AutoCloseInputStreamAssetFileDescriptor.AutoCloseOutputStreamAssetManagerAssetManager.AssetInputStreamColorStateListConfigurationObbInfoObbScannerResourcesResources.ThemeTypedArray
ExceptionsResources.NotFoundException
android.content.res.loaderOverview
InterfacesAssetsProvider
ClassesResourcesLoaderResourcesProvider
android.databaseOverview
InterfacesCrossProcessCursorCursorDatabaseErrorHandler
ClassesAbstractCursorAbstractCursor.SelfContentObserverAbstractWindowedCursorCharArrayBufferContentObservableContentObserverCrossProcessCursorWrapperCursorJoinerCursorWindowCursorWrapperDatabaseUtilsDatabaseUtils.InsertHelperDataSetObservableDataSetObserverDefaultDatabaseErrorHandlerMatrixCursorMatrixCursor.RowBuilderMergeCursorObservable
EnumsCursorJoiner.Result
ExceptionsCursorIndexOutOfBoundsExceptionSQLExceptionStaleDataException
android.database.sqliteOverview
InterfacesSQLiteCursorDriverSQLiteDatabase.CursorFactorySQLiteTransactionListener
ClassesSQLiteClosableSQLiteCursorSQLiteDatabaseSQLiteDatabase.OpenParamsSQLiteDatabase.OpenParams.BuilderSQLiteOpenHelperSQLiteProgramSQLiteQuerySQLiteQueryBuilderSQLiteStatement
ExceptionsSQLiteAbortExceptionSQLiteAccessPermExceptionSQLiteBindOrColumnIndexOutOfRangeExceptionSQLiteBlobTooBigExceptionSQLiteCantOpenDatabaseExceptionSQLiteConstraintExceptionSQLiteDatabaseCorruptExceptionSQLiteDatabaseLockedExceptionSQLiteDatatypeMismatchExceptionSQLiteDiskIOExceptionSQLiteDoneExceptionSQLiteExceptionSQLiteFullExceptionSQLiteMisuseExceptionSQLiteOutOfMemoryExceptionSQLiteReadOnlyDatabaseExceptionSQLiteTableLockedException
android.drmOverview
InterfacesDrmManagerClient.OnErrorListenerDrmManagerClient.OnEventListenerDrmManagerClient.OnInfoListenerDrmStore.ConstraintsColumns
ClassesDrmConvertedStatusDrmErrorEventDrmEventDrmInfoDrmInfoEventDrmInfoRequestDrmInfoStatusDrmManagerClientDrmRightsDrmStoreDrmStore.ActionDrmStore.DrmObjectTypeDrmStore.PlaybackDrmStore.RightsStatusDrmSupportInfoDrmUtilsDrmUtils.ExtendedMetadataParserProcessedData
android.gestureOverview
InterfacesGestureOverlayView.OnGestureListenerGestureOverlayView.OnGesturePerformedListenerGestureOverlayView.OnGesturingListener
ClassesGestureGestureLibrariesGestureLibraryGestureOverlayViewGesturePointGestureStoreGestureStrokeGestureUtilsOrientedBoundingBoxPrediction
android.graphicsOverview
InterfacesImageDecoder.OnHeaderDecodedListenerImageDecoder.OnPartialImageListenerPostProcessorSurfaceTexture.OnFrameAvailableListener
ClassesBitmapBitmapFactoryBitmapFactory.OptionsBitmapRegionDecoderBitmapShaderBlendModeColorFilterBlurMaskFilterCameraCanvasColorColorFilterColorMatrixColorMatrixColorFilterColorSpaceColorSpace.ConnectorColorSpace.RgbColorSpace.Rgb.TransferParametersComposePathEffectComposeShaderCornerPathEffectDashPathEffectDiscretePathEffectDrawFilterEmbossMaskFilterHardwareRendererHardwareRenderer.FrameRenderRequestImageDecoderImageDecoder.ImageInfoImageDecoder.SourceImageFormatInsetsInterpolatorLightingColorFilterLinearGradientMaskFilterMatrixMovieNinePatchOutlinePaintPaint.FontMetricsPaint.FontMetricsIntPaintFlagsDrawFilterParcelableColorSpacePathPathDashPathEffectPathEffectPathMeasurePicturePixelFormatPointPointFPorterDuffPorterDuffColorFilterPorterDuffXfermodeRadialGradientRecordingCanvasRectRectFRegionRegionIteratorRenderEffectRenderNodeShaderSumPathEffectSurfaceTextureSweepGradientTypefaceTypeface.BuilderTypeface.CustomFallbackBuilderXfermodeYuvImage
EnumsBitmap.CompressFormatBitmap.ConfigBlendModeBlurMaskFilter.BlurCanvas.EdgeTypeCanvas.VertexModeColorSpace.AdaptationColorSpace.ModelColorSpace.NamedColorSpace.RenderIntentInterpolator.ResultMatrix.ScaleToFitPaint.AlignPaint.CapPaint.JoinPaint.StylePath.DirectionPath.FillTypePath.OpPathDashPathEffect.StylePorterDuff.ModeRegion.OpShader.TileMode
ExceptionsImageDecoder.DecodeExceptionSurfaceTexture.OutOfResourcesException
android.graphics.drawableOverview
InterfacesAnimatableAnimatable2Drawable.CallbackIcon.OnDrawableLoadedListener
ClassesAdaptiveIconDrawableAnimatable2.AnimationCallbackAnimatedImageDrawableAnimatedStateListDrawableAnimatedVectorDrawableAnimationDrawableBitmapDrawableClipDrawableColorDrawableColorStateListDrawableDrawableDrawable.ConstantStateDrawableContainerDrawableContainer.DrawableContainerStateDrawableWrapperGradientDrawableIconInsetDrawableLayerDrawableLevelListDrawableNinePatchDrawablePaintDrawablePictureDrawableRippleDrawableRotateDrawableScaleDrawableShapeDrawableShapeDrawable.ShaderFactoryStateListDrawableTransitionDrawableVectorDrawable
EnumsGradientDrawable.Orientation
android.graphics.drawable.shapesOverview
ClassesArcShapeOvalShapePathShapeRectShapeRoundRectShapeShape
android.graphics.fontsOverview
ClassesFontFont.BuilderFontFamilyFontFamily.BuilderFontStyleFontVariationAxisSystemFonts
android.graphics.pdfOverview
ClassesPdfDocumentPdfDocument.PagePdfDocument.PageInfoPdfDocument.PageInfo.BuilderPdfRendererPdfRenderer.Page
android.graphics.textOverview
ClassesLineBreakerLineBreaker.BuilderLineBreaker.ParagraphConstraintsLineBreaker.ResultMeasuredTextMeasuredText.BuilderPositionedGlyphsTextRunShaper
android.hardwareOverview
InterfacesCamera.AutoFocusCallbackCamera.AutoFocusMoveCallbackCamera.ErrorCallbackCamera.FaceDetectionListenerCamera.OnZoomChangeListenerCamera.PictureCallbackCamera.PreviewCallbackCamera.ShutterCallbackSensorEventListenerSensorEventListener2SensorListener
ClassesBatteryStateCameraCamera.AreaCamera.CameraInfoCamera.FaceCamera.ParametersCamera.SizeConsumerIrManagerConsumerIrManager.CarrierFrequencyRangeGeomagneticFieldHardwareBufferSensorSensorAdditionalInfoSensorDirectChannelSensorEventSensorEventCallbackSensorManagerSensorManager.DynamicSensorCallbackSensorPrivacyManagerSensorPrivacyManager.SensorsTriggerEventTriggerEventListener
android.hardware.biometricsOverview
InterfacesBiometricManager.Authenticators
ClassesBiometricManagerBiometricManager.StringsBiometricPromptBiometricPrompt.AuthenticationCallbackBiometricPrompt.AuthenticationResultBiometricPrompt.BuilderBiometricPrompt.CryptoObject
android.hardware.camera2Overview
ClassesCameraCaptureSessionCameraCaptureSession.CaptureCallbackCameraCaptureSession.StateCallbackCameraCharacteristicsCameraCharacteristics.KeyCameraConstrainedHighSpeedCaptureSessionCameraDeviceCameraDevice.StateCallbackCameraExtensionCharacteristicsCameraExtensionSessionCameraExtensionSession.ExtensionCaptureCallbackCameraExtensionSession.StateCallbackCameraManagerCameraManager.AvailabilityCallbackCameraManager.TorchCallbackCameraMetadataCameraOfflineSessionCameraOfflineSession.CameraOfflineSessionCallbackCaptureFailureCaptureRequestCaptureRequest.BuilderCaptureRequest.KeyCaptureResultCaptureResult.KeyDngCreatorMultiResolutionImageReaderTotalCaptureResult
ExceptionsCameraAccessException
android.hardware.camera2.paramsOverview
ClassesBlackLevelPatternCapabilityColorSpaceTransformExtensionSessionConfigurationFaceInputConfigurationLensShadingMapMandatoryStreamCombinationMandatoryStreamCombination.MandatoryStreamInformationMeteringRectangleMultiResolutionStreamConfigurationMapMultiResolutionStreamInfoOisSampleOutputConfigurationRecommendedStreamConfigurationMapRggbChannelVectorSessionConfigurationStreamConfigurationMapTonemapCurve
android.hardware.displayOverview
InterfacesDisplayManager.DisplayListener
ClassesDeviceProductInfoDisplayManagerVirtualDisplayVirtualDisplay.Callback
android.hardware.fingerprintOverview
ClassesFingerprintManagerFingerprintManager.AuthenticationCallbackFingerprintManager.AuthenticationResultFingerprintManager.CryptoObject
android.hardware.inputOverview
InterfacesInputManager.InputDeviceListener
ClassesInputManager
android.hardware.lightsOverview
ClassesLightLightsManagerLightsManager.LightsSessionLightsRequestLightsRequest.BuilderLightStateLightState.Builder
android.hardware.usbOverview
ClassesUsbAccessoryUsbConfigurationUsbConstantsUsbDeviceUsbDeviceConnectionUsbEndpointUsbInterfaceUsbManagerUsbRequest
android.icu.langOverview
InterfacesUCharacter.BidiPairedBracketTypeUCharacter.DecompositionTypeUCharacter.EastAsianWidthUCharacter.GraphemeClusterBreakUCharacter.HangulSyllableTypeUCharacter.IndicPositionalCategoryUCharacter.IndicSyllabicCategoryUCharacter.JoiningGroupUCharacter.JoiningTypeUCharacter.LineBreakUCharacter.NumericTypeUCharacter.SentenceBreakUCharacter.VerticalOrientationUCharacter.WordBreakUCharacterEnums.ECharacterCategoryUCharacterEnums.ECharacterDirectionUPropertyUProperty.NameChoice
ClassesUCharacterUCharacter.UnicodeBlockUCharacterCategoryUCharacterDirectionUCharacterEnumsUScript
EnumsUScript.ScriptUsage
android.icu.mathOverview
ClassesBigDecimalMathContext
android.icu.numberOverview
ClassesCompactNotationCurrencyPrecisionFormattedNumberFormattedNumberRangeFractionPrecisionIntegerWidthLocalizedNumberFormatterLocalizedNumberRangeFormatterNotationNumberFormatterNumberFormatterSettingsNumberRangeFormatterNumberRangeFormatterSettingsPrecisionScaleScientificNotationSimpleNotationUnlocalizedNumberFormatterUnlocalizedNumberRangeFormatter
EnumsNumberFormatter.DecimalSeparatorDisplayNumberFormatter.GroupingStrategyNumberFormatter.SignDisplayNumberFormatter.UnitWidthNumberRangeFormatter.RangeCollapseNumberRangeFormatter.RangeIdentityFallbackNumberRangeFormatter.RangeIdentityResult
android.icu.textOverview
InterfacesCollator.ReorderCodesFormattedValueReplaceableSymbolTableUnicodeMatcher
ClassesAlphabeticIndexAlphabeticIndex.BucketAlphabeticIndex.ImmutableIndexAlphabeticIndex.RecordBidiBidiClassifierBidiRunBreakIteratorCaseMapCaseMap.FoldCaseMap.LowerCaseMap.TitleCaseMap.UpperCollationElementIteratorCollationKeyCollationKey.BoundModeCollatorCompactDecimalFormatConstrainedFieldPositionCurrencyPluralInfoDateFormatDateFormat.FieldDateFormatSymbolsDateIntervalFormatDateIntervalFormat.FormattedDateIntervalDateIntervalInfoDateIntervalInfo.PatternInfoDateTimePatternGeneratorDateTimePatternGenerator.PatternInfoDecimalFormatDecimalFormatSymbolsEditsEdits.IteratorIDNAIDNA.InfoListFormatterLocaleDisplayNamesLocaleDisplayNames.UiListItemMeasureFormatMessageFormatMessageFormat.FieldMessagePatternMessagePattern.PartNormalizerNormalizer.QuickCheckResultNormalizer2NumberFormatNumberFormat.FieldNumberingSystemPluralFormatPluralRulesRelativeDateTimeFormatterRelativeDateTimeFormatter.FormattedRelativeDateTimeRuleBasedCollatorScientificNumberFormatterSearchIteratorSelectFormatSimpleDateFormatStringSearchTimeZoneFormatTimeZoneNamesTransliteratorTransliterator.PositionUCharacterIteratorUFormatUnicodeFilterUnicodeSetUnicodeSet.EntryRangeUnicodeSetIteratorUnicodeSetSpanner
EnumsAlphabeticIndex.Bucket.LabelTypeCompactDecimalFormat.CompactStyleDateFormat.BooleanAttributeDateTimePatternGenerator.DisplayWidthDisplayContextDisplayContext.TypeIDNA.ErrorLocaleDisplayNames.DialectHandlingMeasureFormat.FormatWidthMessagePattern.ApostropheModeMessagePattern.ArgTypeMessagePattern.Part.TypeNormalizer2.ModePluralRules.PluralTypeRelativeDateTimeFormatter.AbsoluteUnitRelativeDateTimeFormatter.DirectionRelativeDateTimeFormatter.RelativeDateTimeUnitRelativeDateTimeFormatter.RelativeUnitRelativeDateTimeFormatter.StyleSearchIterator.ElementComparisonTypeTimeZoneFormat.GMTOffsetPatternTypeTimeZoneFormat.ParseOptionTimeZoneFormat.StyleTimeZoneFormat.TimeTypeTimeZoneNames.NameTypeUnicodeSet.ComparisonStyleUnicodeSet.SpanConditionUnicodeSetSpanner.CountMethodUnicodeSetSpanner.TrimOption
ExceptionsStringPrepParseException
android.icu.utilOverview
InterfacesFreezableRangeValueIteratorValueIterator
ClassesBuddhistCalendarCalendarCalendar.WeekDataChineseCalendarCopticCalendarCurrencyCurrencyAmountDateIntervalEthiopicCalendarGregorianCalendarHebrewCalendarIndianCalendarIslamicCalendarJapaneseCalendarLocaleDataLocaleData.MeasurementSystemLocaleData.PaperSizeMeasureMeasureUnitOutputRangeValueIterator.ElementTaiwanCalendarTimeUnitTimeZoneULocaleULocale.BuilderUniversalTimeScaleValueIterator.ElementVersionInfo
EnumsCurrency.CurrencyUsageIslamicCalendar.CalculationTypeTimeZone.SystemTimeZoneTypeULocale.AvailableTypeULocale.Category
ExceptionsICUUncheckedIOExceptionIllformedLocaleException
android.inputmethodserviceOverview
InterfacesKeyboardView.OnKeyboardActionListener
ClassesAbstractInputMethodServiceAbstractInputMethodService.AbstractInputMethodImplAbstractInputMethodService.AbstractInputMethodSessionImplExtractEditTextInputMethodServiceInputMethodService.InputMethodImplInputMethodService.InputMethodSessionImplInputMethodService.InsetsKeyboardKeyboard.KeyKeyboard.RowKeyboardView
android.locationOverview
InterfacesGnssAntennaInfo.ListenerGpsStatus.ListenerGpsStatus.NmeaListenerLocationListenerOnNmeaMessageListener
ClassesAddressCriteriaGeocoderGnssAntennaInfoGnssAntennaInfo.BuilderGnssAntennaInfo.PhaseCenterOffsetGnssAntennaInfo.SphericalCorrectionsGnssCapabilitiesGnssCapabilities.BuilderGnssClockGnssMeasurementGnssMeasurementRequestGnssMeasurementRequest.BuilderGnssMeasurementsEventGnssMeasurementsEvent.CallbackGnssNavigationMessageGnssNavigationMessage.CallbackGnssStatusGnssStatus.BuilderGnssStatus.CallbackGpsSatelliteGpsStatusLocationLocationManagerLocationProviderLocationRequestLocationRequest.BuilderSettingInjectorService
android.location.providerOverview
ClassesProviderPropertiesProviderProperties.Builder
android.mediaOverview
AnnotationsMediaDrm.HdcpLevelMediaDrm.SecurityLevel
InterfacesAudioManager.OnAudioFocusChangeListenerAudioManager.OnCommunicationDeviceChangedListenerAudioManager.OnModeChangedListenerAudioMetadata.KeyAudioMetadataMapAudioMetadataReadMapAudioRecord.OnRecordPositionUpdateListenerAudioRecord.OnRoutingChangedListenerAudioRecordingMonitorAudioRoutingAudioRouting.OnRoutingChangedListenerAudioTrack.OnCodecFormatChangedListenerAudioTrack.OnPlaybackPositionUpdateListenerAudioTrack.OnRoutingChangedListenerImageReader.OnImageAvailableListenerImageWriter.OnImageReleasedListenerJetPlayer.OnJetEventListenerMediaCas.EventListenerMediaCodec.OnFirstTunnelFrameReadyListenerMediaCodec.OnFrameRenderedListenerMediaDrm.OnEventListenerMediaDrm.OnExpirationUpdateListenerMediaDrm.OnKeyStatusChangeListenerMediaDrm.OnSessionLostStateListenerMediaParser.InputReaderMediaParser.OutputConsumerMediaParser.SeekableInputReaderMediaPlayer.OnBufferingUpdateListenerMediaPlayer.OnCompletionListenerMediaPlayer.OnDrmConfigHelperMediaPlayer.OnDrmInfoListenerMediaPlayer.OnDrmPreparedListenerMediaPlayer.OnErrorListenerMediaPlayer.OnInfoListenerMediaPlayer.OnMediaTimeDiscontinuityListenerMediaPlayer.OnPreparedListenerMediaPlayer.OnSeekCompleteListenerMediaPlayer.OnSubtitleDataListenerMediaPlayer.OnTimedMetaDataAvailableListenerMediaPlayer.OnTimedTextListenerMediaPlayer.OnVideoSizeChangedListenerMediaRecorder.OnErrorListenerMediaRecorder.OnInfoListenerMediaRouter2.OnGetControllerHintsListenerMediaScannerConnection.MediaScannerConnectionClientMediaScannerConnection.OnScanCompletedListenerMediaSync.OnErrorListenerMicrophoneDirectionRemoteControlClient.OnGetPlaybackPositionListenerRemoteControlClient.OnMetadataUpdateListenerRemoteControlClient.OnPlaybackPositionUpdateListenerRemoteController.OnClientUpdateListenerSoundPool.OnLoadCompleteListenerSpatializer.OnSpatializerStateChangedListenerVolumeAutomation
ClassesApplicationMediaCapabilitiesApplicationMediaCapabilities.BuilderAsyncPlayerAudioAttributesAudioAttributes.BuilderAudioDescriptorAudioDeviceCallbackAudioDeviceInfoAudioFocusRequestAudioFocusRequest.BuilderAudioFormatAudioFormat.BuilderAudioManagerAudioManager.AudioPlaybackCallbackAudioManager.AudioRecordingCallbackAudioMetadataAudioMetadata.FormatAudioPlaybackCaptureConfigurationAudioPlaybackCaptureConfiguration.BuilderAudioPlaybackConfigurationAudioPresentationAudioPresentation.BuilderAudioProfileAudioRecordAudioRecord.BuilderAudioRecord.MetricsConstantsAudioRecordingConfigurationAudioTimestampAudioTrackAudioTrack.BuilderAudioTrack.MetricsConstantsAudioTrack.StreamEventCallbackCamcorderProfileCameraProfileDrmInitDataDrmInitData.SchemeInitDataEncoderProfilesEncoderProfiles.AudioProfileEncoderProfiles.VideoProfileExifInterfaceFaceDetectorFaceDetector.FaceImageImage.PlaneImageReaderImageWriterJetPlayerMediaActionSoundMediaCasMediaCas.PluginDescriptorMediaCas.SessionMediaCodecMediaCodec.BufferInfoMediaCodec.CallbackMediaCodec.CryptoInfoMediaCodec.CryptoInfo.PatternMediaCodec.LinearBlockMediaCodec.MetricsConstantsMediaCodec.OutputFrameMediaCodec.ParameterDescriptorMediaCodec.QueueRequestMediaCodecInfoMediaCodecInfo.AudioCapabilitiesMediaCodecInfo.CodecCapabilitiesMediaCodecInfo.CodecProfileLevelMediaCodecInfo.EncoderCapabilitiesMediaCodecInfo.VideoCapabilitiesMediaCodecInfo.VideoCapabilities.PerformancePointMediaCodecListMediaCommunicationManagerMediaController2MediaController2.BuilderMediaController2.ControllerCallbackMediaCryptoMediaDataSourceMediaDescramblerMediaDescriptionMediaDescription.BuilderMediaDrmMediaDrm.CryptoSessionMediaDrm.ErrorCodesMediaDrm.KeyRequestMediaDrm.KeyStatusMediaDrm.LogMessageMediaDrm.MetricsConstantsMediaDrm.PlaybackComponentMediaDrm.ProvisionRequestMediaExtractorMediaExtractor.CasInfoMediaExtractor.MetricsConstantsMediaFeatureMediaFeature.HdrTypeMediaFormatMediaMetadataMediaMetadata.BuilderMediaMetadataEditorMediaMetadataRetrieverMediaMetadataRetriever.BitmapParamsMediaMuxerMediaMuxer.OutputFormatMediaParserMediaParser.SeekMapMediaParser.SeekPointMediaParser.TrackDataMediaPlayerMediaPlayer.DrmInfoMediaPlayer.MetricsConstantsMediaPlayer.TrackInfoMediaRecorderMediaRecorder.AudioEncoderMediaRecorder.AudioSourceMediaRecorder.MetricsConstantsMediaRecorder.OutputFormatMediaRecorder.VideoEncoderMediaRecorder.VideoSourceMediaRoute2InfoMediaRoute2Info.BuilderMediaRoute2ProviderServiceMediaRouterMediaRouter.CallbackMediaRouter.RouteCategoryMediaRouter.RouteGroupMediaRouter.RouteInfoMediaRouter.SimpleCallbackMediaRouter.UserRouteInfoMediaRouter.VolumeCallbackMediaRouter2MediaRouter2.ControllerCallbackMediaRouter2.RouteCallbackMediaRouter2.RoutingControllerMediaRouter2.TransferCallbackMediaScannerConnectionMediaSession2MediaSession2.BuilderMediaSession2.ControllerInfoMediaSession2.SessionCallbackMediaSession2ServiceMediaSession2Service.MediaNotificationMediaSyncMediaSync.CallbackMediaSyncEventMediaTimestampMicrophoneInfoMicrophoneInfo.Coordinate3FPlaybackParamsRatingRemoteControlClientRemoteControlClient.MetadataEditorRemoteControllerRemoteController.MetadataEditorRingtoneRingtoneManagerRouteDiscoveryPreferenceRouteDiscoveryPreference.BuilderRoutingSessionInfoRoutingSessionInfo.BuilderSession2CommandSession2Command.ResultSession2CommandGroupSession2CommandGroup.BuilderSession2TokenSoundPoolSoundPool.BuilderSpatializerSubtitleDataSyncParamsThumbnailUtilsTimedMetaDataTimedTextToneGeneratorVolumeProviderVolumeShaperVolumeShaper.ConfigurationVolumeShaper.Configuration.BuilderVolumeShaper.Operation
ExceptionsDeniedByServerExceptionMediaCasExceptionMediaCasException.DeniedByServerExceptionMediaCasException.InsufficientResourceExceptionMediaCasException.NotProvisionedExceptionMediaCasException.ResourceBusyExceptionMediaCasException.UnsupportedCasExceptionMediaCasStateExceptionMediaCodec.CodecExceptionMediaCodec.CryptoExceptionMediaCodec.IncompatibleWithBlockModelExceptionMediaCryptoExceptionMediaDrm.MediaDrmStateExceptionMediaDrm.SessionExceptionMediaDrmExceptionMediaDrmResetExceptionMediaParser.ParsingExceptionMediaParser.UnrecognizedInputFormatExceptionMediaPlayer.NoDrmSchemeExceptionMediaPlayer.ProvisioningNetworkErrorExceptionMediaPlayer.ProvisioningServerErrorExceptionNotProvisionedExceptionResourceBusyExceptionUnsupportedSchemeException
android.media.audiofxOverview
InterfacesAudioEffect.OnControlStatusChangeListenerAudioEffect.OnEnableStatusChangeListenerBassBoost.OnParameterChangeListenerEnvironmentalReverb.OnParameterChangeListenerEqualizer.OnParameterChangeListenerPresetReverb.OnParameterChangeListenerVirtualizer.OnParameterChangeListenerVisualizer.OnDataCaptureListener
ClassesAcousticEchoCancelerAudioEffectAudioEffect.DescriptorAutomaticGainControlBassBoostBassBoost.SettingsDynamicsProcessingDynamicsProcessing.BandBaseDynamicsProcessing.BandStageDynamicsProcessing.ChannelDynamicsProcessing.ConfigDynamicsProcessing.Config.BuilderDynamicsProcessing.EqDynamicsProcessing.EqBandDynamicsProcessing.LimiterDynamicsProcessing.MbcDynamicsProcessing.MbcBandDynamicsProcessing.StageEnvironmentalReverbEnvironmentalReverb.SettingsEqualizerEqualizer.SettingsHapticGeneratorLoudnessEnhancerNoiseSuppressorPresetReverbPresetReverb.SettingsVirtualizerVirtualizer.SettingsVisualizerVisualizer.MeasurementPeakRms
android.media.browseOverview
ClassesMediaBrowserMediaBrowser.ConnectionCallbackMediaBrowser.ItemCallbackMediaBrowser.MediaItemMediaBrowser.SubscriptionCallback
android.media.effectOverview
InterfacesEffectUpdateListener
ClassesEffectEffectContextEffectFactory
android.media.metricsOverview
ClassesEventLogSessionIdMediaMetricsManagerNetworkEventNetworkEvent.BuilderPlaybackErrorEventPlaybackErrorEvent.BuilderPlaybackMetricsPlaybackMetrics.BuilderPlaybackSessionPlaybackStateEventPlaybackStateEvent.BuilderRecordingSessionTrackChangeEventTrackChangeEvent.Builder
android.media.midiOverview
InterfacesMidiManager.OnDeviceOpenedListener
ClassesMidiDeviceMidiDevice.MidiConnectionMidiDeviceInfoMidiDeviceInfo.PortInfoMidiDeviceServiceMidiDeviceStatusMidiInputPortMidiManagerMidiManager.DeviceCallbackMidiOutputPortMidiReceiverMidiSender
android.media.projectionOverview
ClassesMediaProjectionMediaProjection.CallbackMediaProjectionManager
android.media.sessionOverview
InterfacesMediaSessionManager.OnActiveSessionsChangedListenerMediaSessionManager.OnSession2TokensChangedListener
ClassesMediaControllerMediaController.CallbackMediaController.PlaybackInfoMediaController.TransportControlsMediaSessionMediaSession.CallbackMediaSession.QueueItemMediaSession.TokenMediaSessionManagerMediaSessionManager.RemoteUserInfoPlaybackStatePlaybackState.BuilderPlaybackState.CustomActionPlaybackState.CustomAction.Builder
android.media.tvOverview
InterfacesTvContract.BaseTvColumnsTvView.OnUnhandledInputEventListener
ClassesTvContentRatingTvContractTvContract.ChannelsTvContract.Channels.LogoTvContract.PreviewProgramsTvContract.ProgramsTvContract.Programs.GenresTvContract.RecordedProgramsTvContract.WatchNextProgramsTvInputInfoTvInputInfo.BuilderTvInputManagerTvInputManager.TvInputCallbackTvInputServiceTvInputService.HardwareSessionTvInputService.RecordingSessionTvInputService.SessionTvRecordingClientTvRecordingClient.RecordingCallbackTvTrackInfoTvTrackInfo.BuilderTvViewTvView.TimeShiftPositionCallbackTvView.TvInputCallback
android.mtpOverview
ClassesMtpConstantsMtpDeviceMtpDeviceInfoMtpEventMtpObjectInfoMtpObjectInfo.BuilderMtpStorageInfo
android.netOverview
InterfacesConnectivityManager.OnNetworkActiveListenerDnsResolver.CallbackTransportInfoUrlQuerySanitizer.ValueSanitizer
ClassesCaptivePortalConnectivityDiagnosticsManagerConnectivityDiagnosticsManager.ConnectivityDiagnosticsCallbackConnectivityDiagnosticsManager.ConnectivityReportConnectivityDiagnosticsManager.DataStallReportConnectivityManagerConnectivityManager.NetworkCallbackCredentialsDhcpInfoDnsResolverIkev2VpnProfileIkev2VpnProfile.BuilderInetAddressesIpPrefixIpSecAlgorithmIpSecManagerIpSecManager.SecurityParameterIndexIpSecManager.UdpEncapsulationSocketIpSecTransformIpSecTransform.BuilderLinkAddressLinkPropertiesLocalServerSocketLocalSocketLocalSocketAddressMacAddressMailToNetworkNetworkCapabilitiesNetworkInfoNetworkRequestNetworkRequest.BuilderNetworkSpecifierPlatformVpnProfileProxyProxyInfoRouteInfoSocketKeepaliveSocketKeepalive.CallbackSSLCertificateSocketFactorySSLSessionCacheTelephonyNetworkSpecifierTelephonyNetworkSpecifier.BuilderTrafficStatsUriUri.BuilderUrlQuerySanitizerUrlQuerySanitizer.IllegalCharacterValueSanitizerUrlQuerySanitizer.ParameterValuePairVpnManagerVpnServiceVpnService.Builder
EnumsLocalSocketAddress.NamespaceNetworkInfo.DetailedStateNetworkInfo.State
ExceptionsDnsResolver.DnsExceptionIpSecManager.ResourceUnavailableExceptionIpSecManager.SpiUnavailableExceptionParseException
android.net.eapOverview
ClassesEapSessionConfigEapSessionConfig.BuilderEapSessionConfig.EapAkaConfigEapSessionConfig.EapAkaPrimeConfigEapSessionConfig.EapMethodConfigEapSessionConfig.EapMsChapV2ConfigEapSessionConfig.EapSimConfigEapSessionConfig.EapTtlsConfig
android.net.httpOverview
ClassesHttpResponseCacheSslCertificateSslCertificate.DNameSslErrorX509TrustManagerExtensions
android.net.ipsec.ikeOverview
InterfacesChildSessionCallbackIkeSessionCallbackTunnelModeChildSessionParams.ConfigRequestIpv4AddressTunnelModeChildSessionParams.ConfigRequestIpv4DhcpServerTunnelModeChildSessionParams.ConfigRequestIpv4DnsServerTunnelModeChildSessionParams.ConfigRequestIpv4NetmaskTunnelModeChildSessionParams.ConfigRequestIpv6AddressTunnelModeChildSessionParams.ConfigRequestIpv6DnsServerTunnelModeChildSessionParams.TunnelModeChildConfigRequest
ClassesChildSaProposalChildSaProposal.BuilderChildSessionConfigurationChildSessionConfiguration.BuilderChildSessionParamsIkeDerAsn1DnIdentificationIkeFqdnIdentificationIkeIdentificationIkeIpv4AddrIdentificationIkeIpv6AddrIdentificationIkeKeyIdIdentificationIkeRfc822AddrIdentificationIkeSaProposalIkeSaProposal.BuilderIkeSessionIkeSessionConfigurationIkeSessionConfiguration.BuilderIkeSessionConnectionInfoIkeSessionParamsIkeSessionParams.BuilderIkeSessionParams.IkeAuthConfigIkeSessionParams.IkeAuthDigitalSignLocalConfigIkeSessionParams.IkeAuthDigitalSignRemoteConfigIkeSessionParams.IkeAuthEapConfigIkeSessionParams.IkeAuthPskConfigIkeTrafficSelectorIkeTunnelConnectionParamsSaProposalTransportModeChildSessionParamsTransportModeChildSessionParams.BuilderTunnelModeChildSessionParamsTunnelModeChildSessionParams.Builder
android.net.ipsec.ike.exceptionsOverview
ExceptionsIkeExceptionIkeInternalExceptionIkeNetworkLostExceptionIkeNonProtocolExceptionIkeProtocolExceptionInvalidKeExceptionInvalidMajorVersionExceptionInvalidSelectorsException
android.net.nsdOverview
InterfacesNsdManager.DiscoveryListenerNsdManager.RegistrationListenerNsdManager.ResolveListener
ClassesNsdManagerNsdServiceInfo
android.net.rtpOverview
ClassesAudioCodecAudioGroupAudioStreamRtpStream
android.net.sipOverview
InterfacesSipRegistrationListener
ClassesSipAudioCallSipAudioCall.ListenerSipErrorCodeSipManagerSipProfileSipProfile.BuilderSipSessionSipSession.ListenerSipSession.State
ExceptionsSipException
android.net.sslOverview
ClassesSSLEnginesSSLSockets
android.net.vcnOverview
ClassesVcnConfigVcnConfig.BuilderVcnGatewayConnectionConfigVcnGatewayConnectionConfig.BuilderVcnManagerVcnManager.VcnStatusCallback
android.net.wifiOverview
InterfacesWifiManager.SuggestionConnectionStatusListenerWifiManager.SuggestionUserApprovalStatusListener
ClassesEasyConnectStatusCallbackScanResultScanResult.InformationElementSoftApConfigurationWifiConfigurationWifiConfiguration.AuthAlgorithmWifiConfiguration.GroupCipherWifiConfiguration.GroupMgmtCipherWifiConfiguration.KeyMgmtWifiConfiguration.PairwiseCipherWifiConfiguration.ProtocolWifiConfiguration.StatusWifiEnterpriseConfigWifiEnterpriseConfig.EapWifiEnterpriseConfig.Phase2WifiInfoWifiInfo.BuilderWifiManagerWifiManager.AddNetworkResultWifiManager.LocalOnlyHotspotCallbackWifiManager.LocalOnlyHotspotReservationWifiManager.MulticastLockWifiManager.ScanResultsCallbackWifiManager.SubsystemRestartTrackingCallbackWifiManager.WifiLockWifiManager.WpsCallbackWifiNetworkSpecifierWifiNetworkSpecifier.BuilderWifiNetworkSuggestionWifiNetworkSuggestion.BuilderWpsInfo
EnumsSupplicantState
android.net.wifi.awareOverview
ClassesAttachCallbackAwareResourcesCharacteristicsDiscoverySessionDiscoverySessionCallbackIdentityChangedListenerParcelablePeerHandlePeerHandlePublishConfigPublishConfig.BuilderPublishDiscoverySessionSubscribeConfigSubscribeConfig.BuilderSubscribeDiscoverySessionWifiAwareManagerWifiAwareNetworkInfoWifiAwareNetworkSpecifierWifiAwareNetworkSpecifier.BuilderWifiAwareSession
android.net.wifi.hotspot2Overview
ClassesConfigParserPasspointConfiguration
android.net.wifi.hotspot2.omadmOverview
ClassesPpsMoParser
android.net.wifi.hotspot2.ppsOverview
ClassesCredentialCredential.CertificateCredentialCredential.SimCredentialCredential.UserCredentialHomeSp
android.net.wifi.p2pOverview
InterfacesWifiP2pManager.ActionListenerWifiP2pManager.ChannelListenerWifiP2pManager.ConnectionInfoListenerWifiP2pManager.DeviceInfoListenerWifiP2pManager.DiscoveryStateListenerWifiP2pManager.DnsSdServiceResponseListenerWifiP2pManager.DnsSdTxtRecordListenerWifiP2pManager.GroupInfoListenerWifiP2pManager.NetworkInfoListenerWifiP2pManager.P2pStateListenerWifiP2pManager.PeerListListenerWifiP2pManager.ServiceResponseListenerWifiP2pManager.UpnpServiceResponseListener
ClassesWifiP2pConfigWifiP2pConfig.BuilderWifiP2pDeviceWifiP2pDeviceListWifiP2pGroupWifiP2pInfoWifiP2pManagerWifiP2pManager.ChannelWifiP2pWfdInfo
android.net.wifi.p2p.nsdOverview
ClassesWifiP2pDnsSdServiceInfoWifiP2pDnsSdServiceRequestWifiP2pServiceInfoWifiP2pServiceRequestWifiP2pUpnpServiceInfoWifiP2pUpnpServiceRequest
android.net.wifi.rttOverview
ClassesCivicLocationKeysRangingRequestRangingRequest.BuilderRangingResultRangingResultCallbackResponderLocationWifiRttManager
android.nfcOverview
InterfacesNfcAdapter.CreateBeamUrisCallbackNfcAdapter.CreateNdefMessageCallbackNfcAdapter.OnNdefPushCompleteCallbackNfcAdapter.OnTagRemovedListenerNfcAdapter.ReaderCallback
ClassesNdefMessageNdefRecordNfcAdapterNfcEventNfcManagerTag
ExceptionsFormatExceptionTagLostException
android.nfc.cardemulationOverview
ClassesCardEmulationHostApduServiceHostNfcFServiceNfcFCardEmulationOffHostApduService
android.nfc.techOverview
InterfacesTagTechnology
ClassesIsoDepMifareClassicMifareUltralightNdefNdefFormatableNfcANfcBNfcBarcodeNfcFNfcV
android.openglOverview
InterfacesGLES31Ext.DebugProcKHRGLES32.DebugProcGLSurfaceView.EGLConfigChooserGLSurfaceView.EGLContextFactoryGLSurfaceView.EGLWindowSurfaceFactoryGLSurfaceView.GLWrapperGLSurfaceView.Renderer
ClassesEGL14EGL15EGLConfigEGLContextEGLDisplayEGLExtEGLImageEGLObjectHandleEGLSurfaceEGLSyncETC1ETC1UtilETC1Util.ETC1TextureGLDebugHelperGLES10GLES10ExtGLES11GLES11ExtGLES20GLES30GLES31GLES31ExtGLES32GLSurfaceViewGLUGLUtilsMatrixVisibility
ExceptionsGLException
android.osOverview
InterfacesCancellationSignal.OnCancelListenerFileUtils.ProgressListenerHandler.CallbackIBinderIBinder.DeathRecipientIInterfaceMessageQueue.IdleHandlerMessageQueue.OnFileDescriptorEventListenerOutcomeReceiverParcelableParcelable.ClassLoaderCreatorParcelable.CreatorParcelFileDescriptor.OnCloseListenerPowerManager.OnThermalStatusChangedListenerRecoverySystem.ProgressListenerStrictMode.OnThreadViolationListenerStrictMode.OnVmViolationListener
ClassesAsyncTaskBaseBundleBatteryManagerBinderBugreportManagerBugreportManager.BugreportCallbackBuildBuild.PartitionBuild.VERSIONBuild.VERSION_CODESBundleCancellationSignalCombinedVibrationCombinedVibration.ParallelCombinationConditionVariableCountDownTimerCpuUsageInfoDebugDebug.InstructionCountDebug.MemoryInfoDropBoxManagerDropBoxManager.EntryEnvironmentFileObserverFileUtilsHandlerHandlerThreadHardwarePropertiesManagerLocaleListLooperMemoryFileMessageMessageQueueMessengerParcelParcelFileDescriptorParcelFileDescriptor.AutoCloseInputStreamParcelFileDescriptor.AutoCloseOutputStreamParcelUuidPatternMatcherPerformanceHintManagerPerformanceHintManager.SessionPersistableBundlePowerManagerPowerManager.WakeLockProcessProxyFileDescriptorCallbackRecoverySystemRemoteCallbackListResultReceiverSharedMemoryStatFsStrictModeStrictMode.ThreadPolicyStrictMode.ThreadPolicy.BuilderStrictMode.VmPolicyStrictMode.VmPolicy.BuilderSystemClockTestLooperManagerTokenWatcherTraceUserHandleUserManagerVibrationAttributesVibrationAttributes.BuilderVibrationEffectVibrationEffect.CompositionVibratorVibratorManagerWorkSource
EnumsAsyncTask.Status
ExceptionsBadParcelableExceptionDeadObjectExceptionDeadSystemExceptionFileUriExposedExceptionLimitExceededExceptionNetworkOnMainThreadExceptionOperationCanceledExceptionParcelFileDescriptor.FileDescriptorDetachedExceptionParcelFormatExceptionRemoteExceptionTransactionTooLargeExceptionUserManager.UserOperationException
android.os.healthOverview
ClassesHealthStatsPackageHealthStatsPidHealthStatsProcessHealthStatsServiceHealthStatsSystemHealthManagerTimerStatUidHealthStats
android.os.storageOverview
ClassesOnObbStateChangeListenerStorageManagerStorageManager.StorageVolumeCallbackStorageVolume
android.os.strictmodeOverview
ClassesCleartextNetworkViolationContentUriWithoutPermissionViolationCredentialProtectedWhileLockedViolationCustomViolationDiskReadViolationDiskWriteViolationFileUriExposedViolationImplicitDirectBootViolationIncorrectContextUseViolationInstanceCountViolationIntentReceiverLeakedViolationLeakedClosableViolationNetworkViolationNonSdkApiUsedViolationResourceMismatchViolationServiceConnectionLeakedViolationSqliteObjectLeakedViolationUnbufferedIoViolationUnsafeIntentLaunchViolationUntaggedSocketViolationViolationWebViewMethodCalledOnWrongThreadViolation
android.preferenceOverview
InterfacesPreference.OnPreferenceChangeListenerPreference.OnPreferenceClickListenerPreferenceDataStorePreferenceFragment.OnPreferenceStartFragmentCallbackPreferenceManager.OnActivityDestroyListenerPreferenceManager.OnActivityResultListenerPreferenceManager.OnActivityStopListener
ClassesCheckBoxPreferenceDialogPreferenceEditTextPreferenceListPreferenceMultiSelectListPreferencePreferencePreference.BaseSavedStatePreferenceActivityPreferenceActivity.HeaderPreferenceCategoryPreferenceFragmentPreferenceGroupPreferenceManagerPreferenceScreenRingtonePreferenceSwitchPreferenceTwoStatePreference
android.printOverview
ClassesPageRangePrintAttributesPrintAttributes.BuilderPrintAttributes.MarginsPrintAttributes.MediaSizePrintAttributes.ResolutionPrintDocumentAdapterPrintDocumentAdapter.LayoutResultCallbackPrintDocumentAdapter.WriteResultCallbackPrintDocumentInfoPrintDocumentInfo.BuilderPrinterCapabilitiesInfoPrinterCapabilitiesInfo.BuilderPrinterIdPrinterInfoPrinterInfo.BuilderPrintJobPrintJobIdPrintJobInfoPrintJobInfo.BuilderPrintManager
android.print.pdfOverview
ClassesPrintedPdfDocument
android.printserviceOverview
ClassesCustomPrinterIconCallbackPrintDocumentPrinterDiscoverySessionPrintJobPrintService
android.providerOverview
InterfacesBaseColumnsCalendarContract.AttendeesColumnsCalendarContract.CalendarAlertsColumnsCalendarContract.CalendarCacheColumnsCalendarContract.CalendarColumnsCalendarContract.CalendarSyncColumnsCalendarContract.ColorsColumnsCalendarContract.EventDaysColumnsCalendarContract.EventsColumnsCalendarContract.ExtendedPropertiesColumnsCalendarContract.RemindersColumnsCalendarContract.SyncColumnsContacts.ContactMethodsColumnsContacts.ExtensionsColumnsContacts.GroupsColumnsContacts.OrganizationColumnsContacts.PeopleColumnsContacts.PhonesColumnsContacts.PhotosColumnsContacts.PresenceColumnsContacts.SettingsColumnsContactsContract.BaseSyncColumnsContactsContract.CommonDataKinds.BaseTypesContactsContract.CommonDataKinds.CommonColumnsContactsContract.ContactNameColumnsContactsContract.ContactOptionsColumnsContactsContract.ContactsColumnsContactsContract.ContactStatusColumnsContactsContract.DataColumnsContactsContract.DataColumnsWithJoinsContactsContract.DataUsageStatColumnsContactsContract.DeletedContactsColumnsContactsContract.DisplayNameSourcesContactsContract.FullNameStyleContactsContract.GroupsColumnsContactsContract.PhoneLookupColumnsContactsContract.PhoneticNameStyleContactsContract.PresenceColumnsContactsContract.RawContactsColumnsContactsContract.SettingsColumnsContactsContract.StatusColumnsContactsContract.SyncColumnsMediaStore.Audio.AlbumColumnsMediaStore.Audio.ArtistColumnsMediaStore.Audio.AudioColumnsMediaStore.Audio.GenresColumnsMediaStore.Audio.PlaylistsColumnsMediaStore.DownloadColumnsMediaStore.Files.FileColumnsMediaStore.Images.ImageColumnsMediaStore.MediaColumnsMediaStore.Video.VideoColumnsOpenableColumnsSyncStateContract.ColumnsTelephony.BaseMmsColumnsTelephony.CanonicalAddressesColumnsTelephony.TextBasedSmsColumnsTelephony.ThreadsColumns
ClassesAlarmClockBlockedNumberContractBlockedNumberContract.BlockedNumbersBrowserCalendarContractCalendarContract.AttendeesCalendarContract.CalendarAlertsCalendarContract.CalendarCacheCalendarContract.CalendarEntityCalendarContract.CalendarsCalendarContract.ColorsCalendarContract.EventDaysCalendarContract.EventsCalendarContract.EventsEntityCalendarContract.ExtendedPropertiesCalendarContract.InstancesCalendarContract.RemindersCalendarContract.SyncStateCallLogCallLog.CallsCallLog.LocationsContactsContacts.ContactMethodsContacts.ExtensionsContacts.GroupMembershipContacts.GroupsContacts.IntentsContacts.Intents.InsertContacts.Intents.UIContacts.OrganizationsContacts.PeopleContacts.People.ContactMethodsContacts.People.ExtensionsContacts.People.PhonesContacts.PhonesContacts.PhotosContacts.SettingsContactsContractContactsContract.AggregationExceptionsContactsContract.CommonDataKindsContactsContract.CommonDataKinds.CallableContactsContract.CommonDataKinds.ContactablesContactsContract.CommonDataKinds.EmailContactsContract.CommonDataKinds.EventContactsContract.CommonDataKinds.GroupMembershipContactsContract.CommonDataKinds.IdentityContactsContract.CommonDataKinds.ImContactsContract.CommonDataKinds.NicknameContactsContract.CommonDataKinds.NoteContactsContract.CommonDataKinds.OrganizationContactsContract.CommonDataKinds.PhoneContactsContract.CommonDataKinds.PhotoContactsContract.CommonDataKinds.RelationContactsContract.CommonDataKinds.SipAddressContactsContract.CommonDataKinds.StructuredNameContactsContract.CommonDataKinds.StructuredPostalContactsContract.CommonDataKinds.WebsiteContactsContract.ContactsContactsContract.Contacts.AggregationSuggestionsContactsContract.Contacts.AggregationSuggestions.BuilderContactsContract.Contacts.DataContactsContract.Contacts.EntityContactsContract.Contacts.PhotoContactsContract.DataContactsContract.DataUsageFeedbackContactsContract.DeletedContactsContactsContract.DirectoryContactsContract.DisplayPhotoContactsContract.GroupsContactsContract.IntentsContactsContract.Intents.InsertContactsContract.PhoneLookupContactsContract.PinnedPositionsContactsContract.PresenceContactsContract.ProfileContactsContract.ProfileSyncStateContactsContract.ProviderStatusContactsContract.QuickContactContactsContract.RawContactsContactsContract.RawContacts.DataContactsContract.RawContacts.DisplayPhotoContactsContract.RawContacts.EntityContactsContract.RawContactsEntityContactsContract.SearchSnippetsContactsContract.SettingsContactsContract.SimAccountContactsContract.SimContactsContactsContract.StatusUpdatesContactsContract.SyncStateDocumentsContractDocumentsContract.DocumentDocumentsContract.PathDocumentsContract.RootDocumentsProviderFontRequestFontsContractFontsContract.ColumnsFontsContract.FontFamilyResultFontsContract.FontInfoFontsContract.FontRequestCallbackLiveFoldersMediaStoreMediaStore.AudioMediaStore.Audio.AlbumsMediaStore.Audio.ArtistsMediaStore.Audio.Artists.AlbumsMediaStore.Audio.GenresMediaStore.Audio.Genres.MembersMediaStore.Audio.MediaMediaStore.Audio.PlaylistsMediaStore.Audio.Playlists.MembersMediaStore.Audio.RadioMediaStore.DownloadsMediaStore.FilesMediaStore.ImagesMediaStore.Images.MediaMediaStore.Images.ThumbnailsMediaStore.VideoMediaStore.Video.MediaMediaStore.Video.ThumbnailsSearchRecentSuggestionsSettingsSettings.GlobalSettings.NameValueTableSettings.PanelSettings.SecureSettings.SystemSettingsSlicesContractSimPhonebookContractSimPhonebookContract.ElementaryFilesSimPhonebookContract.SimRecordsSyncStateContractSyncStateContract.ConstantsSyncStateContract.HelpersTelephonyTelephony.CarrierIdTelephony.CarriersTelephony.MmsTelephony.Mms.AddrTelephony.Mms.DraftTelephony.Mms.InboxTelephony.Mms.IntentsTelephony.Mms.OutboxTelephony.Mms.PartTelephony.Mms.RateTelephony.Mms.SentTelephony.MmsSmsTelephony.MmsSms.PendingMessagesTelephony.ServiceStateTableTelephony.SmsTelephony.Sms.ConversationsTelephony.Sms.DraftTelephony.Sms.InboxTelephony.Sms.IntentsTelephony.Sms.OutboxTelephony.Sms.SentTelephony.ThreadsUserDictionaryUserDictionary.WordsVoicemailContractVoicemailContract.StatusVoicemailContract.Voicemails
ExceptionsSettings.SettingNotFoundException
android.renderscriptOverview
InterfacesAllocation.OnBufferAvailableListener
ClassesAllocationAllocationAdapterBaseObjByte2Byte3Byte4Double2Double3Double4ElementElement.BuilderFieldPackerFloat2Float3Float4Int2Int3Int4Long2Long3Long4Matrix2fMatrix3fMatrix4fRenderScriptRenderScript.RSErrorHandlerRenderScript.RSMessageHandlerSamplerSampler.BuilderScriptScript.BuilderScript.FieldBaseScript.FieldIDScript.InvokeIDScript.KernelIDScript.LaunchOptionsScriptCScriptGroupScriptGroup.BindingScriptGroup.BuilderScriptGroup.Builder2ScriptGroup.ClosureScriptGroup.FutureScriptGroup.InputScriptIntrinsicScriptIntrinsic3DLUTScriptIntrinsicBLASScriptIntrinsicBlendScriptIntrinsicBlurScriptIntrinsicColorMatrixScriptIntrinsicConvolve3x3ScriptIntrinsicConvolve5x5ScriptIntrinsicHistogramScriptIntrinsicLUTScriptIntrinsicResizeScriptIntrinsicYuvToRGBShort2Short3Short4TypeType.Builder
EnumsAllocation.MipmapControlElement.DataKindElement.DataTypeRenderScript.ContextTypeRenderScript.PrioritySampler.ValueType.CubemapFace
ExceptionsRSDriverExceptionRSIllegalArgumentExceptionRSInvalidStateExceptionRSRuntimeException
android.saxOverview
InterfacesElementListenerEndElementListenerEndTextElementListenerStartElementListenerTextElementListener
ClassesElementRootElement
android.se.omapiOverview
InterfacesSEService.OnConnectedListener
ClassesChannelReaderSEServiceSession
android.securityOverview
InterfacesKeyChainAliasCallback
ClassesAppUriAuthenticationPolicyAppUriAuthenticationPolicy.BuilderAttestedKeyPairConfirmationCallbackConfirmationPromptConfirmationPrompt.BuilderFileIntegrityManagerKeyChainKeyPairGeneratorSpecKeyPairGeneratorSpec.BuilderKeyStoreParameterKeyStoreParameter.BuilderNetworkSecurityPolicy
ExceptionsConfirmationAlreadyPresentingExceptionConfirmationNotAvailableExceptionKeyChainException
android.security.identityOverview
ClassesAccessControlProfileAccessControlProfile.BuilderAccessControlProfileIdIdentityCredentialIdentityCredentialStorePersonalizationDataPersonalizationData.BuilderResultDataWritableIdentityCredential
ExceptionsAlreadyPersonalizedExceptionCipherSuiteNotSupportedExceptionDocTypeNotSupportedExceptionEphemeralPublicKeyNotFoundExceptionIdentityCredentialExceptionInvalidReaderSignatureExceptionInvalidRequestMessageExceptionMessageDecryptionExceptionNoAuthenticationKeyAvailableExceptionSessionTranscriptMismatchExceptionUnknownAuthenticationKeyException
android.security.keystoreOverview
ClassesKeyGenParameterSpecKeyGenParameterSpec.BuilderKeyInfoKeyPropertiesKeyProtectionKeyProtection.BuilderWrappedKeyEntry
ExceptionsBackendBusyExceptionKeyExpiredExceptionKeyNotYetValidExceptionKeyPermanentlyInvalidatedExceptionSecureKeyImportUnavailableExceptionStrongBoxUnavailableExceptionUserNotAuthenticatedExceptionUserPresenceUnavailableException
android.service.autofillOverview
InterfacesOnClickActionSanitizerSavedDatasetsInfoCallbackTransformationValidator
ClassesAutofillServiceBatchUpdatesBatchUpdates.BuilderCharSequenceTransformationCharSequenceTransformation.BuilderCustomDescriptionCustomDescription.BuilderDatasetDataset.BuilderDateTransformationDateValueSanitizerFieldClassificationFieldClassification.MatchFillCallbackFillContextFillEventHistoryFillEventHistory.EventFillRequestFillResponseFillResponse.BuilderImageTransformationImageTransformation.BuilderInlinePresentationLuhnChecksumValidatorRegexValidatorSaveCallbackSavedDatasetsInfoSaveInfoSaveInfo.BuilderSaveRequestTextValueSanitizerUserDataUserData.BuilderValidatorsVisibilitySetterActionVisibilitySetterAction.Builder
android.service.carrierOverview
InterfacesCarrierMessagingService.ResultCallback
ClassesCarrierIdentifierCarrierMessagingClientServiceCarrierMessagingServiceCarrierMessagingService.SendMmsResultCarrierMessagingService.SendMultipartSmsResultCarrierMessagingService.SendSmsResultCarrierServiceMessagePdu
android.service.chooserOverview
ClassesChooserTargetChooserTargetService
android.service.controlsOverview
ClassesControlControl.StatefulBuilderControl.StatelessBuilderControlsProviderServiceDeviceTypes
android.service.controls.actionsOverview
ClassesBooleanActionCommandActionControlActionFloatActionModeAction
android.service.controls.templatesOverview
ClassesControlButtonControlTemplateRangeTemplateStatelessTemplateTemperatureControlTemplateThumbnailTemplateToggleRangeTemplateToggleTemplate
android.service.dreamsOverview
ClassesDreamService
android.service.mediaOverview
ClassesCameraPrewarmServiceMediaBrowserServiceMediaBrowserService.BrowserRootMediaBrowserService.Result
android.service.notificationOverview
ClassesConditionConditionProviderServiceNotificationListenerServiceNotificationListenerService.RankingNotificationListenerService.RankingMapStatusBarNotificationZenPolicyZenPolicy.Builder
android.service.quickaccesswalletOverview
InterfacesGetWalletCardsCallback
ClassesGetWalletCardsErrorGetWalletCardsRequestGetWalletCardsResponseQuickAccessWalletServiceSelectWalletCardRequestWalletCardWalletCard.BuilderWalletServiceEvent
android.service.quicksettingsOverview
ClassesTileTileService
android.service.restrictionsOverview
ClassesRestrictionsReceiver
android.service.textserviceOverview
ClassesSpellCheckerServiceSpellCheckerService.Session
android.service.voiceOverview
InterfacesVoiceInteractionSession.VisibleActivityCallback
ClassesVisibleActivityInfoVoiceInteractionServiceVoiceInteractionSessionVoiceInteractionSession.AbortVoiceRequestVoiceInteractionSession.ActivityIdVoiceInteractionSession.AssistStateVoiceInteractionSession.CommandRequestVoiceInteractionSession.CompleteVoiceRequestVoiceInteractionSession.ConfirmationRequestVoiceInteractionSession.InsetsVoiceInteractionSession.PickOptionRequestVoiceInteractionSession.RequestVoiceInteractionSessionService
android.service.vrOverview
ClassesVrListenerService
android.service.wallpaperOverview
ClassesWallpaperServiceWallpaperService.Engine
android.speechOverview
InterfacesRecognitionListener
ClassesRecognitionServiceRecognitionService.CallbackRecognizerIntentRecognizerResultsIntentSpeechRecognizer
android.speech.ttsOverview
InterfacesSynthesisCallbackTextToSpeech.OnInitListenerTextToSpeech.OnUtteranceCompletedListener
ClassesSynthesisRequestTextToSpeechTextToSpeech.EngineTextToSpeech.EngineInfoTextToSpeechServiceUtteranceProgressListenerVoice
android.systemOverview
ClassesInt64RefOsOsConstantsStructCmsghdrStructMsghdrStructPollfdStructStatStructStatVfsStructTimespecStructTimevalStructUtsname
ExceptionsErrnoException
android.telecomOverview
ClassesCallCall.CallbackCall.DetailsCall.RttCallCallAudioStateCallRedirectionServiceCallScreeningServiceCallScreeningService.CallResponseCallScreeningService.CallResponse.BuilderConferenceConferenceableConnectionConnection.RttModifyStatusConnection.RttTextStreamConnection.VideoProviderConnectionRequestConnectionServiceDisconnectCauseGatewayInfoInCallServiceInCallService.VideoCallInCallService.VideoCall.CallbackPhoneAccountPhoneAccount.BuilderPhoneAccountHandlePhoneAccountSuggestionRemoteConferenceRemoteConference.CallbackRemoteConnectionRemoteConnection.CallbackRemoteConnection.VideoProviderRemoteConnection.VideoProvider.CallbackStatusHintsTelecomManagerVideoProfileVideoProfile.CameraCapabilities
android.telephonyOverview
InterfacesTelephonyCallback.ActiveDataSubscriptionIdListenerTelephonyCallback.BarringInfoListenerTelephonyCallback.CallDisconnectCauseListenerTelephonyCallback.CallForwardingIndicatorListenerTelephonyCallback.CallStateListenerTelephonyCallback.CarrierNetworkListenerTelephonyCallback.CellInfoListenerTelephonyCallback.CellLocationListenerTelephonyCallback.DataActivationStateListenerTelephonyCallback.DataActivityListenerTelephonyCallback.DataConnectionStateListenerTelephonyCallback.DisplayInfoListenerTelephonyCallback.EmergencyNumberListListenerTelephonyCallback.ImsCallDisconnectCauseListenerTelephonyCallback.MessageWaitingIndicatorListenerTelephonyCallback.PhysicalChannelConfigListenerTelephonyCallback.PreciseDataConnectionStateListenerTelephonyCallback.RegistrationFailedListenerTelephonyCallback.ServiceStateListenerTelephonyCallback.SignalStrengthsListenerTelephonyCallback.UserMobileDataStateListener
ClassesAccessNetworkConstantsAccessNetworkConstants.AccessNetworkTypeAccessNetworkConstants.EutranBandAccessNetworkConstants.GeranBandAccessNetworkConstants.NgranBandsAccessNetworkConstants.UtranBandAvailableNetworkInfoBarringInfoBarringInfo.BarringServiceInfoCarrierConfigManagerCarrierConfigManager.ApnCarrierConfigManager.GpsCarrierConfigManager.ImsCarrierConfigManager.ImsServiceEntitlementCarrierConfigManager.IwlanCellIdentityCellIdentityCdmaCellIdentityGsmCellIdentityLteCellIdentityNrCellIdentityTdscdmaCellIdentityWcdmaCellInfoCellInfoCdmaCellInfoGsmCellInfoLteCellInfoNrCellInfoTdscdmaCellInfoWcdmaCellLocationCellSignalStrengthCellSignalStrengthCdmaCellSignalStrengthGsmCellSignalStrengthLteCellSignalStrengthNrCellSignalStrengthTdscdmaCellSignalStrengthWcdmaClosedSubscriberGroupInfoDataFailCauseDisconnectCauseIccOpenLogicalChannelResponseMbmsDownloadSessionMbmsGroupCallSessionMbmsStreamingSessionNeighboringCellInfoNetworkRegistrationInfoNetworkScanNetworkScanRequestPhoneNumberFormattingTextWatcherPhoneNumberUtilsPhoneStateListenerPhysicalChannelConfigPreciseDataConnectionStateRadioAccessSpecifierServiceStateSignalStrengthSignalStrengthUpdateRequestSignalStrengthUpdateRequest.BuilderSignalThresholdInfoSignalThresholdInfo.BuilderSmsManagerSmsManager.FinancialSmsCallbackSmsMessageSmsMessage.SubmitPduSubscriptionInfoSubscriptionManagerSubscriptionManager.OnOpportunisticSubscriptionsChangedListenerSubscriptionManager.OnSubscriptionsChangedListenerSubscriptionPlanSubscriptionPlan.BuilderTelephonyCallbackTelephonyDisplayInfoTelephonyManagerTelephonyManager.CellInfoCallbackTelephonyManager.UssdResponseCallbackTelephonyScanManagerTelephonyScanManager.NetworkScanCallbackUiccCardInfoVisualVoicemailServiceVisualVoicemailService.VisualVoicemailTaskVisualVoicemailSmsVisualVoicemailSmsFilterSettingsVisualVoicemailSmsFilterSettings.Builder
EnumsSmsMessage.MessageClass
ExceptionsTelephonyManager.CallComposerExceptionTelephonyManager.ModemErrorExceptionTelephonyManager.NetworkSlicingExceptionTelephonyManager.TimeoutException
android.telephony.cdmaOverview
ClassesCdmaCellLocation
android.telephony.dataOverview
ClassesApnSettingApnSetting.BuilderNetworkSliceInfoNetworkSliceInfo.BuilderNetworkSlicingConfigRouteSelectionDescriptorTrafficDescriptorTrafficDescriptor.BuilderUrspRule
android.telephony.emergencyOverview
ClassesEmergencyNumber
android.telephony.euiccOverview
ClassesDownloadableSubscriptionDownloadableSubscription.BuilderEuiccInfoEuiccManager
android.telephony.gsmOverview
ClassesGsmCellLocationSmsManagerSmsMessageSmsMessage.SubmitPdu
EnumsSmsMessage.MessageClass
android.telephony.imsOverview
InterfacesRegistrationManager
ClassesImsManagerImsMmTelManagerImsMmTelManager.CapabilityCallbackImsRcsManagerImsReasonInfoImsRegistrationAttributesRcsUceAdapterRegistrationManager.RegistrationCallback
ExceptionsImsException
android.telephony.ims.featureOverview
ClassesMmTelFeatureMmTelFeature.MmTelCapabilities
android.telephony.mbmsOverview
InterfacesGroupCallCallbackMbmsGroupCallSessionCallback
ClassesDownloadProgressListenerDownloadRequestDownloadRequest.BuilderDownloadStatusListenerFileInfoFileServiceInfoGroupCallMbmsDownloadReceiverMbmsDownloadSessionCallbackMbmsErrorsMbmsErrors.DownloadErrorsMbmsErrors.GeneralErrorsMbmsErrors.GroupCallErrorsMbmsErrors.InitializationErrorsMbmsErrors.StreamingErrorsMbmsStreamingSessionCallbackServiceInfoStreamingServiceStreamingServiceCallbackStreamingServiceInfo
android.testOverview
AnnotationsFlakyTestRepetitiveTestUiThreadTest
InterfacesPerformanceTestCasePerformanceTestCase.IntermediatesTestSuiteProvider
ClassesActivityInstrumentationTestCaseActivityInstrumentationTestCase2ActivityTestCaseActivityUnitTestCaseAndroidTestCaseAndroidTestRunnerApplicationTestCaseInstrumentationTestCaseInstrumentationTestRunnerInstrumentationTestSuiteIsolatedContextLaunchPerformanceBaseLoaderTestCaseMoreAssertsProviderTestCaseProviderTestCase2RenamingDelegatingContextServiceTestCaseSingleLaunchActivityTestCaseSyncBaseInstrumentationTouchUtilsViewAsserts
ErrorsAssertionFailedErrorComparisonFailure
android.test.mockOverview
ClassesMockAccountManagerMockApplicationMockContentProviderMockContentResolverMockContextMockCursorMockDialogInterfaceMockPackageManagerMockResourcesMockService
android.test.suitebuilderOverview
ClassesTestMethodTestSuiteBuilderTestSuiteBuilder.FailedToCreateTestsUnitTestSuiteBuilder
android.test.suitebuilder.annotationOverview
AnnotationsLargeTestMediumTestSmallTestSmokeSuppress
android.textOverview
InterfacesEditableGetCharsHtml.ImageGetterHtml.TagHandlerInputFilterInputTypeNoCopySpanParcelableSpanSpannableSpannedSpanWatcherTextDirectionHeuristicTextShaper.GlyphsConsumerTextUtils.EllipsizeCallbackTextUtils.StringSplitterTextWatcher
ClassesAlteredCharSequenceAndroidCharacterAnnotationAutoTextBidiFormatterBidiFormatter.BuilderBoringLayoutBoringLayout.MetricsClipboardManagerDynamicLayoutDynamicLayout.BuilderEditable.FactoryHtmlInputFilter.AllCapsInputFilter.LengthFilterLayoutLayout.DirectionsLoginFilterLoginFilter.PasswordFilterGMailLoginFilter.UsernameFilterGenericLoginFilter.UsernameFilterGMailNoCopySpan.ConcretePrecomputedTextPrecomputedText.ParamsPrecomputedText.Params.BuilderSelectionSpannable.FactorySpannableStringSpannableStringBuilderSpannedStringStaticLayoutStaticLayout.BuilderTextDirectionHeuristicsTextPaintTextShaperTextUtilsTextUtils.SimpleStringSplitter
EnumsLayout.AlignmentTextUtils.TruncateAt
android.text.formatOverview
ClassesDateFormatDateUtilsFormatterTime
android.text.methodOverview
InterfacesKeyListenerMovementMethodTransformationMethod
ClassesArrowKeyMovementMethodBaseKeyListenerBaseMovementMethodCharacterPickerDialogDateKeyListenerDateTimeKeyListenerDialerKeyListenerDigitsKeyListenerHideReturnsTransformationMethodLinkMovementMethodMetaKeyKeyListenerMultiTapKeyListenerNumberKeyListenerPasswordTransformationMethodQwertyKeyListenerReplacementTransformationMethodScrollingMovementMethodSingleLineTransformationMethodTextKeyListenerTimeKeyListenerTouch
EnumsTextKeyListener.Capitalize
android.text.styleOverview
InterfacesAlignmentSpanLeadingMarginSpanLeadingMarginSpan.LeadingMarginSpan2LineBackgroundSpanLineHeightSpanLineHeightSpan.WithDensityParagraphStyleTabStopSpanUpdateAppearanceUpdateLayoutWrapTogetherSpan
ClassesAbsoluteSizeSpanAlignmentSpan.StandardBackgroundColorSpanBulletSpanCharacterStyleClickableSpanDrawableMarginSpanDynamicDrawableSpanEasyEditSpanForegroundColorSpanIconMarginSpanImageSpanLeadingMarginSpan.StandardLineBackgroundSpan.StandardLineHeightSpan.StandardLocaleSpanMaskFilterSpanMetricAffectingSpanQuoteSpanRelativeSizeSpanReplacementSpanScaleXSpanStrikethroughSpanStyleSpanSubscriptSpanSuggestionSpanSuperscriptSpanTabStopSpan.StandardTextAppearanceSpanTtsSpanTtsSpan.BuilderTtsSpan.CardinalBuilderTtsSpan.DateBuilderTtsSpan.DecimalBuilderTtsSpan.DigitsBuilderTtsSpan.ElectronicBuilderTtsSpan.FractionBuilderTtsSpan.MeasureBuilderTtsSpan.MoneyBuilderTtsSpan.OrdinalBuilderTtsSpan.SemioticClassBuilderTtsSpan.TelephoneBuilderTtsSpan.TextBuilderTtsSpan.TimeBuilderTtsSpan.VerbatimBuilderTypefaceSpanUnderlineSpanURLSpan
android.text.utilOverview
InterfacesLinkify.MatchFilterLinkify.TransformFilter
ClassesLinkifyRfc822TokenRfc822Tokenizer
android.transitionOverview
InterfacesTransition.TransitionListener
ClassesArcMotionAutoTransitionChangeBoundsChangeClipBoundsChangeImageTransformChangeScrollChangeTransformCircularPropagationExplodeFadePathMotionPatternPathMotionSceneSidePropagationSlideTransitionTransition.EpicenterCallbackTransitionInflaterTransitionListenerAdapterTransitionManagerTransitionPropagationTransitionSetTransitionValuesVisibilityVisibilityPropagation
android.utilOverview
InterfacesAttributeSetPrinter
ClassesArrayMapArraySetAtomicFileBase64Base64InputStreamBase64OutputStreamCloseGuardConfigDebugUtilsDisplayMetricsEventLogEventLog.EventEventLogTagsEventLogTags.DescriptionFloatMathFloatPropertyHalfIntPropertyJsonReaderJsonWriterLayoutDirectionLogLogPrinterLongSparseArrayLruCacheMonthDisplayHelperMutableBooleanMutableByteMutableCharMutableDoubleMutableFloatMutableIntMutableLongMutableShortPairPatternsPrintStreamPrinterPrintWriterPrinterPropertyRangeRationalSizeSizeFSparseArraySparseBooleanArraySparseIntArraySparseLongArrayStateSetStatsLogStringBuilderPrinterTimeUtilsTimingLoggerTypedValueXml
EnumsJsonTokenXml.Encoding
ExceptionsAndroidExceptionAndroidRuntimeExceptionBase64DataExceptionMalformedJsonExceptionNoSuchPropertyExceptionTimeFormatException
android.util.protoOverview
ClassesProtoOutputStream
android.viewOverview
AnnotationsViewDebug.CapturedViewPropertyViewDebug.ExportedPropertyViewDebug.FlagToStringViewDebug.IntToString
InterfacesActionMode.CallbackActionProvider.VisibilityListenerAttachedSurfaceControlAttachedSurfaceControl.OnSurfaceTransformHintChangedListenerChoreographer.FrameCallbackCollapsibleActionViewContextMenuContextMenu.ContextMenuInfoGestureDetector.OnContextClickListenerGestureDetector.OnDoubleTapListenerGestureDetector.OnGestureListenerInputQueue.CallbackKeyEvent.CallbackLayoutInflater.FactoryLayoutInflater.Factory2LayoutInflater.FilterMenuMenuItemMenuItem.OnActionExpandListenerMenuItem.OnMenuItemClickListenerOnReceiveContentListenerPixelCopy.OnPixelCopyFinishedListenerScaleGestureDetector.OnScaleGestureListenerScrollCaptureCallbackSubMenuSurfaceHolderSurfaceHolder.CallbackSurfaceHolder.Callback2TextureView.SurfaceTextureListenerView.OnApplyWindowInsetsListenerView.OnAttachStateChangeListenerView.OnCapturedPointerListenerView.OnClickListenerView.OnContextClickListenerView.OnCreateContextMenuListenerView.OnDragListenerView.OnFocusChangeListenerView.OnGenericMotionListenerView.OnHoverListenerView.OnKeyListenerView.OnLayoutChangeListenerView.OnLongClickListenerView.OnScrollChangeListenerView.OnSystemUiVisibilityChangeListenerView.OnTouchListenerView.OnUnhandledKeyEventListenerViewGroup.OnHierarchyChangeListenerViewManagerViewParentViewStub.OnInflateListenerViewTreeObserver.OnDrawListenerViewTreeObserver.OnGlobalFocusChangeListenerViewTreeObserver.OnGlobalLayoutListenerViewTreeObserver.OnPreDrawListenerViewTreeObserver.OnScrollChangedListenerViewTreeObserver.OnTouchModeChangeListenerViewTreeObserver.OnWindowAttachListenerViewTreeObserver.OnWindowFocusChangeListenerWindow.CallbackWindow.OnFrameMetricsAvailableListenerWindow.OnRestrictedCaptionAreaChangedListenerWindowInsetsAnimationControllerWindowInsetsAnimationControlListenerWindowInsetsControllerWindowInsetsController.OnControllableInsetsChangedListenerWindowManager
ClassesAbsSavedStateActionModeActionMode.Callback2ActionProviderChoreographerContentInfoContentInfo.BuilderContextThemeWrapperDisplayDisplay.HdrCapabilitiesDisplay.ModeDisplayCutoutDragAndDropPermissionsDragEventFocusFinderFrameMetricsFrameStatsGestureDetectorGestureDetector.SimpleOnGestureListenerGravityHapticFeedbackConstantsInputDeviceInputDevice.MotionRangeInputEventInputQueueKeyboardShortcutGroupKeyboardShortcutInfoKeyCharacterMapKeyCharacterMap.KeyDataKeyEventKeyEvent.DispatcherStateLayoutInflaterMenuInflaterMotionEventMotionEvent.PointerCoordsMotionEvent.PointerPropertiesOrientationEventListenerOrientationListenerPixelCopyPointerIconRoundedCornerScaleGestureDetectorScaleGestureDetector.SimpleOnScaleGestureListenerScrollCaptureSessionScrollCaptureTargetSearchEventSoundEffectConstantsSurfaceSurfaceControlSurfaceControl.BuilderSurfaceControl.TransactionSurfaceControlViewHostSurfaceControlViewHost.SurfacePackageSurfaceViewTextureViewTouchDelegateVelocityTrackerVerifiedInputEventVerifiedKeyEventVerifiedMotionEventViewView.AccessibilityDelegateView.BaseSavedStateView.DragShadowBuilderView.MeasureSpecViewAnimationUtilsViewConfigurationViewDebugViewGroupViewGroup.LayoutParamsViewGroup.MarginLayoutParamsViewGroupOverlayViewOutlineProviderViewOverlayViewPropertyAnimatorViewStructureViewStructure.HtmlInfoViewStructure.HtmlInfo.BuilderViewStubViewTreeObserverWindowWindowAnimationFrameStatsWindowContentFrameStatsWindowIdWindowId.FocusObserverWindowInsetsWindowInsets.BuilderWindowInsets.SideWindowInsets.TypeWindowInsetsAnimationWindowInsetsAnimation.BoundsWindowInsetsAnimation.CallbackWindowManager.LayoutParamsWindowMetrics
EnumsViewDebug.HierarchyTraceTypeViewDebug.RecyclerTraceType
ExceptionsInflateExceptionKeyCharacterMap.UnavailableExceptionSurface.OutOfResourcesExceptionSurfaceHolder.BadSurfaceTypeExceptionWindowManager.BadTokenExceptionWindowManager.InvalidDisplayException
android.view.accessibilityOverview
InterfacesAccessibilityEventSourceAccessibilityManager.AccessibilityStateChangeListenerAccessibilityManager.TouchExplorationStateChangeListener
ClassesAccessibilityEventAccessibilityManagerAccessibilityNodeInfoAccessibilityNodeInfo.AccessibilityActionAccessibilityNodeInfo.CollectionInfoAccessibilityNodeInfo.CollectionItemInfoAccessibilityNodeInfo.ExtraRenderingInfoAccessibilityNodeInfo.RangeInfoAccessibilityNodeInfo.TouchDelegateInfoAccessibilityNodeProviderAccessibilityRecordAccessibilityRequestPreparerAccessibilityWindowInfoCaptioningManagerCaptioningManager.CaptioningChangeListenerCaptioningManager.CaptionStyle
android.view.animationOverview
InterfacesAnimation.AnimationListenerInterpolator
ClassesAccelerateDecelerateInterpolatorAccelerateInterpolatorAlphaAnimationAnimationAnimation.DescriptionAnimationSetAnimationUtilsAnticipateInterpolatorAnticipateOvershootInterpolatorBaseInterpolatorBounceInterpolatorCycleInterpolatorDecelerateInterpolatorGridLayoutAnimationControllerGridLayoutAnimationController.AnimationParametersLayoutAnimationControllerLayoutAnimationController.AnimationParametersLinearInterpolatorOvershootInterpolatorPathInterpolatorRotateAnimationScaleAnimationTransformationTranslateAnimation
android.view.autofillOverview
ClassesAutofillIdAutofillManagerAutofillManager.AutofillCallbackAutofillValue
android.view.contentcaptureOverview
InterfacesDataShareWriteAdapter
ClassesContentCaptureConditionContentCaptureContextContentCaptureContext.BuilderContentCaptureManagerContentCaptureSessionContentCaptureSessionIdDataRemovalRequestDataRemovalRequest.BuilderDataRemovalRequest.LocusIdRequestDataShareRequest
android.view.displayhashOverview
InterfacesDisplayHashResultCallback
ClassesDisplayHashDisplayHashManagerVerifiedDisplayHash
android.view.inputmethodOverview
InterfacesInputConnectionInputMethodInputMethod.SessionCallbackInputMethodSessionInputMethodSession.EventCallback
ClassesBaseInputConnectionCompletionInfoCorrectionInfoCursorAnchorInfoCursorAnchorInfo.BuilderEditorInfoExtractedTextExtractedTextRequestInlineSuggestionInlineSuggestionInfoInlineSuggestionsRequestInlineSuggestionsRequest.BuilderInlineSuggestionsResponseInputBindingInputConnectionWrapperInputContentInfoInputMethodInfoInputMethodManagerInputMethodSubtypeInputMethodSubtype.InputMethodSubtypeBuilderSurroundingText
android.view.inspectorOverview
InterfacesInspectionCompanionInspectionCompanionProviderPropertyMapperPropertyReader
ClassesIntFlagMappingStaticInspectionCompanionProviderWindowInspector
ExceptionsInspectionCompanion.UninitializedPropertyMapExceptionPropertyMapper.PropertyConflictExceptionPropertyReader.PropertyTypeMismatchException
android.view.textclassifierOverview
InterfacesTextClassificationSessionFactoryTextClassifier
ClassesConversationActionConversationAction.BuilderConversationActionsConversationActions.MessageConversationActions.Message.BuilderConversationActions.RequestConversationActions.Request.BuilderSelectionEventTextClassificationTextClassification.BuilderTextClassification.RequestTextClassification.Request.BuilderTextClassificationContextTextClassificationContext.BuilderTextClassificationManagerTextClassificationSessionIdTextClassifier.EntityConfigTextClassifier.EntityConfig.BuilderTextClassifierEventTextClassifierEvent.BuilderTextClassifierEvent.ConversationActionsEventTextClassifierEvent.ConversationActionsEvent.BuilderTextClassifierEvent.LanguageDetectionEventTextClassifierEvent.LanguageDetectionEvent.BuilderTextClassifierEvent.TextLinkifyEventTextClassifierEvent.TextLinkifyEvent.BuilderTextClassifierEvent.TextSelectionEventTextClassifierEvent.TextSelectionEvent.BuilderTextLanguageTextLanguage.BuilderTextLanguage.RequestTextLanguage.Request.BuilderTextLinksTextLinks.BuilderTextLinks.RequestTextLinks.Request.BuilderTextLinks.TextLinkTextLinks.TextLinkSpanTextSelectionTextSelection.BuilderTextSelection.RequestTextSelection.Request.Builder
android.view.textserviceOverview
InterfacesSpellCheckerSession.SpellCheckerSessionListener
ClassesSentenceSuggestionsInfoSpellCheckerInfoSpellCheckerSessionSpellCheckerSession.SpellCheckerSessionParamsSpellCheckerSession.SpellCheckerSessionParams.BuilderSpellCheckerSubtypeSuggestionsInfoTextInfoTextServicesManager
android.view.translationOverview
InterfacesUiTranslationStateCallbackViewTranslationCallback
ClassesTranslationCapabilityTranslationContextTranslationContext.BuilderTranslationManagerTranslationRequestTranslationRequest.BuilderTranslationRequestValueTranslationResponseTranslationResponse.BuilderTranslationResponseValueTranslationResponseValue.BuilderTranslationSpecTranslatorUiTranslationManagerViewTranslationRequestViewTranslationRequest.BuilderViewTranslationResponseViewTranslationResponse.Builder
android.webkitOverview
AnnotationsJavascriptInterface
InterfacesDownloadListenerGeolocationPermissions.CallbackPluginStubValueCallbackWebChromeClient.CustomViewCallbackWebIconDatabase.IconListenerWebResourceRequestWebStorage.QuotaUpdaterWebView.FindListenerWebView.PictureListener
ClassesClientCertRequestConsoleMessageCookieManagerCookieSyncManagerDateSorterGeolocationPermissionsHttpAuthHandlerJsPromptResultJsResultMimeTypeMapPermissionRequestRenderProcessGoneDetailSafeBrowsingResponseServiceWorkerClientServiceWorkerControllerServiceWorkerWebSettingsSslErrorHandlerTracingConfigTracingConfig.BuilderTracingControllerURLUtilWebBackForwardListWebChromeClientWebChromeClient.FileChooserParamsWebHistoryItemWebIconDatabaseWebMessageWebMessagePortWebMessagePort.WebMessageCallbackWebResourceErrorWebResourceResponseWebSettingsWebStorageWebStorage.OriginWebViewWebView.HitTestResultWebView.VisualStateCallbackWebView.WebViewTransportWebViewClientWebViewDatabaseWebViewFragmentWebViewRenderProcessWebViewRenderProcessClient
EnumsConsoleMessage.MessageLevelWebSettings.LayoutAlgorithmWebSettings.PluginStateWebSettings.RenderPriorityWebSettings.TextSizeWebSettings.ZoomDensity
android.widgetOverview
AnnotationsRemoteViews.RemoteView
InterfacesAbsListView.MultiChoiceModeListenerAbsListView.OnScrollListenerAbsListView.RecyclerListenerAbsListView.SelectionBoundsAdjusterActionMenuView.OnMenuItemClickListenerAdapterAdapterView.OnItemClickListenerAdapterView.OnItemLongClickListenerAdapterView.OnItemSelectedListenerAdvanceableAutoCompleteTextView.OnDismissListenerAutoCompleteTextView.ValidatorCalendarView.OnDateChangeListenerCheckableChronometer.OnChronometerTickListenerCompoundButton.OnCheckedChangeListenerDatePicker.OnDateChangedListenerExpandableListAdapterExpandableListView.OnChildClickListenerExpandableListView.OnGroupClickListenerExpandableListView.OnGroupCollapseListenerExpandableListView.OnGroupExpandListenerFilter.FilterListenerFilterableFilterQueryProviderHeterogeneousExpandableListListAdapterMediaController.MediaPlayerControlMultiAutoCompleteTextView.TokenizerNumberPicker.FormatterNumberPicker.OnScrollListenerNumberPicker.OnValueChangeListenerPopupMenu.OnDismissListenerPopupMenu.OnMenuItemClickListenerPopupWindow.OnDismissListenerRadioGroup.OnCheckedChangeListenerRatingBar.OnRatingBarChangeListenerRemoteViewsService.RemoteViewsFactorySearchView.OnCloseListenerSearchView.OnQueryTextListenerSearchView.OnSuggestionListenerSectionIndexerSeekBar.OnSeekBarChangeListenerShareActionProvider.OnShareTargetSelectedListenerSimpleAdapter.ViewBinderSimpleCursorAdapter.CursorToStringConverterSimpleCursorAdapter.ViewBinderSimpleCursorTreeAdapter.ViewBinderSlidingDrawer.OnDrawerCloseListenerSlidingDrawer.OnDrawerOpenListenerSlidingDrawer.OnDrawerScrollListenerSpinnerAdapterTabHost.OnTabChangeListenerTabHost.TabContentFactoryTextView.OnEditorActionListenerThemedSpinnerAdapterTimePicker.OnTimeChangedListenerToolbar.OnMenuItemClickListenerViewSwitcher.ViewFactoryWrapperListAdapterZoomButtonsController.OnZoomListener
ClassesAbsListViewAbsListView.LayoutParamsAbsoluteLayoutAbsoluteLayout.LayoutParamsAbsSeekBarAbsSpinnerActionMenuViewActionMenuView.LayoutParamsAdapterViewAdapterView.AdapterContextMenuInfoAdapterViewAnimatorAdapterViewFlipperAlphabetIndexerAnalogClockArrayAdapterAutoCompleteTextViewBaseAdapterBaseExpandableListAdapterButtonCalendarViewCheckBoxCheckedTextViewChronometerCompoundButtonCursorAdapterCursorTreeAdapterDatePickerDialerFilterDigitalClockEdgeEffectEditTextExpandableListViewExpandableListView.ExpandableListContextMenuInfoFilterFilter.FilterResultsFrameLayoutFrameLayout.LayoutParamsGalleryGallery.LayoutParamsGridLayoutGridLayout.AlignmentGridLayout.LayoutParamsGridLayout.SpecGridViewHeaderViewListAdapterHorizontalScrollViewImageButtonImageSwitcherImageViewLinearLayoutLinearLayout.LayoutParamsListPopupWindowListViewListView.FixedViewInfoMagnifierMagnifier.BuilderMediaControllerMultiAutoCompleteTextViewMultiAutoCompleteTextView.CommaTokenizerNumberPickerOverScrollerPopupMenuPopupWindowProgressBarQuickContactBadgeRadioButtonRadioGroupRadioGroup.LayoutParamsRatingBarRelativeLayoutRelativeLayout.LayoutParamsRemoteViewsRemoteViews.RemoteCollectionItemsRemoteViews.RemoteCollectionItems.BuilderRemoteViews.RemoteResponseRemoteViews.RemoteViewOutlineProviderRemoteViewsServiceResourceCursorAdapterResourceCursorTreeAdapterScrollerScrollViewSearchViewSeekBarShareActionProviderSimpleAdapterSimpleCursorAdapterSimpleCursorTreeAdapterSimpleExpandableListAdapterSlidingDrawerSpaceSpinnerStackViewSwitchTabHostTabHost.TabSpecTableLayoutTableLayout.LayoutParamsTableRowTableRow.LayoutParamsTabWidgetTextClockTextSwitcherTextViewTextView.SavedStateTimePickerToastToast.CallbackToggleButtonToolbarToolbar.LayoutParamsTwoLineListItemVideoViewViewAnimatorViewFlipperViewSwitcherZoomButtonZoomButtonsControllerZoomControls
EnumsImageView.ScaleTypeTextView.BufferType
ExceptionsRemoteViews.ActionException
android.widget.inlineOverview
InterfacesInlineContentView.SurfaceControlCallback
ClassesInlineContentViewInlinePresentationSpecInlinePresentationSpec.Builder
android.windowOverview
InterfacesSplashScreenSplashScreen.OnExitAnimationListener
ClassesSplashScreenView
dalvik.annotationOverview
AnnotationsTestTargetTestTargetClass
dalvik.bytecodeOverview
InterfacesOpcodes
ClassesOpcodeInfo
dalvik.systemOverview
ClassesBaseDexClassLoaderDelegateLastClassLoaderDexClassLoaderDexFileInMemoryDexClassLoaderPathClassLoader
java.awt.fontOverview
ClassesNumericShaperTextAttribute
EnumsNumericShaper.Range
java.beansOverview
InterfacesPropertyChangeListener
ClassesIndexedPropertyChangeEventPropertyChangeEventPropertyChangeListenerProxyPropertyChangeSupport
java.ioOverview
InterfacesCloseableDataInputDataOutputExternalizableFileFilterFilenameFilterFlushableObjectInputObjectInputValidationObjectOutputObjectStreamConstantsSerializable
ClassesBufferedInputStreamBufferedOutputStreamBufferedReaderBufferedWriterByteArrayInputStreamByteArrayOutputStreamCharArrayReaderCharArrayWriterConsoleDataInputStreamDataOutputStreamFileFileDescriptorFileInputStreamFileOutputStreamFilePermissionFileReaderFileWriterFilterInputStreamFilterOutputStreamFilterReaderFilterWriterInputStreamInputStreamReaderLineNumberInputStreamLineNumberReaderObjectInputStreamObjectInputStream.GetFieldObjectOutputStreamObjectOutputStream.PutFieldObjectStreamClassObjectStreamFieldOutputStreamOutputStreamWriterPipedInputStreamPipedOutputStreamPipedReaderPipedWriterPrintStreamPrintWriterPushbackInputStreamPushbackReaderRandomAccessFileReaderSequenceInputStreamSerializablePermissionStreamTokenizerStringBufferInputStreamStringReaderStringWriterWriter
ExceptionsCharConversionExceptionEOFExceptionFileNotFoundExceptionInterruptedIOExceptionInvalidClassExceptionInvalidObjectExceptionIOExceptionNotActiveExceptionNotSerializableExceptionObjectStreamExceptionOptionalDataExceptionStreamCorruptedExceptionSyncFailedExceptionUncheckedIOExceptionUnsupportedEncodingExceptionUTFDataFormatExceptionWriteAbortedException
ErrorsIOError
java.langOverview
AnnotationsDeprecatedFunctionalInterfaceOverrideSafeVarargsSuppressWarnings
InterfacesAppendableAutoCloseableCharSequenceCloneableComparableIterableReadableRunnableThread.UncaughtExceptionHandler
ClassesBooleanByteCharacterCharacter.SubsetCharacter.UnicodeBlockClassClassLoaderCompilerDoubleEnumFloatInheritableThreadLocalIntegerLongMathNumberObjectPackageProcessProcessBuilderProcessBuilder.RedirectRuntimeRuntimePermissionSecurityManagerShortStackTraceElementStrictMathStringStringBufferStringBuilderSystemThreadThreadGroupThreadLocalThrowableVoid
EnumsCharacter.UnicodeScriptProcessBuilder.Redirect.TypeThread.State
ExceptionsArithmeticExceptionArrayIndexOutOfBoundsExceptionArrayStoreExceptionClassCastExceptionClassNotFoundExceptionCloneNotSupportedExceptionEnumConstantNotPresentExceptionExceptionIllegalAccessExceptionIllegalArgumentExceptionIllegalMonitorStateExceptionIllegalStateExceptionIllegalThreadStateExceptionIndexOutOfBoundsExceptionInstantiationExceptionInterruptedExceptionNegativeArraySizeExceptionNoSuchFieldExceptionNoSuchMethodExceptionNullPointerExceptionNumberFormatExceptionReflectiveOperationExceptionRuntimeExceptionSecurityExceptionStringIndexOutOfBoundsExceptionTypeNotPresentExceptionUnsupportedOperationException
ErrorsAbstractMethodErrorAssertionErrorBootstrapMethodErrorClassCircularityErrorClassFormatErrorErrorExceptionInInitializerErrorIllegalAccessErrorIncompatibleClassChangeErrorInstantiationErrorInternalErrorLinkageErrorNoClassDefFoundErrorNoSuchFieldErrorNoSuchMethodErrorOutOfMemoryErrorStackOverflowErrorThreadDeathUnknownErrorUnsatisfiedLinkErrorUnsupportedClassVersionErrorVerifyErrorVirtualMachineError
java.lang.annotationOverview
AnnotationsDocumentedInheritedNativeRepeatableRetentionTarget
InterfacesAnnotation
EnumsElementTypeRetentionPolicy
ExceptionsAnnotationTypeMismatchExceptionIncompleteAnnotationException
ErrorsAnnotationFormatError
java.lang.invokeOverview
InterfacesMethodHandleInfo
ClassesCallSiteConstantCallSiteMethodHandleMethodHandlesMethodHandles.LookupMethodTypeMutableCallSiteVolatileCallSite
ExceptionsLambdaConversionExceptionWrongMethodTypeException
java.lang.refOverview
ClassesPhantomReferenceReferenceReferenceQueueSoftReferenceWeakReference
java.lang.reflectOverview
InterfacesAnnotatedElementGenericArrayTypeGenericDeclarationInvocationHandlerMemberParameterizedTypeTypeTypeVariableWildcardType
ClassesAccessibleObjectArrayConstructorExecutableFieldMethodModifierParameterProxyReflectPermission
ExceptionsInvocationTargetExceptionMalformedParameterizedTypeExceptionMalformedParametersExceptionUndeclaredThrowableException
ErrorsGenericSignatureFormatError
java.mathOverview
ClassesBigDecimalBigIntegerMathContext
EnumsRoundingMode
java.netOverview
InterfacesContentHandlerFactoryCookiePolicyCookieStoreDatagramSocketImplFactoryFileNameMapProtocolFamilySocketImplFactorySocketOptionSocketOptionsURLStreamHandlerFactory
ClassesAuthenticatorCacheRequestCacheResponseContentHandlerCookieHandlerCookieManagerDatagramPacketDatagramSocketDatagramSocketImplHttpCookieHttpURLConnectionIDNInet4AddressInet6AddressInetAddressInetSocketAddressInterfaceAddressJarURLConnectionMulticastSocketNetPermissionNetworkInterfacePasswordAuthenticationProxyProxySelectorResponseCacheSecureCacheResponseServerSocketSocketSocketAddressSocketImplSocketPermissionStandardSocketOptionsURIURLURLClassLoaderURLConnectionURLDecoderURLEncoderURLStreamHandler
EnumsAuthenticator.RequestorTypeProxy.TypeStandardProtocolFamily
ExceptionsBindExceptionConnectExceptionHttpRetryExceptionMalformedURLExceptionNoRouteToHostExceptionPortUnreachableExceptionProtocolExceptionSocketExceptionSocketTimeoutExceptionUnknownHostExceptionUnknownServiceExceptionURISyntaxException
java.nioOverview
ClassesBufferByteBufferByteOrderCharBufferDoubleBufferFloatBufferIntBufferLongBufferMappedByteBufferShortBuffer
ExceptionsBufferOverflowExceptionBufferUnderflowExceptionInvalidMarkExceptionReadOnlyBufferException
java.nio.channelsOverview
InterfacesAsynchronousByteChannelAsynchronousChannelByteChannelChannelCompletionHandlerGatheringByteChannelInterruptibleChannelMulticastChannelNetworkChannelReadableByteChannelScatteringByteChannelSeekableByteChannelWritableByteChannel
ClassesAsynchronousChannelGroupAsynchronousFileChannelAsynchronousServerSocketChannelAsynchronousSocketChannelChannelsDatagramChannelFileChannelFileChannel.MapModeFileLockMembershipKeyPipePipe.SinkChannelPipe.SourceChannelSelectableChannelSelectionKeySelectorServerSocketChannelSocketChannel
ExceptionsAcceptPendingExceptionAlreadyBoundExceptionAlreadyConnectedExceptionAsynchronousCloseExceptionCancelledKeyExceptionClosedByInterruptExceptionClosedChannelExceptionClosedSelectorExceptionConnectionPendingExceptionFileLockInterruptionExceptionIllegalBlockingModeExceptionIllegalChannelGroupExceptionIllegalSelectorExceptionInterruptedByTimeoutExceptionNoConnectionPendingExceptionNonReadableChannelExceptionNonWritableChannelExceptionNotYetBoundExceptionNotYetConnectedExceptionOverlappingFileLockExceptionReadPendingExceptionShutdownChannelGroupExceptionUnresolvedAddressExceptionUnsupportedAddressTypeExceptionWritePendingException
java.nio.channels.spiOverview
ClassesAbstractInterruptibleChannelAbstractSelectableChannelAbstractSelectionKeyAbstractSelectorAsynchronousChannelProviderSelectorProvider
java.nio.charsetOverview
ClassesCharsetCharsetDecoderCharsetEncoderCoderResultCodingErrorActionStandardCharsets
ExceptionsCharacterCodingExceptionIllegalCharsetNameExceptionMalformedInputExceptionUnmappableCharacterExceptionUnsupportedCharsetException
ErrorsCoderMalfunctionError
java.nio.charset.spiOverview
ClassesCharsetProvider
java.nio.fileOverview
InterfacesCopyOptionDirectoryStreamDirectoryStream.FilterFileVisitorOpenOptionPathPathMatcherSecureDirectoryStreamWatchableWatchEventWatchEvent.KindWatchEvent.ModifierWatchKeyWatchService
ClassesFilesFileStoreFileSystemFileSystemsLinkPermissionPathsSimpleFileVisitorStandardWatchEventKinds
EnumsAccessModeFileVisitOptionFileVisitResultLinkOptionStandardCopyOptionStandardOpenOption
ExceptionsAccessDeniedExceptionAtomicMoveNotSupportedExceptionClosedDirectoryStreamExceptionClosedFileSystemExceptionClosedWatchServiceExceptionDirectoryIteratorExceptionDirectoryNotEmptyExceptionFileAlreadyExistsExceptionFileSystemAlreadyExistsExceptionFileSystemExceptionFileSystemLoopExceptionFileSystemNotFoundExceptionInvalidPathExceptionNoSuchFileExceptionNotDirectoryExceptionNotLinkExceptionProviderMismatchExceptionProviderNotFoundExceptionReadOnlyFileSystemException
java.nio.file.attributeOverview
InterfacesAclFileAttributeViewAttributeViewBasicFileAttributesBasicFileAttributeViewDosFileAttributesDosFileAttributeViewFileAttributeFileAttributeViewFileOwnerAttributeViewFileStoreAttributeViewGroupPrincipalPosixFileAttributesPosixFileAttributeViewUserDefinedFileAttributeViewUserPrincipal
ClassesAclEntryAclEntry.BuilderFileTimePosixFilePermissionsUserPrincipalLookupService
EnumsAclEntryFlagAclEntryPermissionAclEntryTypePosixFilePermission
ExceptionsUserPrincipalNotFoundException
java.nio.file.spiOverview
ClassesFileSystemProviderFileTypeDetector
java.securityOverview
InterfacesAlgorithmConstraintsCertificateDomainCombinerGuardKeyKeyStore.EntryKeyStore.Entry.AttributeKeyStore.LoadStoreParameterKeyStore.ProtectionParameterPolicy.ParametersPrincipalPrivateKeyPrivilegedActionPrivilegedExceptionActionPublicKey
ClassesAccessControlContextAccessControllerAlgorithmParameterGeneratorAlgorithmParameterGeneratorSpiAlgorithmParametersAlgorithmParametersSpiAllPermissionAuthProviderBasicPermissionCodeSignerCodeSourceDigestInputStreamDigestOutputStreamDomainLoadStoreParameterGuardedObjectIdentityIdentityScopeKeyFactoryKeyFactorySpiKeyPairKeyPairGeneratorKeyPairGeneratorSpiKeyRepKeyStoreKeyStore.BuilderKeyStore.CallbackHandlerProtectionKeyStore.PasswordProtectionKeyStore.PrivateKeyEntryKeyStore.SecretKeyEntryKeyStore.TrustedCertificateEntryKeyStoreSpiMessageDigestMessageDigestSpiPermissionPermissionCollectionPermissionsPKCS12AttributePolicyPolicySpiProtectionDomainProviderProvider.ServiceSecureClassLoaderSecureRandomSecureRandomSpiSecuritySecurityPermissionSignatureSignatureSpiSignedObjectSignerTimestampUnresolvedPermission
EnumsCryptoPrimitiveKeyRep.Type
ExceptionsAccessControlExceptionDigestExceptionGeneralSecurityExceptionInvalidAlgorithmParameterExceptionInvalidKeyExceptionInvalidParameterExceptionKeyExceptionKeyManagementExceptionKeyStoreExceptionNoSuchAlgorithmExceptionNoSuchProviderExceptionPrivilegedActionExceptionProviderExceptionSignatureExceptionUnrecoverableEntryExceptionUnrecoverableKeyException
java.security.aclOverview
InterfacesAclAclEntryGroupOwnerPermission
ExceptionsAclNotFoundExceptionLastOwnerExceptionNotOwnerException
java.security.certOverview
InterfacesCertPathBuilderResultCertPathCheckerCertPathParametersCertPathValidatorException.ReasonCertPathValidatorResultCertSelectorCertStoreParametersCRLSelectorExtensionPolicyNodeX509Extension
ClassesCertificateCertificate.CertificateRepCertificateFactoryCertificateFactorySpiCertPathCertPath.CertPathRepCertPathBuilderCertPathBuilderSpiCertPathValidatorCertPathValidatorSpiCertStoreCertStoreSpiCollectionCertStoreParametersCRLLDAPCertStoreParametersPKIXBuilderParametersPKIXCertPathBuilderResultPKIXCertPathCheckerPKIXCertPathValidatorResultPKIXParametersPKIXRevocationCheckerPolicyQualifierInfoTrustAnchorX509CertificateX509CertSelectorX509CRLX509CRLEntryX509CRLSelector
EnumsCertPathValidatorException.BasicReasonCRLReasonPKIXReasonPKIXRevocationChecker.Option
ExceptionsCertificateEncodingExceptionCertificateExceptionCertificateExpiredExceptionCertificateNotYetValidExceptionCertificateParsingExceptionCertificateRevokedExceptionCertPathBuilderExceptionCertPathValidatorExceptionCertStoreExceptionCRLException
java.security.interfacesOverview
InterfacesDSAKeyDSAKeyPairGeneratorDSAParamsDSAPrivateKeyDSAPublicKeyECKeyECPrivateKeyECPublicKeyRSAKeyRSAMultiPrimePrivateCrtKeyRSAPrivateCrtKeyRSAPrivateKeyRSAPublicKey
java.security.specOverview
InterfacesAlgorithmParameterSpecECFieldKeySpec
ClassesDSAParameterSpecDSAPrivateKeySpecDSAPublicKeySpecECFieldF2mECFieldFpECGenParameterSpecECParameterSpecECPointECPrivateKeySpecECPublicKeySpecEllipticCurveEncodedKeySpecMGF1ParameterSpecPKCS8EncodedKeySpecPSSParameterSpecRSAKeyGenParameterSpecRSAMultiPrimePrivateCrtKeySpecRSAOtherPrimeInfoRSAPrivateCrtKeySpecRSAPrivateKeySpecRSAPublicKeySpecX509EncodedKeySpec
ExceptionsInvalidKeySpecExceptionInvalidParameterSpecException
java.sqlOverview
InterfacesArrayBlobCallableStatementClobConnectionDatabaseMetaDataDriverNClobParameterMetaDataPreparedStatementRefResultSetResultSetMetaDataRowIdSavepointSQLDataSQLInputSQLOutputSQLXMLStatementStructWrapper
ClassesDateDriverManagerDriverPropertyInfoSQLPermissionTimeTimestampTypes
EnumsClientInfoStatusRowIdLifetime
ExceptionsBatchUpdateExceptionDataTruncationSQLClientInfoExceptionSQLDataExceptionSQLExceptionSQLFeatureNotSupportedExceptionSQLIntegrityConstraintViolationExceptionSQLInvalidAuthorizationSpecExceptionSQLNonTransientConnectionExceptionSQLNonTransientExceptionSQLRecoverableExceptionSQLSyntaxErrorExceptionSQLTimeoutExceptionSQLTransactionRollbackExceptionSQLTransientConnectionExceptionSQLTransientExceptionSQLWarning
java.textOverview
InterfacesAttributedCharacterIteratorCharacterIterator
ClassesAnnotationAttributedCharacterIterator.AttributeAttributedStringBidiBreakIteratorChoiceFormatCollationElementIteratorCollationKeyCollatorDateFormatDateFormat.FieldDateFormatSymbolsDecimalFormatDecimalFormatSymbolsFieldPositionFormatFormat.FieldMessageFormatMessageFormat.FieldNormalizerNumberFormatNumberFormat.FieldParsePositionRuleBasedCollatorSimpleDateFormatStringCharacterIterator
EnumsNormalizer.Form
ExceptionsParseException
java.timeOverview
ClassesClockDurationInstantLocalDateLocalDateTimeLocalTimeMonthDayOffsetDateTimeOffsetTimePeriodYearYearMonthZonedDateTimeZoneIdZoneOffset
EnumsDayOfWeekMonth
ExceptionsDateTimeException
java.time.chronoOverview
InterfacesChronoLocalDateChronoLocalDateTimeChronologyChronoPeriodChronoZonedDateTimeEra
ClassesAbstractChronologyHijrahChronologyHijrahDateIsoChronologyJapaneseChronologyJapaneseDateJapaneseEraMinguoChronologyMinguoDateThaiBuddhistChronologyThaiBuddhistDate
EnumsHijrahEraIsoEraMinguoEraThaiBuddhistEra
java.time.formatOverview
ClassesDateTimeFormatterDateTimeFormatterBuilderDecimalStyle
EnumsFormatStyleResolverStyleSignStyleTextStyle
ExceptionsDateTimeParseException
java.time.temporalOverview
InterfacesTemporalTemporalAccessorTemporalAdjusterTemporalAmountTemporalFieldTemporalQueryTemporalUnit
ClassesIsoFieldsJulianFieldsTemporalAdjustersTemporalQueriesValueRangeWeekFields
EnumsChronoFieldChronoUnit
ExceptionsUnsupportedTemporalTypeException
java.time.zoneOverview
ClassesZoneOffsetTransitionZoneOffsetTransitionRuleZoneRules
EnumsZoneOffsetTransitionRule.TimeDefinition
ExceptionsZoneRulesException
java.utilOverview
InterfacesCollectionComparatorDequeEnumerationEventListenerFormattableIteratorListListIteratorMapMap.EntryNavigableMapNavigableSetObserverPrimitiveIteratorPrimitiveIterator.OfDoublePrimitiveIterator.OfIntPrimitiveIterator.OfLongQueueRandomAccessSetSortedMapSortedSetSpliteratorSpliterator.OfDoubleSpliterator.OfIntSpliterator.OfLongSpliterator.OfPrimitive
ClassesAbstractCollectionAbstractListAbstractMapAbstractMap.SimpleEntryAbstractMap.SimpleImmutableEntryAbstractQueueAbstractSequentialListAbstractSetArrayDequeArrayListArraysBase64Base64.DecoderBase64.EncoderBitSetCalendarCalendar.BuilderCollectionsCurrencyDateDictionaryDoubleSummaryStatisticsEnumMapEnumSetEventListenerProxyEventObjectFormattableFlagsFormatterGregorianCalendarHashMapHashSetHashtableIdentityHashMapIntSummaryStatisticsLinkedHashMapLinkedHashSetLinkedListListResourceBundleLocaleLocale.BuilderLocale.LanguageRangeLongSummaryStatisticsObjectsObservableOptionalOptionalDoubleOptionalIntOptionalLongPriorityQueuePropertiesPropertyPermissionPropertyResourceBundleRandomResourceBundleResourceBundle.ControlScannerServiceLoaderSimpleTimeZoneSpliteratorsSpliterators.AbstractDoubleSpliteratorSpliterators.AbstractIntSpliteratorSpliterators.AbstractLongSpliteratorSpliterators.AbstractSpliteratorSplittableRandomStackStringJoinerStringTokenizerTimerTimerTaskTimeZoneTreeMapTreeSetUUIDVectorWeakHashMap
EnumsFormatter.BigDecimalLayoutFormLocale.CategoryLocale.FilteringMode
ExceptionsConcurrentModificationExceptionDuplicateFormatFlagsExceptionEmptyStackExceptionFormatFlagsConversionMismatchExceptionFormatterClosedExceptionIllegalFormatCodePointExceptionIllegalFormatConversionExceptionIllegalFormatExceptionIllegalFormatFlagsExceptionIllegalFormatPrecisionExceptionIllegalFormatWidthExceptionIllformedLocaleExceptionInputMismatchExceptionInvalidPropertiesFormatExceptionMissingFormatArgumentExceptionMissingFormatWidthExceptionMissingResourceExceptionNoSuchElementExceptionTooManyListenersExceptionUnknownFormatConversionExceptionUnknownFormatFlagsException
ErrorsServiceConfigurationError
java.util.concurrentOverview
InterfacesBlockingDequeBlockingQueueCallableCompletableFuture.AsynchronousCompletionTaskCompletionServiceCompletionStageConcurrentMapConcurrentNavigableMapDelayedExecutorExecutorServiceFlow.ProcessorFlow.PublisherFlow.SubscriberFlow.SubscriptionForkJoinPool.ForkJoinWorkerThreadFactoryForkJoinPool.ManagedBlockerFutureRejectedExecutionHandlerRunnableFutureRunnableScheduledFutureScheduledExecutorServiceScheduledFutureThreadFactoryTransferQueue
ClassesAbstractExecutorServiceArrayBlockingQueueCompletableFutureConcurrentHashMapConcurrentHashMap.KeySetViewConcurrentLinkedDequeConcurrentLinkedQueueConcurrentSkipListMapConcurrentSkipListSetCopyOnWriteArrayListCopyOnWriteArraySetCountDownLatchCountedCompleterCyclicBarrierDelayQueueExchangerExecutorCompletionServiceExecutorsFlowForkJoinPoolForkJoinTaskForkJoinWorkerThreadFutureTaskLinkedBlockingDequeLinkedBlockingQueueLinkedTransferQueuePhaserPriorityBlockingQueueRecursiveActionRecursiveTaskScheduledThreadPoolExecutorSemaphoreSynchronousQueueThreadLocalRandomThreadPoolExecutorThreadPoolExecutor.AbortPolicyThreadPoolExecutor.CallerRunsPolicyThreadPoolExecutor.DiscardOldestPolicyThreadPoolExecutor.DiscardPolicy
EnumsTimeUnit
ExceptionsBrokenBarrierExceptionCancellationExceptionCompletionExceptionExecutionExceptionRejectedExecutionExceptionTimeoutException
java.util.concurrent.atomicOverview
ClassesAtomicBooleanAtomicIntegerAtomicIntegerArrayAtomicIntegerFieldUpdaterAtomicLongAtomicLongArrayAtomicLongFieldUpdaterAtomicMarkableReferenceAtomicReferenceAtomicReferenceArrayAtomicReferenceFieldUpdaterAtomicStampedReferenceDoubleAccumulatorDoubleAdderLongAccumulatorLongAdder
java.util.concurrent.locksOverview
InterfacesConditionLockReadWriteLock
ClassesAbstractOwnableSynchronizerAbstractQueuedLongSynchronizerAbstractQueuedLongSynchronizer.ConditionObjectAbstractQueuedSynchronizerAbstractQueuedSynchronizer.ConditionObjectLockSupportReentrantLockReentrantReadWriteLockReentrantReadWriteLock.ReadLockReentrantReadWriteLock.WriteLockStampedLock
java.util.functionOverview
InterfacesBiConsumerBiFunctionBinaryOperatorBiPredicateBooleanSupplierConsumerDoubleBinaryOperatorDoubleConsumerDoubleFunctionDoublePredicateDoubleSupplierDoubleToIntFunctionDoubleToLongFunctionDoubleUnaryOperatorFunctionIntBinaryOperatorIntConsumerIntFunctionIntPredicateIntSupplierIntToDoubleFunctionIntToLongFunctionIntUnaryOperatorLongBinaryOperatorLongConsumerLongFunctionLongPredicateLongSupplierLongToDoubleFunctionLongToIntFunctionLongUnaryOperatorObjDoubleConsumerObjIntConsumerObjLongConsumerPredicateSupplierToDoubleBiFunctionToDoubleFunctionToIntBiFunctionToIntFunctionToLongBiFunctionToLongFunctionUnaryOperator
java.util.jarOverview
InterfacesPack200.PackerPack200.Unpacker
ClassesAttributesAttributes.NameJarEntryJarFileJarInputStreamJarOutputStreamManifestPack200
ExceptionsJarException
java.util.loggingOverview
InterfacesFilterLoggingMXBean
ClassesConsoleHandlerErrorManagerFileHandlerFormatterHandlerLevelLoggerLoggingPermissionLogManagerLogRecordMemoryHandlerSimpleFormatterSocketHandlerStreamHandlerXMLFormatter
java.util.prefsOverview
InterfacesNodeChangeListenerPreferenceChangeListenerPreferencesFactory
ClassesAbstractPreferencesNodeChangeEventPreferenceChangeEventPreferences
ExceptionsBackingStoreExceptionInvalidPreferencesFormatException
java.util.regexOverview
InterfacesMatchResult
ClassesMatcherPattern
ExceptionsPatternSyntaxException
java.util.streamOverview
InterfacesBaseStreamCollectorDoubleStreamDoubleStream.BuilderIntStreamIntStream.BuilderLongStreamLongStream.BuilderStreamStream.Builder
ClassesCollectorsStreamSupport
EnumsCollector.Characteristics
java.util.zipOverview
InterfacesChecksum
ClassesAdler32CheckedInputStreamCheckedOutputStreamCRC32DeflaterDeflaterInputStreamDeflaterOutputStreamGZIPInputStreamGZIPOutputStreamInflaterInflaterInputStreamInflaterOutputStreamZipEntryZipFileZipInputStreamZipOutputStream
ExceptionsDataFormatExceptionZipException
ErrorsZipError
javax.cryptoOverview
InterfacesSecretKey
ClassesCipherCipherInputStreamCipherOutputStreamCipherSpiEncryptedPrivateKeyInfoExemptionMechanismExemptionMechanismSpiKeyAgreementKeyAgreementSpiKeyGeneratorKeyGeneratorSpiMacMacSpiNullCipherSealedObjectSecretKeyFactorySecretKeyFactorySpi
ExceptionsAEADBadTagExceptionBadPaddingExceptionExemptionMechanismExceptionIllegalBlockSizeExceptionNoSuchPaddingExceptionShortBufferException
javax.crypto.interfacesOverview
InterfacesDHKeyDHPrivateKeyDHPublicKeyPBEKey
javax.crypto.specOverview
ClassesDESedeKeySpecDESKeySpecDHGenParameterSpecDHParameterSpecDHPrivateKeySpecDHPublicKeySpecGCMParameterSpecIvParameterSpecOAEPParameterSpecPBEKeySpecPBEParameterSpecPSourcePSource.PSpecifiedRC2ParameterSpecRC5ParameterSpecSecretKeySpec
javax.microedition.khronos.eglOverview
InterfacesEGLEGL10EGL11
ClassesEGLConfigEGLContextEGLDisplayEGLSurface
javax.microedition.khronos.openglesOverview
InterfacesGLGL10GL10ExtGL11GL11ExtGL11ExtensionPack
javax.netOverview
ClassesServerSocketFactorySocketFactory
javax.net.sslOverview
InterfacesHandshakeCompletedListenerHostnameVerifierKeyManagerManagerFactoryParametersSSLSessionSSLSessionBindingListenerSSLSessionContextTrustManagerX509KeyManagerX509TrustManager
ClassesCertPathTrustManagerParametersExtendedSSLSessionHandshakeCompletedEventHttpsURLConnectionKeyManagerFactoryKeyManagerFactorySpiKeyStoreBuilderParametersSNIHostNameSNIMatcherSNIServerNameSSLContextSSLContextSpiSSLEngineSSLEngineResultSSLParametersSSLPermissionSSLServerSocketSSLServerSocketFactorySSLSessionBindingEventSSLSocketSSLSocketFactoryStandardConstantsTrustManagerFactoryTrustManagerFactorySpiX509ExtendedKeyManagerX509ExtendedTrustManager
EnumsSSLEngineResult.HandshakeStatusSSLEngineResult.Status
ExceptionsSSLExceptionSSLHandshakeExceptionSSLKeyExceptionSSLPeerUnverifiedExceptionSSLProtocolException
javax.security.authOverview
InterfacesDestroyable
ClassesAuthPermissionPrivateCredentialPermissionSubjectSubjectDomainCombiner
ExceptionsDestroyFailedException
javax.security.auth.callbackOverview
InterfacesCallbackCallbackHandler
ClassesPasswordCallback
ExceptionsUnsupportedCallbackException
javax.security.auth.loginOverview
ExceptionsLoginException
javax.security.auth.x500Overview
ClassesX500Principal
javax.security.certOverview
ClassesCertificateX509Certificate
ExceptionsCertificateEncodingExceptionCertificateExceptionCertificateExpiredExceptionCertificateNotYetValidExceptionCertificateParsingException
javax.sqlOverview
InterfacesCommonDataSourceConnectionEventListenerConnectionPoolDataSourceDataSourcePooledConnectionRowSetRowSetInternalRowSetListenerRowSetMetaDataRowSetReaderRowSetWriterStatementEventListener
ClassesConnectionEventRowSetEventStatementEvent
javax.xmlOverview
ClassesXMLConstants
javax.xml.datatypeOverview
ClassesDatatypeConstantsDatatypeConstants.FieldDatatypeFactoryDurationXMLGregorianCalendar
ExceptionsDatatypeConfigurationException
javax.xml.namespaceOverview
InterfacesNamespaceContext
ClassesQName
javax.xml.parsersOverview
ClassesDocumentBuilderDocumentBuilderFactorySAXParserSAXParserFactory
ExceptionsParserConfigurationException
ErrorsFactoryConfigurationError
javax.xml.transformOverview
InterfacesErrorListenerResultSourceSourceLocatorTemplatesURIResolver
ClassesOutputKeysTransformerTransformerFactory
ExceptionsTransformerConfigurationExceptionTransformerException
ErrorsTransformerFactoryConfigurationError
javax.xml.transform.domOverview
InterfacesDOMLocator
ClassesDOMResultDOMSource
javax.xml.transform.saxOverview
InterfacesTemplatesHandlerTransformerHandler
ClassesSAXResultSAXSourceSAXTransformerFactory
javax.xml.transform.streamOverview
ClassesStreamResultStreamSource
javax.xml.validationOverview
ClassesSchemaSchemaFactorySchemaFactoryLoaderTypeInfoProviderValidatorValidatorHandler
javax.xml.xpathOverview
InterfacesXPathXPathExpressionXPathFunctionXPathFunctionResolverXPathVariableResolver
ClassesXPathConstantsXPathFactory
ExceptionsXPathExceptionXPathExpressionExceptionXPathFactoryConfigurationExceptionXPathFunctionException
junit.frameworkOverview
InterfacesProtectableTestTestListener
ClassesAssertTestCaseTestFailureTestResultTestSuite
ErrorsAssertionFailedErrorComparisonFailure
junit.runnerOverview
InterfacesTestSuiteLoader
ClassesBaseTestRunnerVersion
org.apache.http.connOverview
ExceptionsConnectTimeoutException
org.apache.http.conn.schemeOverview
InterfacesHostNameResolverLayeredSocketFactorySocketFactory
org.apache.http.conn.sslOverview
InterfacesX509HostnameVerifier
ClassesAbstractVerifierAllowAllHostnameVerifierBrowserCompatHostnameVerifierSSLSocketFactoryStrictHostnameVerifier
org.apache.http.paramsOverview
InterfacesCoreConnectionPNamesHttpParams
ClassesHttpConnectionParams
org.jsonOverview
ClassesJSONArrayJSONObjectJSONStringerJSONTokener
ExceptionsJSONException
org.w3c.domOverview
InterfacesAttrCDATASectionCharacterDataCommentDocumentDocumentFragmentDocumentTypeDOMConfigurationDOMErrorDOMErrorHandlerDOMImplementationDOMImplementationListDOMImplementationSourceDOMLocatorDOMStringListElementEntityEntityReferenceNamedNodeMapNameListNodeNodeListNotationProcessingInstructionTextTypeInfoUserDataHandler
ExceptionsDOMException
org.w3c.dom.lsOverview
InterfacesDOMImplementationLSLSInputLSOutputLSParserLSParserFilterLSResourceResolverLSSerializer
ExceptionsLSException
org.xml.saxOverview
InterfacesAttributeListAttributesContentHandlerDocumentHandlerDTDHandlerEntityResolverErrorHandlerLocatorParserXMLFilterXMLReader
ClassesHandlerBaseInputSource
ExceptionsSAXExceptionSAXNotRecognizedExceptionSAXNotSupportedExceptionSAXParseException
org.xml.sax.extOverview
InterfacesAttributes2DeclHandlerEntityResolver2LexicalHandlerLocator2
ClassesAttributes2ImplDefaultHandler2Locator2Impl
org.xml.sax.helpersOverview
ClassesAttributeListImplAttributesImplDefaultHandlerLocatorImplNamespaceSupportParserAdapterParserFactoryXMLFilterImplXMLReaderAdapterXMLReaderFactory
org.xmlpull.v1Overview
InterfacesXmlPullParserXmlSerializer
ClassesXmlPullParserFactory
ExceptionsXmlPullParserException
org.xmlpull.v1.sax2Overview
ClassesDriver
AndroidDevelopers
Docs
Reference
AddedinAPIlevel1
Summary:
InheritedXMLAttrs
|InheritedConstants
|InheritedFields
|Ctors
|Methods
|ProtectedMethods
|InheritedMethods
EditText
Kotlin
|Java
public
class
EditText
extendsTextView
java.lang.Object
↳
android.view.View
↳
android.widget.TextView
↳
android.widget.EditText
Knowndirectsubclasses
AutoCompleteTextView,ExtractEditText
AutoCompleteTextView
Aneditabletextviewthatshowscompletionsuggestionsautomatically
whiletheuseristyping.
ExtractEditText
SpecializationofEditTextforshowingandinteractingwiththe
extractedtextinafull-screeninputmethod.
Knownindirectsubclasses
MultiAutoCompleteTextView
MultiAutoCompleteTextView
Aneditabletextview,extendingAutoCompleteTextView,that
canshowcompletionsuggestionsforthesubstringofthetextwhere
theuseristypinginsteadofnecessarilyfortheentirething.
Auserinterfaceelementforenteringandmodifyingtext.
Whenyoudefineanedittextwidget,youmustspecifythe
R.styleable.TextView_inputType
attribute.Forexample,forplaintextinputsetinputTypeto"text":
Choosingtheinputtypeconfiguresthekeyboardtypethatisshown,acceptablecharacters,
andappearanceoftheedittext.
Forexample,ifyouwanttoacceptasecretnumber,likeauniquepinorserialnumber,
youcansetinputTypeto"numericPassword".
AninputTypeof"numericPassword"resultsinanedittextthatacceptsnumbersonly,
showsanumerickeyboardwhenfocused,andmasksthetextthatisenteredforprivacy.
SeetheTextFields
guideforexamplesofother
R.styleable.TextView_inputTypesettings.
Youalsocanreceivecallbacksasauserchangestextby
addingaTextWatchertotheedittext.
Thisisusefulwhenyouwanttoaddauto-savefunctionalityaschangesaremade,
orvalidatetheformatofuserinput,forexample.
YouaddatextwatcherusingtheTextView#addTextChangedListenermethod.
Thiswidgetdoesnotsupportauto-sizingtext.
XMLattributes
SeeEditTextAttributes,
TextViewAttributes,
ViewAttributes
Summary
InheritedXMLattributes
Fromclass
android.widget.TextView
android:allowUndo
Whetherundoshouldbeallowedforeditabletext.
android:autoLink
Controlswhetherlinkssuchasurlsandemailaddressesare
automaticallyfoundandconvertedtoclickablelinks.
android:autoSizeMaxTextSize
Themaximumtextsizeconstrainttobeusedwhenauto-sizingtext.
android:autoSizeMinTextSize
Theminimumtextsizeconstrainttobeusedwhenauto-sizingtext.
android:autoSizePresetSizes
Resourcearrayofdimensionstobeusedinconjunctionwith
autoSizeTextTypesettouniform.
android:autoSizeStepGranularity
Specifytheauto-sizestepsizeifautoSizeTextTypeissetto
uniform.
android:autoSizeTextType
Specifythetypeofauto-size.
android:autoText
Ifset,specifiesthatthisTextViewhasatextualinputmethod
andautomaticallycorrectssomecommonspellingerrors.
android:breakStrategy
Breakstrategy(controloverparagraphlayout).
android:bufferType
DeterminestheminimumtypethatgetText()willreturn.
android:capitalize
Ifset,specifiesthatthisTextViewhasatextualinputmethod
andshouldautomaticallycapitalizewhattheusertypes.
android:cursorVisible
Makesthecursorvisible(thedefault)orinvisible.
android:digits
Ifset,specifiesthatthisTextViewhasanumericinputmethod
andthatthesespecificcharactersaretheonesthatitwill
accept.
android:drawableBottom
Thedrawabletobedrawnbelowthetext.
android:drawableEnd
Thedrawabletobedrawntotheendofthetext.
android:drawableLeft
Thedrawabletobedrawntotheleftofthetext.
android:drawablePadding
Thepaddingbetweenthedrawablesandthetext.
android:drawableRight
Thedrawabletobedrawntotherightofthetext.
android:drawableStart
Thedrawabletobedrawntothestartofthetext.
android:drawableTint
Tinttoapplytothecompound(left,top,etc.)drawables.
android:drawableTintMode
Blendingmodeusedtoapplythecompound(left,top,etc.)drawablestint.
android:drawableTop
Thedrawabletobedrawnabovethetext.
android:editable
Ifset,specifiesthatthisTextViewhasaninputmethod.
android:editorExtras
Referencetoan
XMLresourcecontainingadditionaldatato
supplytoaninputmethod,whichisprivatetotheimplementation
oftheinputmethod.
android:elegantTextHeight
Eleganttextheight,especiallyforlesscompactedcomplexscripttext.
android:ellipsize
Ifset,causeswordsthatarelongerthantheviewiswide
tobeellipsizedinsteadofbrokeninthemiddle.
android:ems
MakestheTextViewbeexactlythismanyemswide.
android:enabled
Specifieswhetherthewidgetisenabled.
android:fallbackLineSpacing
Whethertorespecttheascentanddescentofthefallbackfontsthatareusedin
displayingthetext.
android:firstBaselineToTopHeight
DistancefromthetopoftheTextViewtothefirsttextbaseline.
android:fontFamily
Fontfamily(namedbystringorasafontresourcereference)forthetext.
android:fontFeatureSettings
Fontfeaturesettings.
android:fontVariationSettings
Fontvariationsettings.
android:freezesText
Ifset,thetextviewwillincludeitscurrentcompletetext
insideofitsfrozenicicleinadditiontometa-datasuchas
thecurrentcursorposition.
android:gravity
Specifieshowtoalignthetextbytheview'sx-and/ory-axis
whenthetextissmallerthantheview.
android:height
MakestheTextViewbeexactlythistall.
android:hint
Hinttexttodisplaywhenthetextisempty.
android:hyphenationFrequency
Frequencyofautomatichyphenation.
android:imeActionId
Supplyavaluefor
EditorInfo.actionId
usedwhenaninputmethodisconnectedtothetextview.
android:imeActionLabel
Supplyavaluefor
EditorInfo.actionLabel
usedwhenaninputmethodisconnectedtothetextview.
android:imeOptions
AdditionalfeaturesyoucanenableinanIMEassociatedwithaneditor
toimprovetheintegrationwithyourapplication.
android:includeFontPadding
Leaveenoughroomforascendersanddescendersinsteadof
usingthefontascentanddescentstrictly.
android:inputMethod
Ifset,specifiesthatthisTextViewshouldusethespecified
inputmethod(specifiedbyfully-qualifiedclassname).
android:inputType
Thetypeofdatabeingplacedinatextfield,usedtohelpan
inputmethoddecidehowtolettheuserentertext.
android:justificationMode
Modeforjustification.
android:lastBaselineToBottomHeight
DistancefromthebottomoftheTextViewtothelasttextbaseline.
android:letterSpacing
Textletter-spacing.
android:lineHeight
Explicitheightbetweenlinesoftext.
android:lineSpacingExtra
Extraspacingbetweenlinesoftext.
android:lineSpacingMultiplier
Extraspacingbetweenlinesoftext,asamultiplier.
android:lines
MakestheTextViewbeexactlythismanylinestall.
android:linksClickable
Ifsettofalse,keepsthemovementmethodfrombeingset
tothelinkmovementmethodevenifautoLinkcauseslinks
tobefound.
android:marqueeRepeatLimit
Thenumberoftimestorepeatthemarqueeanimation.
android:maxEms
MakestheTextViewbeatmostthismanyemswide.
android:maxHeight
MakestheTextViewbeatmostthismanypixelstall.
android:maxLength
Setaninputfiltertoconstrainthetextlengthtothe
specifiednumber.
android:maxLines
MakestheTextViewbeatmostthismanylinestall.
android:maxWidth
MakestheTextViewbeatmostthismanypixelswide.
android:minEms
MakestheTextViewbeatleastthismanyemswide.
android:minHeight
MakestheTextViewbeatleastthismanypixelstall.
android:minLines
MakestheTextViewbeatleastthismanylinestall.
android:minWidth
MakestheTextViewbeatleastthismanypixelswide.
android:numeric
Ifset,specifiesthatthisTextViewhasanumericinputmethod.
android:password
Whetherthecharactersofthefieldaredisplayedas
passworddotsinsteadofthemselves.
android:phoneNumber
Ifset,specifiesthatthisTextViewhasaphonenumberinput
method.
android:privateImeOptions
Anadditioncontenttypedescriptiontosupplytotheinput
methodattachedtothetextview,whichisprivatetothe
implementationoftheinputmethod.
android:scrollHorizontally
Whetherthetextisallowedtobewiderthantheview(and
thereforecanbescrolledhorizontally).
android:selectAllOnFocus
Ifthetextisselectable,selectitallwhentheviewtakes
focus.
android:shadowColor
Placeablurredshadowoftextunderneaththetext,drawnwiththe
specifiedcolor.
android:shadowDx
Horizontaloffsetofthetextshadow.
android:shadowDy
Verticaloffsetofthetextshadow.
android:shadowRadius
Blurradiusofthetextshadow.
android:singleLine
Constrainsthetexttoasinglehorizontallyscrollingline
insteadoflettingitwrapontomultiplelines,andadvances
focusinsteadofinsertinganewlinewhenyoupressthe
enterkey.
android:text
Texttodisplay.
android:textAllCaps
PresentthetextinALLCAPS.
android:textAppearance
Basetextcolor,typeface,size,andstyle.
android:textColor
Textcolor.
android:textColorHighlight
Colorofthetextselectionhighlight.
android:textColorHint
Colorofthehinttext.
android:textColorLink
Textcolorforlinks.
android:textCursorDrawable
Referencetoadrawablethatwillbedrawnundertheinsertioncursor.
android:textFontWeight
WeightforthefontusedintheTextView.
android:textIsSelectable
Indicatesthatthecontentofanon-editabletextcanbeselected.
android:textScaleX
Setsthehorizontalscalingfactorforthetext.
android:textSelectHandle
Referencetoadrawablethatwillbeusedtodisplayatextselection
anchorforpositioningthecursorwithintext.
android:textSelectHandleLeft
Referencetoadrawablethatwillbeusedtodisplayatextselection
anchorontheleftsideofaselectionregion.
android:textSelectHandleRight
Referencetoadrawablethatwillbeusedtodisplayatextselection
anchorontherightsideofaselectionregion.
android:textSize
Sizeofthetext.
android:textStyle
Style(normal,bold,italic,bold|italic)forthetext.
android:typeface
Typeface(normal,sans,serif,monospace)forthetext.
android:width
MakestheTextViewbeexactlythiswide.
Fromclass
android.view.View
android:accessibilityHeading
Whetherornotthisviewisaheadingforaccessibilitypurposes.
android:accessibilityLiveRegion
Indicatestoaccessibilityserviceswhethertheusershouldbenotifiedwhen
thisviewchanges.
android:accessibilityPaneTitle
Thetitlethisviewshouldpresenttoaccessibilityasapanetitle.
android:accessibilityTraversalAfter
Setstheidofaviewafterwhichthisoneisvisitedinaccessibilitytraversal.
android:accessibilityTraversalBefore
Setstheidofaviewbeforewhichthisoneisvisitedinaccessibilitytraversal.
android:allowClickWhenDisabled
Whetherornotallowclicksondisabledview.
android:alpha
alphapropertyoftheview,asavaluebetween0(completelytransparent)and1
(completelyopaque).
android:autofillHints
Describesthecontentofaviewsothataautofillservicecanfillintheappropriate
data.
android:autofilledHighlight
Drawabletobedrawnovertheviewtomarkitasautofilled
Maybeareferencetoanotherresource,intheform
"@[+][package:]type/name"oratheme
attributeintheform
"?[package:]type/name".
android:background
Adrawabletouseasthebackground.
android:backgroundTint
Tinttoapplytothebackground.
android:backgroundTintMode
Blendingmodeusedtoapplythebackgroundtint.
android:clickable
Defineswhetherthisviewreactstoclickevents.
android:clipToOutline
WhethertheView'sOutlineshouldbeusedtoclipthecontentsoftheView.
android:contentDescription
Definestextthatbrieflydescribescontentoftheview.
android:contextClickable
Defineswhetherthisviewreactstocontextclickevents.
android:defaultFocusHighlightEnabled
WhetherthisViewshoulduseadefaultfocushighlightwhenitgetsfocusedbut
doesn'thaveR.attr.state_focuseddefinedinitsbackground.
android:drawingCacheQuality
Definesthequalityoftranslucentdrawingcaches.
android:duplicateParentState
Whenthisattributeissettotrue,theviewgetsitsdrawablestate
(focused,pressed,etc.)fromitsdirectparentratherthanfromitself.
android:elevation
basezdepthoftheview.
android:fadeScrollbars
Defineswhethertofadeoutscrollbarswhentheyarenotinuse.
android:fadingEdgeLength
Definesthelengthofthefadingedges.
android:filterTouchesWhenObscured
Specifieswhethertofiltertoucheswhentheview'swindowisobscuredby
anothervisiblewindow.
android:fitsSystemWindows
Booleaninternalattributetoadjustviewlayoutbasedon
systemwindowssuchasthestatusbar.
android:focusable
Controlswhetheraviewcantakefocus.
android:focusableInTouchMode
Booleanthatcontrolswhetheraviewcantakefocuswhileintouchmode.
android:focusedByDefault
Whetherthisviewisadefault-focusview.
android:forceHasOverlappingRendering
Whetherthisviewhaselementsthatmayoverlapwhendrawn.
android:foreground
Definesthedrawabletodrawoverthecontent.
android:foregroundGravity
Definesthegravitytoapplytotheforegrounddrawable.
android:foregroundTint
Tinttoapplytotheforeground.
android:foregroundTintMode
Blendingmodeusedtoapplytheforegroundtint.
android:hapticFeedbackEnabled
Booleanthatcontrolswhetheraviewshouldhavehapticfeedback
enabledforeventssuchaslongpresses.
android:id
Supplyanidentifiernameforthisview,tolaterretrieveit
withView.findViewById()or
Activity.findViewById().
android:importantForAccessibility
Describeswhetherornotthisviewisimportantforaccessibility.
android:importantForAutofill
HintstheAndroidSystemwhethertheviewnodeassociatedwiththisViewshouldbe
includedinaviewstructureusedforautofillpurposes.
android:importantForContentCapture
HintstheAndroidSystemwhethertheviewnodeassociatedwiththisViewshouldbe
useforcontentcapturepurposes.
android:isScrollContainer
Setthisiftheviewwillserveasascrollingcontainer,meaning
thatitcanberesizedtoshrinkitsoverallwindowsothatthere
willbespaceforaninputmethod.
android:keepScreenOn
Controlswhethertheview'swindowshouldkeepthescreenon
whilevisible.
android:keyboardNavigationCluster
Whetherthisviewisarootofakeyboardnavigationcluster.
android:layerType
Specifiesthetypeoflayerbackingthisview.
android:layoutDirection
Definesthedirectionoflayoutdrawing.
android:longClickable
Defineswhetherthisviewreactstolongclickevents.
android:minHeight
Definestheminimumheightoftheview.
android:minWidth
Definestheminimumwidthoftheview.
android:nextClusterForward
Definesthenextkeyboardnavigationcluster.
android:nextFocusDown
Definesthenextviewtogivefocustowhenthenextfocusis
View.FOCUS_DOWN
Ifthereferencereferstoaviewthatdoesnotexistorispart
ofahierarchythatisinvisible,aRuntimeException
willresultwhenthereferenceisaccessed.
android:nextFocusForward
Definesthenextviewtogivefocustowhenthenextfocusis
View.FOCUS_FORWARD
Ifthereferencereferstoaviewthatdoesnotexistorispart
ofahierarchythatisinvisible,aRuntimeException
willresultwhenthereferenceisaccessed.
android:nextFocusLeft
Definesthenextviewtogivefocustowhenthenextfocusis
View.FOCUS_LEFT.
android:nextFocusRight
Definesthenextviewtogivefocustowhenthenextfocusis
View.FOCUS_RIGHT
Ifthereferencereferstoaviewthatdoesnotexistorispart
ofahierarchythatisinvisible,aRuntimeException
willresultwhenthereferenceisaccessed.
android:nextFocusUp
Definesthenextviewtogivefocustowhenthenextfocusis
View.FOCUS_UP
Ifthereferencereferstoaviewthatdoesnotexistorispart
ofahierarchythatisinvisible,aRuntimeException
willresultwhenthereferenceisaccessed.
android:onClick
NameofthemethodinthisView'scontexttoinvokewhentheviewis
clicked.
android:outlineAmbientShadowColor
SetsthecoloroftheambientshadowthatisdrawnwhentheviewhasapositiveZ
orelevationvalue.
android:outlineSpotShadowColor
SetsthecolorofthespotshadowthatisdrawnwhentheviewhasapositiveZor
elevationvalue.
android:padding
Setsthepadding,inpixels,ofallfouredges.
android:paddingBottom
Setsthepadding,inpixels,ofthebottomedge;seeR.attr.padding.
android:paddingEnd
Setsthepadding,inpixels,oftheendedge;seeR.attr.padding.
android:paddingHorizontal
Setsthepadding,inpixels,oftheleftandrightedges;see
R.attr.padding.
android:paddingLeft
Setsthepadding,inpixels,oftheleftedge;seeR.attr.padding.
android:paddingRight
Setsthepadding,inpixels,oftherightedge;seeR.attr.padding.
android:paddingStart
Setsthepadding,inpixels,ofthestartedge;seeR.attr.padding.
android:paddingTop
Setsthepadding,inpixels,ofthetopedge;seeR.attr.padding.
android:paddingVertical
Setsthepadding,inpixels,ofthetopandbottomedges;see
R.attr.padding.
android:requiresFadingEdge
Defineswhichedgesshouldbefadedonscrolling.
android:rotation
rotationoftheview,indegrees.
android:rotationX
rotationoftheviewaroundthexaxis,indegrees.
android:rotationY
rotationoftheviewaroundtheyaxis,indegrees.
android:saveEnabled
Iffalse,nostatewillbesavedforthisviewwhenitisbeing
frozen.
android:scaleX
scaleoftheviewinthexdirection.
android:scaleY
scaleoftheviewintheydirection.
android:screenReaderFocusable
Whetherthisviewshouldbetreatedasafocusableunitbyscreenreaderaccessibility
tools.
android:scrollIndicators
Defineswhichscrollindicatorsshouldbedisplayedwhentheview
canbescrolled.
android:scrollX
Theinitialhorizontalscrolloffset,inpixels.
android:scrollY
Theinitialverticalscrolloffset,inpixels.
android:scrollbarAlwaysDrawHorizontalTrack
Defineswhetherthehorizontalscrollbartrackshouldalwaysbedrawn.
android:scrollbarAlwaysDrawVerticalTrack
Defineswhethertheverticalscrollbartrackshouldalwaysbedrawn.
android:scrollbarDefaultDelayBeforeFade
Definesthedelayinmillisecondsthatascrollbarwaitsbeforefadeout.
android:scrollbarFadeDuration
Definesthedelayinmillisecondsthatascrollbartakestofadeout.
android:scrollbarSize
Setsthewidthofverticalscrollbarsandheightofhorizontalscrollbars.
android:scrollbarStyle
Controlsthescrollbarstyleandposition.
android:scrollbarThumbHorizontal
Definesthehorizontalscrollbarthumbdrawable.
android:scrollbarThumbVertical
Definestheverticalscrollbarthumbdrawable.
android:scrollbarTrackHorizontal
Definesthehorizontalscrollbartrackdrawable.
android:scrollbarTrackVertical
Definestheverticalscrollbartrackdrawable.
android:scrollbars
Defineswhichscrollbarsshouldbedisplayedonscrollingornot.
android:soundEffectsEnabled
Booleanthatcontrolswhetheraviewshouldhavesoundeffects
enabledforeventssuchasclickingandtouching.
android:stateListAnimator
Setsthestate-basedanimatorfortheView.
android:tag
SupplyatagforthisviewcontainingaString,toberetrieved
laterwithView.getTag()or
searchedforwithView.findViewWithTag().
android:textAlignment
Definesthealignmentofthetext.
android:textDirection
Definesthedirectionofthetext.
android:theme
Specifiesathemeoverrideforaview.
android:tooltipText
Definestextdisplayedinasmallpopupwindowonhoverorlongpress.
android:transformPivotX
xlocationofthepivotpointaroundwhichtheviewwillrotateandscale.
android:transformPivotY
ylocationofthepivotpointaroundwhichtheviewwillrotateandscale.
android:transitionName
NamesaViewsuchthatitcanbeidentifiedforTransitions.
android:translationX
translationinxoftheview.
android:translationY
translationinyoftheview.
android:translationZ
translationinzoftheview.
android:visibility
Controlstheinitialvisibilityoftheview.
Inheritedconstants
Fromclass
android.widget.TextView
int
AUTO_SIZE_TEXT_TYPE_NONE
TheTextViewdoesnotauto-sizetext(default).
int
AUTO_SIZE_TEXT_TYPE_UNIFORM
TheTextViewscalestextsizebothhorizontallyandverticallytofitwithinthe
container.
Fromclass
android.view.View
int
ACCESSIBILITY_LIVE_REGION_ASSERTIVE
Liveregionmodespecifyingthataccessibilityservicesshouldinterrupt
ongoingspeechtoimmediatelyannouncechangestothisview.
int
ACCESSIBILITY_LIVE_REGION_NONE
Liveregionmodespecifyingthataccessibilityservicesshouldnot
automaticallyannouncechangestothisview.
int
ACCESSIBILITY_LIVE_REGION_POLITE
Liveregionmodespecifyingthataccessibilityservicesshouldannounce
changestothisview.
int
AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS
Flagrequestingyoutoaddviewsthataremarkedasnotimportantforautofill
(seesetImportantForAutofill(int))toaViewStructure.
String
AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE
Hintindicatingthatthisviewcanbeautofilledwithacreditcardexpirationdate.
String
AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY
Hintindicatingthatthisviewcanbeautofilledwithacreditcardexpirationday.
String
AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH
Hintindicatingthatthisviewcanbeautofilledwithacreditcardexpirationmonth.
String
AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR
Hintindicatingthatthisviewcanbeautofilledwithacreditcardexpirationyear.
String
AUTOFILL_HINT_CREDIT_CARD_NUMBER
Hintindicatingthatthisviewcanbeautofilledwithacreditcardnumber.
String
AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE
Hintindicatingthatthisviewcanbeautofilledwithacreditcardsecuritycode.
String
AUTOFILL_HINT_EMAIL_ADDRESS
Hintindicatingthatthisviewcanbeautofilledwithanemailaddress.
String
AUTOFILL_HINT_NAME
Hintindicatingthatthisviewcanbeautofilledwithauser'srealname.
String
AUTOFILL_HINT_PASSWORD
Hintindicatingthatthisviewcanbeautofilledwithapassword.
String
AUTOFILL_HINT_PHONE
Hintindicatingthatthisviewcanbeautofilledwithaphonenumber.
String
AUTOFILL_HINT_POSTAL_ADDRESS
Hintindicatingthatthisviewcanbeautofilledwithapostaladdress.
String
AUTOFILL_HINT_POSTAL_CODE
Hintindicatingthatthisviewcanbeautofilledwithapostalcode.
String
AUTOFILL_HINT_USERNAME
Hintindicatingthatthisviewcanbeautofilledwithausername.
int
AUTOFILL_TYPE_DATE
Autofilltypeforafieldthatcontainsadate,whichisrepresentedbyalongrepresenting
thenumberofmillisecondssincethestandardbasetimeknownas"theepoch",namely
January1,1970,00:00:00GMT(seeDate.getTime().
int
AUTOFILL_TYPE_LIST
Autofilltypeforaselectionlistfield,whichisfilledbyanint
representingtheelementindexinsidethelist(startingat0).
int
AUTOFILL_TYPE_NONE
Autofilltypeforviewsthatcannotbeautofilled.
int
AUTOFILL_TYPE_TEXT
Autofilltypeforatextfield,whichisfilledbyaCharSequence.
int
AUTOFILL_TYPE_TOGGLE
Autofilltypeforatogglablefield,whichisfilledbyaboolean.
int
DRAG_FLAG_ACCESSIBILITY_ACTION
Flagindicatingthatthedragwasinitiatedwith
AccessibilityNodeInfo.AccessibilityAction#ACTION_DRAG_START.
int
DRAG_FLAG_GLOBAL
Flagindicatingthatadragcancrosswindowboundaries.
int
DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION
WhenthisflagisusedwithDRAG_FLAG_GLOBAL_URI_READand/orDRAG_FLAG_GLOBAL_URI_WRITE,theURIpermissiongrantcanbepersistedacrossdevice
rebootsuntilexplicitlyrevokedwith
Context.revokeUriPermission(Uri,int)Context.revokeUriPermission}.
int
DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION
WhenthisflagisusedwithDRAG_FLAG_GLOBAL_URI_READand/orDRAG_FLAG_GLOBAL_URI_WRITE,theURIpermissiongrantappliestoanyURIthatisaprefix
matchagainsttheoriginalgrantedURI.
int
DRAG_FLAG_GLOBAL_URI_READ
WhenthisflagisusedwithDRAG_FLAG_GLOBAL,thedragrecipientwillbeableto
requestreadaccesstothecontentURI(s)containedintheClipDataobject.
int
DRAG_FLAG_GLOBAL_URI_WRITE
WhenthisflagisusedwithDRAG_FLAG_GLOBAL,thedragrecipientwillbeableto
requestwriteaccesstothecontentURI(s)containedintheClipDataobject.
int
DRAG_FLAG_OPAQUE
Flagindicatingthatthedragshadowwillbeopaque.
int
DRAWING_CACHE_QUALITY_AUTO
Thisconstantwasdeprecated
inAPIlevel28.
Theviewdrawingcachewaslargelymadeobsoletewiththeintroductionof
hardware-acceleratedrenderinginAPI11.Withhardware-acceleration,intermediatecache
layersarelargelyunnecessaryandcaneasilyresultinanetlossinperformanceduetothe
costofcreatingandupdatingthelayer.Intherarecaseswherecachinglayersareuseful,
suchasforalphaanimations,setLayerType(int,android.graphics.Paint)handlesthiswithhardware
rendering.Forsoftware-renderedsnapshotsofasmallpartoftheViewhierarchyor
individualViewsitisrecommendedtocreateaCanvasfromeitheraBitmapor
Pictureandcalldraw(android.graphics.Canvas)ontheView.Howeverthese
software-renderedusagesarediscouragedandhavecompatibilityissueswithhardware-only
renderingfeaturessuchasConfig.HARDWARE
bitmaps,real-timeshadows,andoutlineclipping.ForscreenshotsoftheUIforfeedback
reportsorunittestingthePixelCopyAPIisrecommended.
int
DRAWING_CACHE_QUALITY_HIGH
Thisconstantwasdeprecated
inAPIlevel28.
Theviewdrawingcachewaslargelymadeobsoletewiththeintroductionof
hardware-acceleratedrenderinginAPI11.Withhardware-acceleration,intermediatecache
layersarelargelyunnecessaryandcaneasilyresultinanetlossinperformanceduetothe
costofcreatingandupdatingthelayer.Intherarecaseswherecachinglayersareuseful,
suchasforalphaanimations,setLayerType(int,android.graphics.Paint)handlesthiswithhardware
rendering.Forsoftware-renderedsnapshotsofasmallpartoftheViewhierarchyor
individualViewsitisrecommendedtocreateaCanvasfromeitheraBitmapor
Pictureandcalldraw(android.graphics.Canvas)ontheView.Howeverthese
software-renderedusagesarediscouragedandhavecompatibilityissueswithhardware-only
renderingfeaturessuchasConfig.HARDWARE
bitmaps,real-timeshadows,andoutlineclipping.ForscreenshotsoftheUIforfeedback
reportsorunittestingthePixelCopyAPIisrecommended.
int
DRAWING_CACHE_QUALITY_LOW
Thisconstantwasdeprecated
inAPIlevel28.
Theviewdrawingcachewaslargelymadeobsoletewiththeintroductionof
hardware-acceleratedrenderinginAPI11.Withhardware-acceleration,intermediatecache
layersarelargelyunnecessaryandcaneasilyresultinanetlossinperformanceduetothe
costofcreatingandupdatingthelayer.Intherarecaseswherecachinglayersareuseful,
suchasforalphaanimations,setLayerType(int,android.graphics.Paint)handlesthiswithhardware
rendering.Forsoftware-renderedsnapshotsofasmallpartoftheViewhierarchyor
individualViewsitisrecommendedtocreateaCanvasfromeitheraBitmapor
Pictureandcalldraw(android.graphics.Canvas)ontheView.Howeverthese
software-renderedusagesarediscouragedandhavecompatibilityissueswithhardware-only
renderingfeaturessuchasConfig.HARDWARE
bitmaps,real-timeshadows,andoutlineclipping.ForscreenshotsoftheUIforfeedback
reportsorunittestingthePixelCopyAPIisrecommended.
int
FIND_VIEWS_WITH_CONTENT_DESCRIPTION
Findfindviewsthatcontainthespecifiedcontentdescription.
int
FIND_VIEWS_WITH_TEXT
Findviewsthatrenderthespecifiedtext.
int
FOCUSABLE
Thisviewwantskeystrokes.
int
FOCUSABLES_ALL
ViewflagindicatingwhetheraddFocusables(java.util.ArrayList,int,int)
shouldaddallfocusableViewsregardlessiftheyarefocusableintouchmode.
int
FOCUSABLES_TOUCH_MODE
ViewflagindicatingwhetheraddFocusables(java.util.ArrayList,int,int)
shouldaddonlyViewsfocusableintouchmode.
int
FOCUSABLE_AUTO
Thisviewdeterminesfocusabilityautomatically.
int
FOCUS_BACKWARD
UsewithfocusSearch(int).
int
FOCUS_DOWN
UsewithfocusSearch(int).
int
FOCUS_FORWARD
UsewithfocusSearch(int).
int
FOCUS_LEFT
UsewithfocusSearch(int).
int
FOCUS_RIGHT
UsewithfocusSearch(int).
int
FOCUS_UP
UsewithfocusSearch(int).
int
GONE
Thisviewisinvisible,anditdoesn'ttakeanyspaceforlayout
purposes.
int
HAPTIC_FEEDBACK_ENABLED
Viewflagindicatingwhetherthisviewshouldhavehapticfeedback
enabledforeventssuchaslongpresses.
int
IMPORTANT_FOR_ACCESSIBILITY_AUTO
Automaticallydeterminewhetheraviewisimportantforaccessibility.
int
IMPORTANT_FOR_ACCESSIBILITY_NO
Theviewisnotimportantforaccessibility.
int
IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS
Theviewisnotimportantforaccessibility,norareanyofits
descendantviews.
int
IMPORTANT_FOR_ACCESSIBILITY_YES
Theviewisimportantforaccessibility.
int
IMPORTANT_FOR_AUTOFILL_AUTO
Automaticallydeterminewhetheraviewisimportantforautofill.
int
IMPORTANT_FOR_AUTOFILL_NO
Theviewisnotimportantforautofill,butitschildren(ifany)willbetraversed.
int
IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS
Theviewisnotimportantforautofill,anditschildren(ifany)willnotbetraversed.
int
IMPORTANT_FOR_AUTOFILL_YES
Theviewisimportantforautofill,anditschildren(ifany)willbetraversed.
int
IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS
Theviewisimportantforautofill,butitschildren(ifany)willnotbetraversed.
int
IMPORTANT_FOR_CONTENT_CAPTURE_AUTO
Automaticallydeterminewhetheraviewisimportantforcontentcapture.
int
IMPORTANT_FOR_CONTENT_CAPTURE_NO
Theviewisnotimportantforcontentcapture,butitschildren(ifany)willbetraversed.
int
IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS
Theviewisnotimportantforcontentcapture,anditschildren(ifany)willnotbe
traversed.
int
IMPORTANT_FOR_CONTENT_CAPTURE_YES
Theviewisimportantforcontentcapture,anditschildren(ifany)willbetraversed.
int
IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS
Theviewisimportantforcontentcapture,butitschildren(ifany)willnotbetraversed.
int
INVISIBLE
Thisviewisinvisible,butitstilltakesupspaceforlayoutpurposes.
int
KEEP_SCREEN_ON
Viewflagindicatingthatthescreenshouldremainonwhilethe
windowcontainingthisviewisvisibletotheuser.
int
LAYER_TYPE_HARDWARE
Indicatesthattheviewhasahardwarelayer.
int
LAYER_TYPE_NONE
Indicatesthattheviewdoesnothavealayer.
int
LAYER_TYPE_SOFTWARE
Indicatesthattheviewhasasoftwarelayer.
int
LAYOUT_DIRECTION_INHERIT
Horizontallayoutdirectionofthisviewisinheritedfromitsparent.
int
LAYOUT_DIRECTION_LOCALE
Horizontallayoutdirectionofthisviewisfromdeducedfromthedefaultlanguage
scriptforthelocale.
int
LAYOUT_DIRECTION_LTR
HorizontallayoutdirectionofthisviewisfromLefttoRight.
int
LAYOUT_DIRECTION_RTL
HorizontallayoutdirectionofthisviewisfromRighttoLeft.
int
MEASURED_HEIGHT_STATE_SHIFT
BitshiftofMEASURED_STATE_MASKtogettotheheightbits
forfunctionsthatcombinebothwidthandheightintoasingleint,
suchasgetMeasuredState()andthechildStateargumentof
resolveSizeAndState(int,int,int).
int
MEASURED_SIZE_MASK
BitsofgetMeasuredWidthAndState()and
getMeasuredWidthAndState()thatprovidetheactualmeasuredsize.
int
MEASURED_STATE_MASK
BitsofgetMeasuredWidthAndState()and
getMeasuredWidthAndState()thatprovidetheadditionalstatebits.
int
MEASURED_STATE_TOO_SMALL
BitofgetMeasuredWidthAndState()and
getMeasuredWidthAndState()thatindicatesthemeasuredsize
issmallerthatthespacetheviewwouldliketohave.
int
NOT_FOCUSABLE
Thisviewdoesnotwantkeystrokes.
int
NO_ID
UsedtomarkaViewthathasnoID.
int
OVER_SCROLL_ALWAYS
Alwaysallowausertoover-scrollthisview,provideditisa
viewthatcanscroll.
int
OVER_SCROLL_IF_CONTENT_SCROLLS
Allowausertoover-scrollthisviewonlyifthecontentislarge
enoughtomeaningfullyscroll,provideditisaviewthatcanscroll.
int
OVER_SCROLL_NEVER
Neverallowausertoover-scrollthisview.
int
SCREEN_STATE_OFF
Indicatesthatthescreenhaschangedstateandisnowoff.
int
SCREEN_STATE_ON
Indicatesthatthescreenhaschangedstateandisnowon.
int
SCROLLBARS_INSIDE_INSET
Thescrollbarstyletodisplaythescrollbarsinsidethepaddedarea,
increasingthepaddingoftheview.
int
SCROLLBARS_INSIDE_OVERLAY
Thescrollbarstyletodisplaythescrollbarsinsidethecontentarea,
withoutincreasingthepadding.
int
SCROLLBARS_OUTSIDE_INSET
Thescrollbarstyletodisplaythescrollbarsattheedgeoftheview,
increasingthepaddingoftheview.
int
SCROLLBARS_OUTSIDE_OVERLAY
Thescrollbarstyletodisplaythescrollbarsattheedgeoftheview,
withoutincreasingthepadding.
int
SCROLLBAR_POSITION_DEFAULT
Positionthescrollbaratthedefaultpositionasdeterminedbythesystem.
int
SCROLLBAR_POSITION_LEFT
Positionthescrollbaralongtheleftedge.
int
SCROLLBAR_POSITION_RIGHT
Positionthescrollbaralongtherightedge.
int
SCROLL_AXIS_HORIZONTAL
Indicatesscrollingalongthehorizontalaxis.
int
SCROLL_AXIS_NONE
Indicatesnoaxisofviewscrolling.
int
SCROLL_AXIS_VERTICAL
Indicatesscrollingalongtheverticalaxis.
int
SCROLL_CAPTURE_HINT_AUTO
Thecontentofthisviewwillbeconsideredforscrollcaptureifscrollingispossible.
int
SCROLL_CAPTURE_HINT_EXCLUDE
Explicitlyexcludethisviewasapotentialscrollcapturetarget.
int
SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS
Explicitlyexcludeallchildrenofthisviewaspotentialscrollcapturetargets.
int
SCROLL_CAPTURE_HINT_INCLUDE
Explicitlyincludethisviewasapotentialscrollcapturetarget.
int
SCROLL_INDICATOR_BOTTOM
Scrollindicatordirectionforthebottomedgeoftheview.
int
SCROLL_INDICATOR_END
Scrollindicatordirectionfortheendingedgeoftheview.
int
SCROLL_INDICATOR_LEFT
Scrollindicatordirectionfortheleftedgeoftheview.
int
SCROLL_INDICATOR_RIGHT
Scrollindicatordirectionfortherightedgeoftheview.
int
SCROLL_INDICATOR_START
Scrollindicatordirectionforthestartingedgeoftheview.
int
SCROLL_INDICATOR_TOP
Scrollindicatordirectionforthetopedgeoftheview.
int
SOUND_EFFECTS_ENABLED
Viewflagindicatingwhetherthisviewshouldhavesoundeffectsenabled
foreventssuchasclickingandtouching.
int
STATUS_BAR_HIDDEN
Thisconstantwasdeprecated
inAPIlevel15.
UseSYSTEM_UI_FLAG_LOW_PROFILEinstead.
int
STATUS_BAR_VISIBLE
Thisconstantwasdeprecated
inAPIlevel15.
UseSYSTEM_UI_FLAG_VISIBLEinstead.
int
SYSTEM_UI_FLAG_FULLSCREEN
Thisconstantwasdeprecated
inAPIlevel30.
UseWindowInsetsController#hide(int)withType#statusBars()
instead.
int
SYSTEM_UI_FLAG_HIDE_NAVIGATION
Thisconstantwasdeprecated
inAPIlevel30.
UseWindowInsetsController#hide(int)withType#navigationBars()
instead.
int
SYSTEM_UI_FLAG_IMMERSIVE
Thisconstantwasdeprecated
inAPIlevel30.
UseWindowInsetsController#BEHAVIOR_DEFAULTinstead.
int
SYSTEM_UI_FLAG_IMMERSIVE_STICKY
Thisconstantwasdeprecated
inAPIlevel30.
UseWindowInsetsController#BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPEinstead.
int
SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
Thisconstantwasdeprecated
inAPIlevel30.
Forfloatingwindows,useLayoutParams#setFitInsetsTypes(int)with
Type#statusBars()()}.Fornon-floatingwindowsthatfillthescreen,call
Window#setDecorFitsSystemWindows(boolean)withfalse.
int
SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
Thisconstantwasdeprecated
inAPIlevel30.
Forfloatingwindows,useLayoutParams#setFitInsetsTypes(int)with
Type#navigationBars().Fornon-floatingwindowsthatfillthescreen,call
Window#setDecorFitsSystemWindows(boolean)withfalse.
int
SYSTEM_UI_FLAG_LAYOUT_STABLE
Thisconstantwasdeprecated
inAPIlevel30.
UseWindowInsets#getInsetsIgnoringVisibility(int)insteadtoretrieve
insetsthatdon'tchangewhensystembarschangevisibilitystate.
int
SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR
Thisconstantwasdeprecated
inAPIlevel30.
UseWindowInsetsController#APPEARANCE_LIGHT_NAVIGATION_BARSinstead.
int
SYSTEM_UI_FLAG_LIGHT_STATUS_BAR
Thisconstantwasdeprecated
inAPIlevel30.
UseWindowInsetsController#APPEARANCE_LIGHT_STATUS_BARSinstead.
int
SYSTEM_UI_FLAG_LOW_PROFILE
Thisconstantwasdeprecated
inAPIlevel30.
Lowprofilemodeisdeprecated.Hidethesystembarsinsteadiftheapplication
needstobeinaunobtrusivemode.UseWindowInsetsController#hide(int)with
Type#systemBars().
int
SYSTEM_UI_FLAG_VISIBLE
Thisconstantwasdeprecated
inAPIlevel30.
SystemUiVisibilityflagsaredeprecated.UseWindowInsetsController
instead.
int
SYSTEM_UI_LAYOUT_FLAGS
Thisconstantwasdeprecated
inAPIlevel30.
SystemUIlayoutflagsaredeprecated.
int
TEXT_ALIGNMENT_CENTER
Centertheparagraph,e.g. ALIGN_CENTER.
int
TEXT_ALIGNMENT_GRAVITY
Defaultfortherootview.
int
TEXT_ALIGNMENT_INHERIT
Defaulttextalignment.
int
TEXT_ALIGNMENT_TEXT_END
Aligntotheendoftheparagraph,e.g. ALIGN_OPPOSITE.
int
TEXT_ALIGNMENT_TEXT_START
Aligntothestartoftheparagraph,e.g. ALIGN_NORMAL.
int
TEXT_ALIGNMENT_VIEW_END
Aligntotheendoftheview,whichisALIGN_RIGHTiftheview'sresolved
layoutDirectionisLTR,andALIGN_LEFTotherwise.
int
TEXT_ALIGNMENT_VIEW_START
Aligntothestartoftheview,whichisALIGN_LEFTiftheview'sresolved
layoutDirectionisLTR,andALIGN_RIGHTotherwise.
int
TEXT_DIRECTION_ANY_RTL
Textdirectionisusing"any-RTL"algorithm.
int
TEXT_DIRECTION_FIRST_STRONG
Textdirectionisusing"firststrongalgorithm".
int
TEXT_DIRECTION_FIRST_STRONG_LTR
Textdirectionisusing"firststrongalgorithm".
int
TEXT_DIRECTION_FIRST_STRONG_RTL
Textdirectionisusing"firststrongalgorithm".
int
TEXT_DIRECTION_INHERIT
TextdirectionisinheritedthroughViewGroup
int
TEXT_DIRECTION_LOCALE
TextdirectioniscomingfromthesystemLocale.
int
TEXT_DIRECTION_LTR
TextdirectionisforcedtoLTR.
int
TEXT_DIRECTION_RTL
TextdirectionisforcedtoRTL.
String
VIEW_LOG_TAG
Theloggingtagusedbythisclasswithandroid.util.Log.
int
VISIBLE
Thisviewisvisible.
Inheritedfields
Fromclass
android.view.View
public
static
final
Property
ALPHA
APropertywrapperaroundthealphafunctionalityhandledbythe
View#setAlpha(float)andView#getAlpha()methods.
protected
static
final
int[]
EMPTY_STATE_SET
Indicatestheviewhasnostatesset.
protected
static
final
int[]
ENABLED_FOCUSED_SELECTED_STATE_SET
Indicatestheviewisenabled,focusedandselected.
protected
static
final
int[]
ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET
Indicatestheviewisenabled,focused,selectedanditswindow
hasthefocus.
protected
static
final
int[]
ENABLED_FOCUSED_STATE_SET
Indicatestheviewisenabledandhasthefocus.
protected
static
final
int[]
ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET
Indicatestheviewisenabled,focusedanditswindowhasthefocus.
protected
static
final
int[]
ENABLED_SELECTED_STATE_SET
Indicatestheviewisenabledandselected.
protected
static
final
int[]
ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET
Indicatestheviewisenabled,selectedanditswindowhasthefocus.
protected
static
final
int[]
ENABLED_STATE_SET
Indicatestheviewisenabled.
protected
static
final
int[]
ENABLED_WINDOW_FOCUSED_STATE_SET
Indicatestheviewisenabledandthatitswindowhasfocus.
protected
static
final
int[]
FOCUSED_SELECTED_STATE_SET
Indicatestheviewisfocusedandselected.
protected
static
final
int[]
FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET
Indicatestheviewisfocused,selectedanditswindowhasthefocus.
protected
static
final
int[]
FOCUSED_STATE_SET
Indicatestheviewisfocused.
protected
static
final
int[]
FOCUSED_WINDOW_FOCUSED_STATE_SET
Indicatestheviewhasthefocusandthatitswindowhasthefocus.
protected
static
final
int[]
PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET
Indicatestheviewispressed,enabled,focusedandselected.
protected
static
final
int[]
PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET
Indicatestheviewispressed,enabled,focused,selectedanditswindow
hasthefocus.
protected
static
final
int[]
PRESSED_ENABLED_FOCUSED_STATE_SET
Indicatestheviewispressed,enabledandfocused.
protected
static
final
int[]
PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET
Indicatestheviewispressed,enabled,focusedanditswindowhasthe
focus.
protected
static
final
int[]
PRESSED_ENABLED_SELECTED_STATE_SET
Indicatestheviewispressed,enabledandselected.
protected
static
final
int[]
PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET
Indicatestheviewispressed,enabled,selectedanditswindowhasthe
focus.
protected
static
final
int[]
PRESSED_ENABLED_STATE_SET
Indicatestheviewispressedandenabled.
protected
static
final
int[]
PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET
Indicatestheviewispressed,enabledanditswindowhasthefocus.
protected
static
final
int[]
PRESSED_FOCUSED_SELECTED_STATE_SET
Indicatestheviewispressed,focusedandselected.
protected
static
final
int[]
PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET
Indicatestheviewispressed,focused,selectedanditswindowhasthefocus.
protected
static
final
int[]
PRESSED_FOCUSED_STATE_SET
Indicatestheviewispressedandfocused.
protected
static
final
int[]
PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET
Indicatestheviewispressed,focusedanditswindowhasthefocus.
protected
static
final
int[]
PRESSED_SELECTED_STATE_SET
Indicatestheviewispressedandselected.
protected
static
final
int[]
PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET
Indicatestheviewispressed,selectedanditswindowhasthefocus.
protected
static
final
int[]
PRESSED_STATE_SET
Indicatestheviewispressed.
protected
static
final
int[]
PRESSED_WINDOW_FOCUSED_STATE_SET
Indicatestheviewispressedanditswindowhasthefocus.
public
static
final
Property
ROTATION
APropertywrapperaroundtherotationfunctionalityhandledbythe
View#setRotation(float)andView#getRotation()methods.
public
static
final
Property
ROTATION_X
APropertywrapperaroundtherotationXfunctionalityhandledbythe
View#setRotationX(float)andView#getRotationX()methods.
public
static
final
Property
ROTATION_Y
APropertywrapperaroundtherotationYfunctionalityhandledbythe
View#setRotationY(float)andView#getRotationY()methods.
public
static
final
Property
SCALE_X
APropertywrapperaroundthescaleXfunctionalityhandledbythe
View#setScaleX(float)andView#getScaleX()methods.
public
static
final
Property
SCALE_Y
APropertywrapperaroundthescaleYfunctionalityhandledbythe
View#setScaleY(float)andView#getScaleY()methods.
protected
static
final
int[]
SELECTED_STATE_SET
Indicatestheviewisselected.
protected
static
final
int[]
SELECTED_WINDOW_FOCUSED_STATE_SET
Indicatestheviewisselectedandthatitswindowhasthefocus.
public
static
final
Property
TRANSLATION_X
APropertywrapperaroundthetranslationXfunctionalityhandledbythe
View#setTranslationX(float)andView#getTranslationX()methods.
public
static
final
Property
TRANSLATION_Y
APropertywrapperaroundthetranslationYfunctionalityhandledbythe
View#setTranslationY(float)andView#getTranslationY()methods.
public
static
final
Property
TRANSLATION_Z
APropertywrapperaroundthetranslationZfunctionalityhandledbythe
View#setTranslationZ(float)andView#getTranslationZ()methods.
protected
static
final
int[]
WINDOW_FOCUSED_STATE_SET
Indicatestheview'swindowhasfocus.
public
static
final
Property
X
APropertywrapperaroundthexfunctionalityhandledbythe
View#setX(float)andView#getX()methods.
public
static
final
Property
Y
APropertywrapperaroundtheyfunctionalityhandledbythe
View#setY(float)andView#getY()methods.
public
static
final
Property
Z
APropertywrapperaroundthezfunctionalityhandledbythe
View#setZ(float)andView#getZ()methods.
Publicconstructors
EditText(Contextcontext)
EditText(Contextcontext,AttributeSetattrs)
EditText(Contextcontext,AttributeSetattrs,intdefStyleAttr)
EditText(Contextcontext,AttributeSetattrs,intdefStyleAttr,intdefStyleRes)
Publicmethods
void
extendSelection(intindex)
ConvenienceforSelection#extendSelection.
CharSequence
getAccessibilityClassName()
Returntheclassnameofthisobjecttobeusedforaccessibilitypurposes.
boolean
getFreezesText()
Returnwhetherthistextviewisincludingitsentiretextcontents
infrozenicicles.
Editable
getText()
ReturnthetextthatTextViewisdisplaying.
void
selectAll()
ConvenienceforSelection#selectAll.
void
setEllipsize(TextUtils.TruncateAtellipsis)
Causeswordsinthetextthatarelongerthantheview'swidthtobeellipsizedinsteadof
brokeninthemiddle.
void
setSelection(intstart,intstop)
ConvenienceforSelection#setSelection(Spannable,int,int).
void
setSelection(intindex)
ConvenienceforSelection#setSelection(Spannable,int).
void
setText(CharSequencetext,TextView.BufferTypetype)
SetsthetexttobedisplayedandtheTextView.BufferType.
Protectedmethods
boolean
getDefaultEditable()
SubclassesoverridethistospecifythattheyhaveaKeyListener
bydefaultevenifnotspecificallycalledforintheXMLoptions.
MovementMethod
getDefaultMovementMethod()
Subclassesoverridethistospecifyadefaultmovementmethod.
Inheritedmethods
Fromclass
android.widget.TextView
void
addExtraDataToAccessibilityNodeInfo(AccessibilityNodeInfoinfo,StringextraDataKey,Bundlearguments)
AddsextradatatoanAccessibilityNodeInfobasedonanexplicitrequestforthe
additionaldata.
void
addTextChangedListener(TextWatcherwatcher)
AddsaTextWatchertothelistofthosewhosemethodsarecalled
wheneverthisTextView'stextchanges.
final
void
append(CharSequencetext)
ConveniencemethodtoappendthespecifiedtexttotheTextView's
displaybuffer,upgradingittoTextView.BufferType.EDITABLE
ifitwasnotalreadyeditable.
void
append(CharSequencetext,intstart,intend)
ConveniencemethodtoappendthespecifiedtextslicetotheTextView's
displaybuffer,upgradingittoTextView.BufferType.EDITABLE
ifitwasnotalreadyeditable.
void
autofill(AutofillValuevalue)
Automaticallyfillsthecontentofthisviewwiththevalue.
void
beginBatchEdit()
boolean
bringPointIntoView(intoffset)
Movethepoint,specifiedbytheoffset,intotheviewifitisneeded.
void
cancelLongPress()
Cancelsapendinglongpress.
void
clearComposingText()
UseBaseInputConnection.removeComposingSpans()toremoveanyIMEcomposing
statefromthistextview.
int
computeHorizontalScrollRange()
Computethehorizontalrangethatthehorizontalscrollbar
represents.
void
computeScroll()
CalledbyaparenttorequestthatachildupdateitsvaluesformScrollX
andmScrollYifnecessary.
int
computeVerticalScrollExtent()
Computetheverticalextentoftheverticalscrollbar'sthumb
withintheverticalrange.
int
computeVerticalScrollRange()
Computetheverticalrangethattheverticalscrollbarrepresents.
void
debug(intdepth)
boolean
didTouchFocusSelect()
Returnstrue,onlywhileprocessingatouchgesture,iftheinitial
touchdowneventcausedfocustomovetothetextviewandasaresult
itsselectionchanged.
void
drawableHotspotChanged(floatx,floaty)
Thisfunctioniscalledwhenevertheviewhotspotchangesandneedsto
bepropagatedtodrawablesorchildviewsmanagedbytheview.
void
drawableStateChanged()
Thisfunctioniscalledwheneverthestateoftheviewchangesinsuch
awaythatitimpactsthestateofdrawablesbeingshown.
void
endBatchEdit()
boolean
extractText(ExtractedTextRequestrequest,ExtractedTextoutText)
IfthisTextViewcontainseditablecontent,extractaportionofit
basedontheinformationinrequestintooutText.
void
findViewsWithText(ArrayListoutViews,CharSequencesearched,intflags)
FindstheViewsthatcontaingiventext.
CharSequence
getAccessibilityClassName()
Returntheclassnameofthisobjecttobeusedforaccessibilitypurposes.
final
int
getAutoLinkMask()
Getstheautolinkmaskofthetext.
int
getAutoSizeMaxTextSize()
int
getAutoSizeMinTextSize()
int
getAutoSizeStepGranularity()
int[]
getAutoSizeTextAvailableSizes()
int
getAutoSizeTextType()
Returnsthetypeofauto-sizesetforthiswidget.
int
getAutofillType()
Describestheautofilltypeofthisview,soan
AutofillServicecancreatetheproperAutofillValue
whenautofillingtheview.
AutofillValue
getAutofillValue()
GetstheTextView'scurrenttextforAutoFill.
int
getBaseline()
Returntheoffsetofthewidget'stextbaselinefromthewidget'stop
boundary.
int
getBottomPaddingOffset()
Amountbywhichtoextendthebottomfadingregion.
int
getBreakStrategy()
Getsthecurrentstrategyforbreakingparagraphsintolines.
int
getCompoundDrawablePadding()
Returnsthepaddingbetweenthecompounddrawablesandthetext.
BlendMode
getCompoundDrawableTintBlendMode()
Returnstheblendingmodeusedtoapplythetinttothecompound
drawables,ifspecified.
ColorStateList
getCompoundDrawableTintList()
PorterDuff.Mode
getCompoundDrawableTintMode()
Returnstheblendingmodeusedtoapplythetinttothecompound
drawables,ifspecified.
Drawable[]
getCompoundDrawables()
Returnsdrawablesfortheleft,top,right,andbottomborders.
Drawable[]
getCompoundDrawablesRelative()
Returnsdrawablesforthestart,top,end,andbottomborders.
int
getCompoundPaddingBottom()
Returnsthebottompaddingoftheview,plusspaceforthebottom
Drawableifany.
int
getCompoundPaddingEnd()
Returnstheendpaddingoftheview,plusspacefortheend
Drawableifany.
int
getCompoundPaddingLeft()
Returnstheleftpaddingoftheview,plusspacefortheleft
Drawableifany.
int
getCompoundPaddingRight()
Returnstherightpaddingoftheview,plusspacefortheright
Drawableifany.
int
getCompoundPaddingStart()
Returnsthestartpaddingoftheview,plusspaceforthestart
Drawableifany.
int
getCompoundPaddingTop()
Returnsthetoppaddingoftheview,plusspaceforthetop
Drawableifany.
final
int
getCurrentHintTextColor()
Returnthecurrentcolorselectedtopaintthehinttext.
final
int
getCurrentTextColor()
Returnthecurrentcolorselectedfornormaltext.
ActionMode.Callback
getCustomInsertionActionModeCallback()
RetrievesthevaluesetinsetCustomInsertionActionModeCallback(ActionMode.Callback).
ActionMode.Callback
getCustomSelectionActionModeCallback()
RetrievesthevaluesetinsetCustomSelectionActionModeCallback(ActionMode.Callback).
boolean
getDefaultEditable()
SubclassesoverridethistospecifythattheyhaveaKeyListener
bydefaultevenifnotspecificallycalledforintheXMLoptions.
MovementMethod
getDefaultMovementMethod()
Subclassesoverridethistospecifyadefaultmovementmethod.
Editable
getEditableText()
ReturnthetextthatTextViewisdisplayingasanEditableobject.
TextUtils.TruncateAt
getEllipsize()
Returnswhere,ifanywhere,wordsthatarelongerthantheview
iswideshouldbeellipsized.
CharSequence
getError()
Returnstheerrormessagethatwassettobedisplayedwith
setError(CharSequence),ornullifnoerrorwasset
orifittheerrorwasclearedbythewidgetafteruserinput.
int
getExtendedPaddingBottom()
Returnstheextendedbottompaddingoftheview,includingboththe
bottomDrawableifanyandanyextraspacetokeepmorethanmaxLines
oftextfromshowing.
int
getExtendedPaddingTop()
Returnstheextendedtoppaddingoftheview,includingboththe
topDrawableifanyandanyextraspacetokeepmorethanmaxLines
oftextfromshowing.
InputFilter[]
getFilters()
Returnsthecurrentlistofinputfilters.
int
getFirstBaselineToTopHeight()
ReturnsthedistancebetweenthefirsttextbaselineandthetopofthisTextView.
void
getFocusedRect(Rectr)
Whenaviewhasfocusandtheusernavigatesawayfromit,thenextviewissearchedfor
startingfromtherectanglefilledinbythismethod.
String
getFontFeatureSettings()
Returnsthefontfeaturesettings.
String
getFontVariationSettings()
Returnsthefontvariationsettings.
boolean
getFreezesText()
Returnwhetherthistextviewisincludingitsentiretextcontents
infrozenicicles.
int
getGravity()
ReturnsthehorizontalandverticalalignmentofthisTextView.
int
getHighlightColor()
CharSequence
getHint()
ReturnsthehintthatisdisplayedwhenthetextoftheTextView
isempty.
final
ColorStateList
getHintTextColors()
int
getHyphenationFrequency()
Getsthecurrentfrequencyofautomatichyphenationtobeusedwhendeterminingwordbreaks.
int
getImeActionId()
GettheIMEactionIDprevioussetwithsetImeActionLabel(CharSequence,int).
CharSequence
getImeActionLabel()
GettheIMEactionlabelprevioussetwithsetImeActionLabel(CharSequence,int).
LocaleList
getImeHintLocales()
int
getImeOptions()
GetthetypeoftheInputMethodEditor(IME).
boolean
getIncludeFontPadding()
GetswhethertheTextViewincludesextratopandbottompaddingtomake
roomforaccentsthatgoabovethenormalascentanddescent.
Bundle
getInputExtras(booleancreate)
Retrievetheinputextrascurrentlyassociatedwiththetextview,which
canbeviewedaswellasmodified.
int
getInputType()
Getthetypeoftheeditablecontent.
int
getJustificationMode()
final
KeyListener
getKeyListener()
GetsthecurrentKeyListenerfortheTextView.
int
getLastBaselineToBottomHeight()
ReturnsthedistancebetweenthelasttextbaselineandthebottomofthisTextView.
final
Layout
getLayout()
GetstheLayoutthatiscurrentlybeingusedtodisplaythetext.
float
getLeftFadingEdgeStrength()
Returnsthestrength,orintensity,oftheleftfadededge.
int
getLeftPaddingOffset()
Amountbywhichtoextendtheleftfadingregion.
float
getLetterSpacing()
Getsthetextletter-spacevalue,whichdeterminesthespacingbetweencharacters.
int
getLineBounds(intline,Rectbounds)
Returnthebaselineforthespecifiedline(0...getLineCount()-1)
Ifboundsisnotnull,returnthetop,left,right,bottomextents
ofthespecifiedlineinit.
int
getLineCount()
Returnthenumberoflinesoftext,or0iftheinternalLayouthasnot
beenbuilt.
int
getLineHeight()
Getstheverticaldistancebetweenlinesoftext,inpixels.
float
getLineSpacingExtra()
Getsthelinespacingextraspace
float
getLineSpacingMultiplier()
Getsthelinespacingmultiplier
final
ColorStateList
getLinkTextColors()
final
boolean
getLinksClickable()
Returnswhetherthemovementmethodwillautomaticallybesetto
LinkMovementMethodifsetAutoLinkMask(int)hasbeen
settononzeroandlinksaredetectedinsetText(char[],int,int).
int
getMarqueeRepeatLimit()
Getsthenumberoftimesthemarqueeanimationisrepeated.
int
getMaxEms()
ReturnsthemaximumwidthofTextViewintermsofemsor-1ifthemaximumwidthwasset
usingsetMaxWidth(int)orsetWidth(int).
int
getMaxHeight()
ReturnsthemaximumheightofTextViewintermsofpixelsor-1ifthemaximumheightwas
setusingsetMaxLines(int)orsetLines(int).
int
getMaxLines()
ReturnsthemaximumheightofTextViewintermsofnumberoflinesor-1ifthe
maximumheightwassetusingsetMaxHeight(int)orsetHeight(int).
int
getMaxWidth()
ReturnsthemaximumwidthofTextViewintermsofpixelsor-1ifthemaximumwidthwasset
usingsetMaxEms(int)orsetEms(int).
int
getMinEms()
ReturnstheminimumwidthofTextViewintermsofemsor-1iftheminimumwidthwasset
usingsetMinWidth(int)orsetWidth(int).
int
getMinHeight()
ReturnstheminimumheightofTextViewintermsofpixelsor-1iftheminimumheightwas
setusingsetMinLines(int)orsetLines(int).
int
getMinLines()
ReturnstheminimumheightofTextViewintermsofnumberoflinesor-1iftheminimum
heightwassetusingsetMinHeight(int)orsetHeight(int).
int
getMinWidth()
ReturnstheminimumwidthofTextViewintermsofpixelsor-1iftheminimumwidthwasset
usingsetMinEms(int)orsetEms(int).
final
MovementMethod
getMovementMethod()
GetstheMovementMethodbeingusedforthisTextView,
whichprovidespositioning,scrolling,andtextselectionfunctionality.
int
getOffsetForPosition(floatx,floaty)
Getthecharacteroffsetclosesttothespecifiedabsoluteposition.
TextPaint
getPaint()
GetstheTextPaintusedforthetext.
int
getPaintFlags()
GetstheflagsonthePaintbeingusedtodisplaythetext.
String
getPrivateImeOptions()
Gettheprivatetypeofthecontent.
float
getRightFadingEdgeStrength()
Returnsthestrength,orintensity,oftherightfadededge.
int
getRightPaddingOffset()
Amountbywhichtoextendtherightfadingregion.
int
getSelectionEnd()
ConvenienceforSelection#getSelectionEnd.
int
getSelectionStart()
ConvenienceforSelection#getSelectionStart.
int
getShadowColor()
Getsthecoloroftheshadowlayer.
float
getShadowDx()
float
getShadowDy()
Getstheverticaloffsetoftheshadowlayer.
float
getShadowRadius()
Getstheradiusoftheshadowlayer.
final
boolean
getShowSoftInputOnFocus()
Returnswhetherthesoftinputmethodwillbemadevisiblewhenthis
TextViewgetsfocused.
CharSequence
getText()
ReturnthetextthatTextViewisdisplaying.
TextClassifier
getTextClassifier()
ReturnstheTextClassifierusedbythisTextView.
final
ColorStateList
getTextColors()
Getsthetextcolorsforthedifferentstates(normal,selected,focused)oftheTextView.
Drawable
getTextCursorDrawable()
ReturnstheDrawablecorrespondingtothetextcursor.
TextDirectionHeuristic
getTextDirectionHeuristic()
ReturnsresolvedTextDirectionHeuristicthatwillbeusedfortextlayout.
Locale
getTextLocale()
GetthedefaultprimaryLocaleofthetextinthisTextView.
LocaleList
getTextLocales()
GetthedefaultLocaleListofthetextinthisTextView.
PrecomputedText.Params
getTextMetricsParams()
Getstheparametersfortextlayoutprecomputation,forusewithPrecomputedText.
float
getTextScaleX()
Getstheextentbywhichtextshouldbestretchedhorizontally.
Drawable
getTextSelectHandle()
ReturnstheDrawablecorrespondingtotheselectionhandleused
forpositioningthecursorwithintext.
Drawable
getTextSelectHandleLeft()
ReturnstheDrawablecorrespondingtothelefthandleused
forselectingtext.
Drawable
getTextSelectHandleRight()
ReturnstheDrawablecorrespondingtotherighthandleused
forselectingtext.
float
getTextSize()
int
getTextSizeUnit()
Getsthetextsizeunitdefinedbythedeveloper.
int
getTopPaddingOffset()
Amountbywhichtoextendthetopfadingregion.
int
getTotalPaddingBottom()
Returnsthetotalbottompaddingoftheview,includingthebottom
Drawableifany,theextraspacetokeepmorethanmaxLines
fromshowing,andtheverticaloffsetforgravity,ifany.
int
getTotalPaddingEnd()
Returnsthetotalendpaddingoftheview,includingtheend
Drawableifany.
int
getTotalPaddingLeft()
Returnsthetotalleftpaddingoftheview,includingtheleft
Drawableifany.
int
getTotalPaddingRight()
Returnsthetotalrightpaddingoftheview,includingtheright
Drawableifany.
int
getTotalPaddingStart()
Returnsthetotalstartpaddingoftheview,includingthestart
Drawableifany.
int
getTotalPaddingTop()
Returnsthetotaltoppaddingoftheview,includingthetop
Drawableifany,theextraspacetokeepmorethanmaxLines
fromshowing,andtheverticaloffsetforgravity,ifany.
final
TransformationMethod
getTransformationMethod()
GetsthecurrentTransformationMethodfortheTextView.
Typeface
getTypeface()
GetsthecurrentTypefacethatisusedtostylethetext.
URLSpan[]
getUrls()
ReturnsthelistofURLSpansattachedtothetext
(byLinkifyorotherwise)ifany.
boolean
hasOverlappingRendering()
ReturnswhetherthisViewhascontentwhichoverlaps.
boolean
hasSelection()
Returntrueiffthereisaselectionofnonzerolengthinsidethistextview.
void
invalidateDrawable(Drawabledrawable)
InvalidatesthespecifiedDrawable.
boolean
isAllCaps()
CheckswhetherthetransformationmethodappliedtothisTextViewissettoALLCAPS.
boolean
isCursorVisible()
boolean
isElegantTextHeight()
GetthevalueoftheTextView'selegantheightmetricsflag.
boolean
isFallbackLineSpacing()
final
boolean
isHorizontallyScrollable()
ReturnswhetherthetextisallowedtobewiderthantheView.
boolean
isInputMethodTarget()
Returnswhetherthistextviewisacurrentinputmethodtarget.
boolean
isPaddingOffsetRequired()
IftheViewdrawscontentinsideitspaddingandenablesfadingedges,
itneedstosupportpaddingoffsets.
boolean
isSingleLine()
Returnsifthetextisconstrainedtoasinglehorizontallyscrollinglineignoringnew
linecharactersinsteadoflettingitwrapontomultiplelines.
boolean
isSuggestionsEnabled()
ReturnwhetherornotsuggestionsareenabledonthisTextView.
boolean
isTextSelectable()
ReturnsthestateofthetextIsSelectableflag(See
setTextIsSelectable()).
void
jumpDrawablesToCurrentState()
CallDrawable.jumpToCurrentState()
onallDrawableobjectsassociatedwiththisview.
int
length()
Returnsthelength,incharacters,ofthetextmanagedbythisTextView
boolean
moveCursorToVisibleOffset()
Movethecursor,ifneeded,sothatitisatanoffsetthatisvisible
totheuser.
void
onAttachedToWindow()
Thisiscalledwhentheviewisattachedtoawindow.
void
onBeginBatchEdit()
Calledbytheframeworkinresponsetoarequesttobeginabatch
ofeditoperationsthroughacalltolinkbeginBatchEdit().
boolean
onCheckIsTextEditor()
Checkwhetherthecalledviewisatexteditor,inwhichcaseit
wouldmakesensetoautomaticallydisplayasoftinputwindowfor
it.
void
onCommitCompletion(CompletionInfotext)
Calledbytheframeworkinresponsetoatextcompletionfrom
thecurrentinputmethod,providedbyitcalling
InputConnection.commitCompletion().
void
onCommitCorrection(CorrectionInfoinfo)
Calledbytheframeworkinresponsetoatextauto-correction(suchasfixingatypousinga
dictionary)fromthecurrentinputmethod,providedbyitcalling
InputConnection.commitCorrection().
void
onConfigurationChanged(ConfigurationnewConfig)
Calledwhenthecurrentconfigurationoftheresourcesbeingused
bytheapplicationhavechanged.
void
onCreateContextMenu(ContextMenumenu)
Viewsshouldimplementthisiftheviewitselfisgoingtoadditemsto
thecontextmenu.
int[]
onCreateDrawableState(intextraSpace)
GeneratethenewDrawablestatefor
thisview.
InputConnection
onCreateInputConnection(EditorInfooutAttrs)
CreateanewInputConnectionforanInputMethodtointeract
withtheview.
void
onCreateViewTranslationRequest(int[]supportedFormats,ConsumerrequestsCollector)
CollectsaViewTranslationRequestwhichrepresentsthecontenttobetranslatedin
theview.
boolean
onDragEvent(DragEventevent)
Handlesdrageventssentbythesystemfollowingacallto
startDragAndDrop().
void
onDraw(Canvascanvas)
Implementthistodoyourdrawing.
void
onEditorAction(intactionCode)
Calledwhenanattachedinputmethodcalls
InputConnection.performEditorAction()
forthistextview.
void
onEndBatchEdit()
Calledbytheframeworkinresponsetoarequesttoendabatch
ofeditoperationsthroughacalltolinkendBatchEdit().
void
onFocusChanged(booleanfocused,intdirection,RectpreviouslyFocusedRect)
Calledbytheviewsystemwhenthefocusstateofthisviewchanges.
boolean
onGenericMotionEvent(MotionEventevent)
Implementthismethodtohandlegenericmotionevents.
boolean
onKeyDown(intkeyCode,KeyEventevent)
DefaultimplementationofKeyEvent.Callback.onKeyDown():performpressoftheview
whenKeyEvent#KEYCODE_DPAD_CENTERorKeyEvent#KEYCODE_ENTER
isreleased,iftheviewisenabledandclickable.
boolean
onKeyMultiple(intkeyCode,intrepeatCount,KeyEventevent)
DefaultimplementationofKeyEvent.Callback.onKeyMultiple():alwaysreturnsfalse(doesn'thandle
theevent).
boolean
onKeyPreIme(intkeyCode,KeyEventevent)
Handleakeyeventbeforeitisprocessedbyanyinputmethod
associatedwiththeviewhierarchy.
boolean
onKeyShortcut(intkeyCode,KeyEventevent)
Calledonthefocusedviewwhenakeyshortcuteventisnothandled.
boolean
onKeyUp(intkeyCode,KeyEventevent)
DefaultimplementationofKeyEvent.Callback.onKeyUp():performclickingoftheview
whenKeyEvent#KEYCODE_DPAD_CENTER,KeyEvent#KEYCODE_ENTER
orKeyEvent#KEYCODE_SPACEisreleased.
void
onLayout(booleanchanged,intleft,inttop,intright,intbottom)
Calledfromlayoutwhenthisviewshould
assignasizeandpositiontoeachofitschildren.
void
onMeasure(intwidthMeasureSpec,intheightMeasureSpec)
Measuretheviewanditscontenttodeterminethemeasuredwidthandthe
measuredheight.
boolean
onPreDraw()
Callbackmethodtobeinvokedwhentheviewtreeisabouttobedrawn.
boolean
onPrivateIMECommand(Stringaction,Bundledata)
Calledbytheframeworkinresponsetoaprivatecommandfromthe
currentmethod,providedbyitcalling
InputConnection.performPrivateCommand().
ContentInfo
onReceiveContent(ContentInfopayload)
DefaultTextViewimplementationforreceivingcontent.
PointerIcon
onResolvePointerIcon(MotionEventevent,intpointerIndex)
Returnsthepointericonforthemotionevent,ornullifitdoesn'tspecifytheicon.
void
onRestoreInstanceState(Parcelablestate)
Hookallowingaviewtore-applyarepresentationofitsinternalstatethathadpreviously
beengeneratedbyonSaveInstanceState().
void
onRtlPropertiesChanged(intlayoutDirection)
CalledwhenanyRTLproperty(layoutdirectionortextdirectionortextalignment)has
beenchanged.
Parcelable
onSaveInstanceState()
Hookallowingaviewtogeneratearepresentationofitsinternalstate
thatcanlaterbeusedtocreateanewinstancewiththatsamestate.
void
onScreenStateChanged(intscreenState)
Thismethodiscalledwheneverthestateofthescreenthisviewis
attachedtochanges.
void
onScrollChanged(inthoriz,intvert,intoldHoriz,intoldVert)
Thisiscalledinresponsetoaninternalscrollinthisview(i.e.,the
viewscrolleditsowncontents).
void
onSelectionChanged(intselStart,intselEnd)
Thismethodiscalledwhentheselectionhaschanged,incaseany
subclasseswouldliketoknow.
void
onTextChanged(CharSequencetext,intstart,intlengthBefore,intlengthAfter)
Thismethodiscalledwhenthetextischanged,incaseanysubclasses
wouldliketoknow.
boolean
onTextContextMenuItem(intid)
Calledwhenacontextmenuoptionforthetextviewisselected.
boolean
onTouchEvent(MotionEventevent)
Implementthismethodtohandletouchscreenmotionevents.
boolean
onTrackballEvent(MotionEventevent)
Implementthismethodtohandletrackballmotionevents.
void
onVisibilityChanged(ViewchangedView,intvisibility)
Calledwhenthevisibilityofthevieworanancestoroftheviewhas
changed.
void
onWindowFocusChanged(booleanhasWindowFocus)
Calledwhenthewindowcontainingthisviewgainsorlosesfocus.
boolean
performLongClick()
Callsthisview'sOnLongClickListener,ifitisdefined.
void
removeTextChangedListener(TextWatcherwatcher)
RemovesthespecifiedTextWatcherfromthelistofthosewhose
methodsarecalled
wheneverthisTextView'stextchanges.
void
sendAccessibilityEventUnchecked(AccessibilityEventevent)
ThismethodbehavesexactlyassendAccessibilityEvent(int)but
takesasanargumentanemptyAccessibilityEventanddoesnot
performacheckwhetheraccessibilityisenabled.
void
setAllCaps(booleanallCaps)
SetsthepropertiesofthisfieldtotransforminputtoALLCAPS
display.
final
void
setAutoLinkMask(intmask)
Setstheautolinkmaskofthetext.
void
setAutoSizeTextTypeUniformWithConfiguration(intautoSizeMinTextSize,intautoSizeMaxTextSize,intautoSizeStepGranularity,intunit)
Specifywhetherthiswidgetshouldautomaticallyscalethetexttotrytoperfectlyfit
withinthelayoutbounds.
void
setAutoSizeTextTypeUniformWithPresetSizes(int[]presetSizes,intunit)
Specifywhetherthiswidgetshouldautomaticallyscalethetexttotrytoperfectlyfit
withinthelayoutbounds.
void
setAutoSizeTextTypeWithDefaults(intautoSizeTextType)
Specifywhetherthiswidgetshouldautomaticallyscalethetexttotrytoperfectlyfit
withinthelayoutboundsbyusingthedefaultauto-sizeconfiguration.
void
setBreakStrategy(intbreakStrategy)
Setsthebreakstrategyforbreakingparagraphsintolines.
void
setCompoundDrawablePadding(intpad)
Setsthesizeofthepaddingbetweenthecompounddrawablesand
thetext.
void
setCompoundDrawableTintBlendMode(BlendModeblendMode)
Specifiestheblendingmodeusedtoapplythetintspecifiedby
setCompoundDrawableTintList(android.content.res.ColorStateList)tothecompound
drawables.
void
setCompoundDrawableTintList(ColorStateListtint)
Appliesatinttothecompounddrawables.
void
setCompoundDrawableTintMode(PorterDuff.ModetintMode)
Specifiestheblendingmodeusedtoapplythetintspecifiedby
setCompoundDrawableTintList(android.content.res.ColorStateList)tothecompound
drawables.
void
setCompoundDrawables(Drawableleft,Drawabletop,Drawableright,Drawablebottom)
SetstheDrawables(ifany)toappeartotheleftof,above,tothe
rightof,andbelowthetext.
void
setCompoundDrawablesRelative(Drawablestart,Drawabletop,Drawableend,Drawablebottom)
SetstheDrawables(ifany)toappeartothestartof,above,totheend
of,andbelowthetext.
void
setCompoundDrawablesRelativeWithIntrinsicBounds(Drawablestart,Drawabletop,Drawableend,Drawablebottom)
SetstheDrawables(ifany)toappeartothestartof,above,totheend
of,andbelowthetext.
void
setCompoundDrawablesRelativeWithIntrinsicBounds(intstart,inttop,intend,intbottom)
SetstheDrawables(ifany)toappeartothestartof,above,totheend
of,andbelowthetext.
void
setCompoundDrawablesWithIntrinsicBounds(Drawableleft,Drawabletop,Drawableright,Drawablebottom)
SetstheDrawables(ifany)toappeartotheleftof,above,tothe
rightof,andbelowthetext.
void
setCompoundDrawablesWithIntrinsicBounds(intleft,inttop,intright,intbottom)
SetstheDrawables(ifany)toappeartotheleftof,above,tothe
rightof,andbelowthetext.
void
setCursorVisible(booleanvisible)
Setwhetherthecursorisvisible.
void
setCustomInsertionActionModeCallback(ActionMode.CallbackactionModeCallback)
Ifprovided,thisActionMode.CallbackwillbeusedtocreatetheActionModewhentext
insertionisinitiatedinthisView.
void
setCustomSelectionActionModeCallback(ActionMode.CallbackactionModeCallback)
Ifprovided,thisActionMode.CallbackwillbeusedtocreatetheActionModewhentext
selectionisinitiatedinthisView.
final
void
setEditableFactory(Editable.Factoryfactory)
SetstheFactoryusedtocreatenewEditables.
void
setElegantTextHeight(booleanelegant)
SettheTextView'selegantheightmetricsflag.
void
setEllipsize(TextUtils.TruncateAtwhere)
Causeswordsinthetextthatarelongerthantheview'swidth
tobeellipsizedinsteadofbrokeninthemiddle.
void
setEms(intems)
SetsthewidthoftheTextViewtobeexactlyemswide.
void
setEnabled(booleanenabled)
Settheenabledstateofthisview.
void
setError(CharSequenceerror)
Setstheright-handcompounddrawableoftheTextViewtothe"error"
iconandsetsanerrormessagethatwillbedisplayedinapopupwhen
theTextViewhasfocus.
void
setError(CharSequenceerror,Drawableicon)
Setstheright-handcompounddrawableoftheTextViewtothespecified
iconandsetsanerrormessagethatwillbedisplayedinapopupwhen
theTextViewhasfocus.
void
setExtractedText(ExtractedTexttext)
Applytothistextviewthegivenextractedtext,aspreviously
returnedbyextractText(android.view.inputmethod.ExtractedTextRequest,android.view.inputmethod.ExtractedText).
void
setFallbackLineSpacing(booleanenabled)
Setwhethertorespecttheascentanddescentofthefallbackfontsthatareusedin
displayingthetext(whichisneededtoavoidtextfromconsecutivelinesrunninginto
eachother).
void
setFilters(InputFilter[]filters)
Setsthelistofinputfiltersthatwillbeusedifthebufferis
Editable.
void
setFirstBaselineToTopHeight(intfirstBaselineToTopHeight)
UpdatesthetoppaddingoftheTextViewsothatfirstBaselineToTopHeightis
thedistancebetweenthetopoftheTextViewandfirstline'sbaseline.
void
setFontFeatureSettings(StringfontFeatureSettings)
Setsfontfeaturesettings.
boolean
setFontVariationSettings(StringfontVariationSettings)
SetsTrueTypeorOpenTypefontvariationsettings.
boolean
setFrame(intl,intt,intr,intb)
void
setFreezesText(booleanfreezesText)
Controlwhetherthistextviewsavesitsentiretextcontentswhen
freezingtoanicicle,inadditiontodynamicstatesuchascursor
position.
void
setGravity(intgravity)
Setsthehorizontalalignmentofthetextandthe
verticalgravitythatwillbeusedwhenthereisextraspace
intheTextViewbeyondwhatisrequiredforthetextitself.
void
setHeight(intpixels)
SetstheheightoftheTextViewtobeexactlypixelstall.
void
setHighlightColor(intcolor)
Setsthecolorusedtodisplaytheselectionhighlight.
final
void
setHint(CharSequencehint)
SetsthetexttobedisplayedwhenthetextoftheTextViewisempty.
final
void
setHint(intresid)
SetsthetexttobedisplayedwhenthetextoftheTextViewisempty,
fromaresource.
final
void
setHintTextColor(ColorStateListcolors)
Setsthecolorofthehinttext.
final
void
setHintTextColor(intcolor)
Setsthecolorofthehinttextforallthestates(disabled,focussed,selected...)ofthis
TextView.
void
setHorizontallyScrolling(booleanwhether)
Setswhetherthetextshouldbeallowedtobewiderthanthe
Viewis.
void
setHyphenationFrequency(inthyphenationFrequency)
Setsthefrequencyofautomatichyphenationtousewhendeterminingwordbreaks.
void
setImeActionLabel(CharSequencelabel,intactionId)
ChangethecustomIMEactionassociatedwiththetextview,which
willbereportedtoanIMEwithEditorInfo#actionLabel
andEditorInfo#actionIdwhenithasfocus.
void
setImeHintLocales(LocaleListhintLocales)
Change"hint"localesassociatedwiththetextview,whichwillbereportedtoanIMEwith
EditorInfo#hintLocaleswhenithasfocus.
void
setImeOptions(intimeOptions)
Changetheeditortypeintegerassociatedwiththetextview,which
isreportedtoanInputMethodEditor(IME)withEditorInfo#imeOptions
whenithasfocus.
void
setIncludeFontPadding(booleanincludepad)
SetwhethertheTextViewincludesextratopandbottompaddingtomake
roomforaccentsthatgoabovethenormalascentanddescent.
void
setInputExtras(intxmlResId)
Settheextrainputdataofthetext,whichisthe
TextBoxAttribute.extras
Bundlethatwillbefilledinwhencreatinganinputconnection.
void
setInputType(inttype)
SetthetypeofthecontentwithaconstantasdefinedforEditorInfo#inputType.
void
setJustificationMode(intjustificationMode)
Setjustificationmode.
void
setKeyListener(KeyListenerinput)
SetsthekeylistenertobeusedwiththisTextView.
void
setLastBaselineToBottomHeight(intlastBaselineToBottomHeight)
UpdatesthebottompaddingoftheTextViewsothatlastBaselineToBottomHeightis
thedistancebetweenthebottomoftheTextViewandthelastline'sbaseline.
void
setLetterSpacing(floatletterSpacing)
Setstextletter-spacinginemunits.
void
setLineHeight(intlineHeight)
SetsanexplicitlineheightforthisTextView.
void
setLineSpacing(floatadd,floatmult)
SetslinespacingforthisTextView.
void
setLines(intlines)
SetstheheightoftheTextViewtobeexactlylinestall.
final
void
setLinkTextColor(ColorStateListcolors)
Setsthecoloroflinksinthetext.
final
void
setLinkTextColor(intcolor)
Setsthecoloroflinksinthetext.
final
void
setLinksClickable(booleanwhether)
Setswhetherthemovementmethodwillautomaticallybesetto
LinkMovementMethodifsetAutoLinkMask(int)hasbeen
settononzeroandlinksaredetectedinsetText(char[],int,int).
void
setMarqueeRepeatLimit(intmarqueeLimit)
Setshowmanytimestorepeatthemarqueeanimation.
void
setMaxEms(intmaxEms)
SetsthewidthoftheTextViewtobeatmostmaxEmswide.
void
setMaxHeight(intmaxPixels)
SetstheheightoftheTextViewtobeatmostmaxPixelstall.
void
setMaxLines(intmaxLines)
SetstheheightoftheTextViewtobeatmostmaxLinestall.
void
setMaxWidth(intmaxPixels)
SetsthewidthoftheTextViewtobeatmostmaxPixelswide.
void
setMinEms(intminEms)
SetsthewidthoftheTextViewtobeatleastminEmswide.
void
setMinHeight(intminPixels)
SetstheheightoftheTextViewtobeatleastminPixelstall.
void
setMinLines(intminLines)
SetstheheightoftheTextViewtobeatleastminLinestall.
void
setMinWidth(intminPixels)
SetsthewidthoftheTextViewtobeatleastminPixelswide.
final
void
setMovementMethod(MovementMethodmovement)
SetstheMovementMethodforhandlingarrowkeymovement
forthisTextView.
void
setOnEditorActionListener(TextView.OnEditorActionListenerl)
Setaspeciallistenertobecalledwhenanactionisperformed
onthetextview.
void
setPadding(intleft,inttop,intright,intbottom)
Setsthepadding.
void
setPaddingRelative(intstart,inttop,intend,intbottom)
Setstherelativepadding.
void
setPaintFlags(intflags)
SetsflagsonthePaintbeingusedtodisplaythetextand
reflowsthetextiftheyaredifferentfromtheoldflags.
void
setPrivateImeOptions(Stringtype)
Settheprivatecontenttypeofthetext,whichisthe
EditorInfo.privateImeOptions
fieldthatwillbefilledinwhencreatinganinputconnection.
void
setRawInputType(inttype)
Directlychangethecontenttypeintegerofthetextview,without
modifyinganyotherstate.
void
setScroller(Scrollers)
SetstheScrollerusedforproducingascrollinganimation
void
setSelectAllOnFocus(booleanselectAllOnFocus)
SettheTextViewsothatwhenittakesfocus,allthetextis
selected.
void
setSelected(booleanselected)
Changestheselectionstateofthisview.
void
setShadowLayer(floatradius,floatdx,floatdy,intcolor)
Givesthetextashadowofthespecifiedblurradiusandcolor,thespecified
distancefromitsdrawnposition.
final
void
setShowSoftInputOnFocus(booleanshow)
Setswhetherthesoftinputmethodwillbemadevisiblewhenthis
TextViewgetsfocused.
void
setSingleLine(booleansingleLine)
Iftrue,setsthepropertiesofthisfield(numberoflines,horizontallyscrolling,
transformationmethod)tobeforasingle-lineinput;iffalse,restoresthesetothedefault
conditions.
void
setSingleLine()
Setsthepropertiesofthisfield(lines,horizontallyscrolling,
transformationmethod)tobeforasingle-lineinput.
final
void
setSpannableFactory(Spannable.Factoryfactory)
SetstheFactoryusedtocreatenewSpannables.
final
void
setText(intresid)
Setsthetexttobedisplayedusingastringresourceidentifier.
final
void
setText(CharSequencetext)
Setsthetexttobedisplayed.
void
setText(CharSequencetext,TextView.BufferTypetype)
SetsthetexttobedisplayedandtheTextView.BufferType.
final
void
setText(intresid,TextView.BufferTypetype)
Setsthetexttobedisplayedusingastringresourceidentifierandthe
TextView.BufferType.
final
void
setText(char[]text,intstart,intlen)
SetstheTextViewtodisplaythespecifiedsliceofthespecified
chararray.
void
setTextAppearance(Contextcontext,intresId)
Thismethodwasdeprecated
inAPIlevel23.
UsesetTextAppearance(int)instead.
void
setTextAppearance(intresId)
Setsthetextappearancefromthespecifiedstyleresource.
void
setTextClassifier(TextClassifiertextClassifier)
SetstheTextClassifierforthisTextView.
void
setTextColor(intcolor)
Setsthetextcolorforallthestates(normal,selected,
focused)tobethiscolor.
void
setTextColor(ColorStateListcolors)
Setsthetextcolor.
void
setTextCursorDrawable(DrawabletextCursorDrawable)
SetstheDrawablecorrespondingtothetextcursor.
void
setTextCursorDrawable(inttextCursorDrawable)
SetstheDrawablecorrespondingtothetextcursor.
void
setTextIsSelectable(booleanselectable)
Setswhetherthecontentofthisviewisselectablebytheuser.
final
void
setTextKeepState(CharSequencetext)
Setsthetexttobedisplayedbutretainsthecursorposition.
final
void
setTextKeepState(CharSequencetext,TextView.BufferTypetype)
SetsthetexttobedisplayedandtheTextView.BufferTypebutretains
thecursorposition.
void
setTextLocale(Localelocale)
SetthedefaultLocaleofthetextinthisTextViewtoaone-member
LocaleListcontainingjustthegivenLocale.
void
setTextLocales(LocaleListlocales)
SetthedefaultLocaleListofthetextinthisTextViewtothegivenvalue.
void
setTextMetricsParams(PrecomputedText.Paramsparams)
Applythetextlayoutparameter.
void
setTextScaleX(floatsize)
Setsthehorizontalscalefactorfortext.
void
setTextSelectHandle(inttextSelectHandle)
SetstheDrawablecorrespondingtotheselectionhandleusedfor
positioningthecursorwithintext.
void
setTextSelectHandle(DrawabletextSelectHandle)
SetstheDrawablecorrespondingtotheselectionhandleusedfor
positioningthecursorwithintext.
void
setTextSelectHandleLeft(inttextSelectHandleLeft)
SetstheDrawablecorrespondingtothelefthandleused
forselectingtext.
void
setTextSelectHandleLeft(DrawabletextSelectHandleLeft)
SetstheDrawablecorrespondingtothelefthandleused
forselectingtext.
void
setTextSelectHandleRight(DrawabletextSelectHandleRight)
SetstheDrawablecorrespondingtotherighthandleused
forselectingtext.
void
setTextSelectHandleRight(inttextSelectHandleRight)
SetstheDrawablecorrespondingtotherighthandleused
forselectingtext.
void
setTextSize(intunit,floatsize)
Setthedefaulttextsizetoagivenunitandvalue.
void
setTextSize(floatsize)
Setthedefaulttextsizetothegivenvalue,interpretedas"scaled
pixel"units.
final
void
setTransformationMethod(TransformationMethodmethod)
Setsthetransformationthatisappliedtothetextthatthis
TextViewisdisplaying.
void
setTypeface(Typefacetf)
Setsthetypefaceandstyleinwhichthetextshouldbedisplayed.
void
setTypeface(Typefacetf,intstyle)
Setsthetypefaceandstyleinwhichthetextshouldbedisplayed,
andturnsonthefakeboldanditalicbitsinthePaintifthe
Typefacethatyouprovideddoesnothaveallthebitsinthe
stylethatyouspecified.
void
setWidth(intpixels)
SetsthewidthoftheTextViewtobeexactlypixelswide.
boolean
showContextMenu()
Showsthecontextmenuforthisview.
boolean
showContextMenu(floatx,floaty)
Showsthecontextmenuforthisviewanchoredtothespecified
view-relativecoordinate.
boolean
verifyDrawable(Drawablewho)
IfyourviewsubclassisdisplayingitsownDrawableobjects,itshould
overridethisfunctionandreturntrueforanyDrawableitis
displaying.
Fromclass
android.view.View
void
addChildrenForAccessibility(ArrayListoutChildren)
AddsthechildrenofthisViewrelevantforaccessibilitytothegivenlist
asoutput.
void
addExtraDataToAccessibilityNodeInfo(AccessibilityNodeInfoinfo,StringextraDataKey,Bundlearguments)
AddsextradatatoanAccessibilityNodeInfobasedonanexplicitrequestforthe
additionaldata.
void
addFocusables(ArrayListviews,intdirection)
Addanyfocusableviewsthataredescendantsofthisview(possibly
includingthisviewifitisfocusableitself)toviews.
void
addFocusables(ArrayListviews,intdirection,intfocusableMode)
Addsanyfocusableviewsthataredescendantsofthisview(possibly
includingthisviewifitisfocusableitself)toviews.
void
addKeyboardNavigationClusters(Collectionviews,intdirection)
Addsanykeyboardnavigationclusterrootsthataredescendantsofthisview(possibly
includingthisviewifitisaclusterrootitself)toviews.
void
addOnAttachStateChangeListener(View.OnAttachStateChangeListenerlistener)
Addalistenerforattachstatechanges.
void
addOnLayoutChangeListener(View.OnLayoutChangeListenerlistener)
Addalistenerthatwillbecalledwhentheboundsoftheviewchangedueto
layoutprocessing.
void
addOnUnhandledKeyEventListener(View.OnUnhandledKeyEventListenerlistener)
AddsalistenerwhichwillreceiveunhandledKeyEvents.
void
addTouchables(ArrayListviews)
Addanytouchableviewsthataredescendantsofthisview(possibly
includingthisviewifitistouchableitself)toviews.
ViewPropertyAnimator
animate()
ThismethodreturnsaViewPropertyAnimatorobject,whichcanbeusedtoanimate
specificpropertiesonthisView.
void
announceForAccessibility(CharSequencetext)
ConveniencemethodforsendingaAccessibilityEvent#TYPE_ANNOUNCEMENT
AccessibilityEventtosuggestthatanaccessibilityserviceannouncethe
specifiedtexttoitsusers.
void
autofill(AutofillValuevalue)
Automaticallyfillsthecontentofthisviewwiththevalue.
void
autofill(SparseArrayvalues)
Automaticallyfillsthecontentofthevirtualchildrenwithinthisview.
boolean
awakenScrollBars(intstartDelay,booleaninvalidate)
Triggerthescrollbarstodraw.
boolean
awakenScrollBars(intstartDelay)
Triggerthescrollbarstodraw.
boolean
awakenScrollBars()
Triggerthescrollbarstodraw.
void
bringToFront()
Changetheview'szorderinthetree,soit'sontopofothersibling
views.
void
buildDrawingCache(booleanautoScale)
Thismethodwasdeprecated
inAPIlevel28.
Theviewdrawingcachewaslargelymadeobsoletewiththeintroductionof
hardware-acceleratedrenderinginAPI11.Withhardware-acceleration,intermediatecache
layersarelargelyunnecessaryandcaneasilyresultinanetlossinperformanceduetothe
costofcreatingandupdatingthelayer.Intherarecaseswherecachinglayersareuseful,
suchasforalphaanimations,setLayerType(int,android.graphics.Paint)handlesthiswithhardware
rendering.Forsoftware-renderedsnapshotsofasmallpartoftheViewhierarchyor
individualViewsitisrecommendedtocreateaCanvasfromeitheraBitmapor
Pictureandcalldraw(android.graphics.Canvas)ontheView.Howeverthese
software-renderedusagesarediscouragedandhavecompatibilityissueswithhardware-only
renderingfeaturessuchasConfig.HARDWARE
bitmaps,real-timeshadows,andoutlineclipping.ForscreenshotsoftheUIforfeedback
reportsorunittestingthePixelCopyAPIisrecommended.
void
buildDrawingCache()
Thismethodwasdeprecated
inAPIlevel28.
Theviewdrawingcachewaslargelymadeobsoletewiththeintroductionof
hardware-acceleratedrenderinginAPI11.Withhardware-acceleration,intermediatecache
layersarelargelyunnecessaryandcaneasilyresultinanetlossinperformanceduetothe
costofcreatingandupdatingthelayer.Intherarecaseswherecachinglayersareuseful,
suchasforalphaanimations,setLayerType(int,android.graphics.Paint)handlesthiswithhardware
rendering.Forsoftware-renderedsnapshotsofasmallpartoftheViewhierarchyor
individualViewsitisrecommendedtocreateaCanvasfromeitheraBitmapor
Pictureandcalldraw(android.graphics.Canvas)ontheView.Howeverthese
software-renderedusagesarediscouragedandhavecompatibilityissueswithhardware-only
renderingfeaturessuchasConfig.HARDWARE
bitmaps,real-timeshadows,andoutlineclipping.ForscreenshotsoftheUIforfeedback
reportsorunittestingthePixelCopyAPIisrecommended.
void
buildLayer()
Forcesthisview'slayertobecreatedandthisviewtoberendered
intoitslayer.
boolean
callOnClick()
DirectlycallanyattachedOnClickListener.
boolean
canResolveLayoutDirection()
Checkiflayoutdirectionresolutioncanbedone.
boolean
canResolveTextAlignment()
Checkiftextalignmentresolutioncanbedone.
boolean
canResolveTextDirection()
Checkiftextdirectionresolutioncanbedone.
boolean
canScrollHorizontally(intdirection)
Checkifthisviewcanbescrolledhorizontallyinacertaindirection.
boolean
canScrollVertically(intdirection)
Checkifthisviewcanbescrolledverticallyinacertaindirection.
final
void
cancelDragAndDrop()
Cancelsanongoingdraganddropoperation.
void
cancelLongPress()
Cancelsapendinglongpress.
final
void
cancelPendingInputEvents()
Cancelanydeferredhigh-levelinputeventsthatwerepreviouslypostedtotheeventqueue.
boolean
checkInputConnectionProxy(Viewview)
CalledbytheInputMethodManager
whenaviewwhoisnotthecurrent
inputconnectiontargetistryingtomakeacallonthemanager.
void
clearAnimation()
Cancelsanyanimationsforthisview.
void
clearFocus()
Calledwhenthisviewwantstogiveupfocus.
void
clearViewTranslationCallback()
CleartheViewTranslationCallbackfromthisview.
static
int
combineMeasuredStates(intcurState,intnewState)
MergetwostatesasreturnedbygetMeasuredState().
int
computeHorizontalScrollExtent()
Computethehorizontalextentofthehorizontalscrollbar'sthumb
withinthehorizontalrange.
int
computeHorizontalScrollOffset()
Computethehorizontaloffsetofthehorizontalscrollbar'sthumb
withinthehorizontalrange.
int
computeHorizontalScrollRange()
Computethehorizontalrangethatthehorizontalscrollbar
represents.
void
computeScroll()
CalledbyaparenttorequestthatachildupdateitsvaluesformScrollX
andmScrollYifnecessary.
WindowInsets
computeSystemWindowInsets(WindowInsetsin,RectoutLocalInsets)
Computeinsetsthatshouldbeconsumedbythisviewandtheonesthatshouldpropagate
tothoseunderit.
int
computeVerticalScrollExtent()
Computetheverticalextentoftheverticalscrollbar'sthumb
withintheverticalrange.
int
computeVerticalScrollOffset()
Computetheverticaloffsetoftheverticalscrollbar'sthumb
withinthehorizontalrange.
int
computeVerticalScrollRange()
Computetheverticalrangethattheverticalscrollbarrepresents.
AccessibilityNodeInfo
createAccessibilityNodeInfo()
ReturnsanAccessibilityNodeInforepresentingthisviewfromthe
pointofviewofanAccessibilityService.
void
createContextMenu(ContextMenumenu)
Showthecontextmenuforthisview.
void
destroyDrawingCache()
Thismethodwasdeprecated
inAPIlevel28.
Theviewdrawingcachewaslargelymadeobsoletewiththeintroductionof
hardware-acceleratedrenderinginAPI11.Withhardware-acceleration,intermediatecache
layersarelargelyunnecessaryandcaneasilyresultinanetlossinperformanceduetothe
costofcreatingandupdatingthelayer.Intherarecaseswherecachinglayersareuseful,
suchasforalphaanimations,setLayerType(int,android.graphics.Paint)handlesthiswithhardware
rendering.Forsoftware-renderedsnapshotsofasmallpartoftheViewhierarchyor
individualViewsitisrecommendedtocreateaCanvasfromeitheraBitmapor
Pictureandcalldraw(android.graphics.Canvas)ontheView.Howeverthese
software-renderedusagesarediscouragedandhavecompatibilityissueswithhardware-only
renderingfeaturessuchasConfig.HARDWARE
bitmaps,real-timeshadows,andoutlineclipping.ForscreenshotsoftheUIforfeedback
reportsorunittestingthePixelCopyAPIisrecommended.
WindowInsets
dispatchApplyWindowInsets(WindowInsetsinsets)
Requesttoapplythegivenwindowinsetstothisvieworanotherviewinitssubtree.
boolean
dispatchCapturedPointerEvent(MotionEventevent)
Passacapturedpointereventdowntothefocusedview.
void
dispatchConfigurationChanged(ConfigurationnewConfig)
Dispatchanotificationaboutaresourceconfigurationchangedown
theviewhierarchy.
void
dispatchCreateViewTranslationRequest(MapviewIds,int[]supportedFormats,TranslationCapabilitycapability,Listrequests)
DispatchtocollecttheViewTranslationRequestsfortranslationpurposebytraversing
thehierarchywhentheapprequestsuitranslation.
void
dispatchDisplayHint(inthint)
Dispatchahintaboutwhetherthisviewisdisplayed.
boolean
dispatchDragEvent(DragEventevent)
DetectsifthisViewisenabledandhasadrageventlistener.
void
dispatchDraw(Canvascanvas)
Calledbydrawtodrawthechildviews.
void
dispatchDrawableHotspotChanged(floatx,floaty)
DispatchesdrawableHotspotChangedtoallofthisView'schildren.
void
dispatchFinishTemporaryDetach()
DispatchonFinishTemporaryDetach()tothisViewanditsdirectchildrenifthisis
acontainerView.
boolean
dispatchGenericFocusedEvent(MotionEventevent)
Dispatchagenericmotioneventtothecurrentlyfocusedview.
boolean
dispatchGenericMotionEvent(MotionEventevent)
Dispatchagenericmotionevent.
boolean
dispatchGenericPointerEvent(MotionEventevent)
Dispatchagenericmotioneventtotheviewunderthefirstpointer.
boolean
dispatchHoverEvent(MotionEventevent)
Dispatchahoverevent.
boolean
dispatchKeyEvent(KeyEventevent)
Dispatchakeyeventtothenextviewonthefocuspath.
boolean
dispatchKeyEventPreIme(KeyEventevent)
Dispatchakeyeventbeforeitisprocessedbyanyinputmethod
associatedwiththeviewhierarchy.
boolean
dispatchKeyShortcutEvent(KeyEventevent)
Dispatchesakeyshortcutevent.
boolean
dispatchNestedFling(floatvelocityX,floatvelocityY,booleanconsumed)
Dispatchaflingtoanestedscrollingparent.
boolean
dispatchNestedPreFling(floatvelocityX,floatvelocityY)
Dispatchaflingtoanestedscrollingparentbeforeitisprocessedbythisview.
boolean
dispatchNestedPrePerformAccessibilityAction(intaction,Bundlearguments)
Reportanaccessibilityactiontothisview'sparentsfordelegatedprocessing.
boolean
dispatchNestedPreScroll(intdx,intdy,int[]consumed,int[]offsetInWindow)
Dispatchonestepofanestedscrollinprogressbeforethisviewconsumesanyportionofit.
boolean
dispatchNestedScroll(intdxConsumed,intdyConsumed,intdxUnconsumed,intdyUnconsumed,int[]offsetInWindow)
Dispatchonestepofanestedscrollinprogress.
void
dispatchPointerCaptureChanged(booleanhasCapture)
boolean
dispatchPopulateAccessibilityEvent(AccessibilityEventevent)
DispatchesanAccessibilityEventtotheViewfirstandthen
toitschildrenforaddingtheirtextcontenttotheevent.
void
dispatchProvideAutofillStructure(ViewStructurestructure,intflags)
DispatchescreationofaViewStructuresforautofillpurposesdownthehierarchy,
whenanAssiststructureisbeingcreatedaspartofanautofillrequest.
void
dispatchProvideStructure(ViewStructurestructure)
DispatchcreationofViewStructuredownthehierarchy.
void
dispatchRestoreInstanceState(SparseArraycontainer)
CalledbyrestoreHierarchyState(android.util.SparseArray)toretrievethe
stateforthisviewanditschildren.
void
dispatchSaveInstanceState(SparseArraycontainer)
CalledbysaveHierarchyState(android.util.SparseArray)tostorethestatefor
thisviewanditschildren.
void
dispatchScrollCaptureSearch(RectlocalVisibleRect,PointwindowOffset,Consumertargets)
Dispatchascrollcapturesearchrequestdowntheviewhierarchy.
void
dispatchSetActivated(booleanactivated)
DispatchsetActivatedtoallofthisView'schildren.
void
dispatchSetPressed(booleanpressed)
DispatchsetPressedtoallofthisView'schildren.
void
dispatchSetSelected(booleanselected)
DispatchsetSelectedtoallofthisView'schildren.
void
dispatchStartTemporaryDetach()
DispatchonStartTemporaryDetach()tothisViewanditsdirectchildrenifthisis
acontainerView.
void
dispatchSystemUiVisibilityChanged(intvisibility)
Thismethodwasdeprecated
inAPIlevel30.
UseWindowInsets#isVisible(int)tofindoutaboutsystembarvisibilities
bysettingaOnApplyWindowInsetsListeneronthisview.
boolean
dispatchTouchEvent(MotionEventevent)
Passthetouchscreenmotioneventdowntothetargetview,orthis
viewifitisthetarget.
boolean
dispatchTrackballEvent(MotionEventevent)
Passatrackballmotioneventdowntothefocusedview.
boolean
dispatchUnhandledMove(Viewfocused,intdirection)
Thismethodisthelastchanceforthefocusedviewanditsancestorsto
respondtoanarrowkey.
void
dispatchVisibilityChanged(ViewchangedView,intvisibility)
Dispatchaviewvisibilitychangedowntheviewhierarchy.
void
dispatchWindowFocusChanged(booleanhasFocus)
Calledwhenthewindowcontainingthisviewgainsorloseswindowfocus.
void
dispatchWindowInsetsAnimationEnd(WindowInsetsAnimationanimation)
DispatchesWindowInsetsAnimation.Callback#onEnd(WindowInsetsAnimation)
whenWindowInsetsanimationends.
void
dispatchWindowInsetsAnimationPrepare(WindowInsetsAnimationanimation)
DispatchesWindowInsetsAnimation.Callback#onPrepare(WindowInsetsAnimation)
whenWindowInsetsanimationisbeingprepared.
WindowInsets
dispatchWindowInsetsAnimationProgress(WindowInsetsinsets,ListrunningAnimations)
DispatchesWindowInsetsAnimation.Callback#onProgress(WindowInsets,List)
whenWindowInsetsanimationmakesprogress.
WindowInsetsAnimation.Bounds
dispatchWindowInsetsAnimationStart(WindowInsetsAnimationanimation,WindowInsetsAnimation.Boundsbounds)
DispatchesWindowInsetsAnimation.Callback#onStart(WindowInsetsAnimation,Bounds)
whenWindowInsetsanimationisstarted.
void
dispatchWindowSystemUiVisiblityChanged(intvisible)
Thismethodwasdeprecated
inAPIlevel30.
SystemUiVisibilityflagsaredeprecated.UseWindowInsetsController
instead.
void
dispatchWindowVisibilityChanged(intvisibility)
Dispatchawindowvisibilitychangedowntheviewhierarchy.
void
draw(Canvascanvas)
Manuallyrenderthisview(andallofitschildren)tothegivenCanvas.
void
drawableHotspotChanged(floatx,floaty)
Thisfunctioniscalledwhenevertheviewhotspotchangesandneedsto
bepropagatedtodrawablesorchildviewsmanagedbytheview.
void
drawableStateChanged()
Thisfunctioniscalledwheneverthestateoftheviewchangesinsuch
awaythatitimpactsthestateofdrawablesbeingshown.
View
findFocus()
Findtheviewinthehierarchyrootedatthisviewthatcurrentlyhas
focus.
final
T
findViewById(intid)
FindsthefirstdescendantviewwiththegivenID,theviewitselfif
theIDmatchesgetId(),ornulliftheIDisinvalid
(<0)orthereisnomatchingviewinthehierarchy.
final
T
findViewWithTag(Objecttag)
Lookforachildviewwiththegiventag.
void
findViewsWithText(ArrayListoutViews,CharSequencesearched,intflags)
FindstheViewsthatcontaingiventext.
boolean
fitSystemWindows(Rectinsets)
Thismethodwasdeprecated
inAPIlevel20.
AsofAPI20usedispatchApplyWindowInsets(android.view.WindowInsets)toapply
insetstoviews.ViewsshouldoverrideonApplyWindowInsets(android.view.WindowInsets)oruse
setOnApplyWindowInsetsListener(android.view.View.OnApplyWindowInsetsListener)
toimplementhandlingtheirowninsets.
View
focusSearch(intdirection)
Findthenearestviewinthespecifieddirectionthatcantakefocus.
void
forceHasOverlappingRendering(booleanhasOverlappingRendering)
Setsthebehaviorforoverlappingrenderingforthisview(seehasOverlappingRendering()formoredetailsonthisbehavior).
void
forceLayout()
Forcesthisviewtobelaidoutduringthenextlayoutpass.
boolean
gatherTransparentRegion(Regionregion)
ThisisusedbytheViewRoottoperformanoptimizationwhen
theviewhierarchycontainsoneorseveralSurfaceView.
void
generateDisplayHash(StringhashAlgorithm,Rectbounds,Executorexecutor,DisplayHashResultCallbackcallback)
CalledtogenerateaDisplayHashforthisview.
static
int
generateViewId()
GenerateavaluesuitableforuseinsetId(int).
CharSequence
getAccessibilityClassName()
Returntheclassnameofthisobjecttobeusedforaccessibilitypurposes.
View.AccessibilityDelegate
getAccessibilityDelegate()
Returnsthedelegateforimplementingaccessibilitysupportvia
composition.
int
getAccessibilityLiveRegion()
GetstheliveregionmodeforthisView.
AccessibilityNodeProvider
getAccessibilityNodeProvider()
GetstheproviderformanagingavirtualviewhierarchyrootedatthisView
andreportedtoAccessibilityServices
thatexplorethewindowcontent.
CharSequence
getAccessibilityPaneTitle()
Getthetitleofthepaneforpurposesofaccessibility.
int
getAccessibilityTraversalAfter()
Getstheidofaviewafterwhichthisoneisvisitedinaccessibilitytraversal.
int
getAccessibilityTraversalBefore()
Getstheidofaviewbeforewhichthisoneisvisitedinaccessibilitytraversal.
float
getAlpha()
Theopacityoftheview.
Animation
getAnimation()
Gettheanimationcurrentlyassociatedwiththisview.
Matrix
getAnimationMatrix()
Returnthecurrenttransformationmatrixoftheview.
IBinder
getApplicationWindowToken()
Retrieveauniquetokenidentifyingthetop-level"real"windowof
thewindowthatthisviewisattachedto.
int[]
getAttributeResolutionStack(intattribute)
ReturnstheorderedlistofresourceIDthatareconsideredwhenresolvingattributevalues
forthisView.
Map
getAttributeSourceResourceMap()
ReturnsthemappingofattributeresourceIDtosourceresourceIDwheretheattributevalue
wasset.
String[]
getAutofillHints()
GetsthehintsthathelpanAutofillServicedeterminehow
toautofilltheviewwiththeuser'sdata.
final
AutofillId
getAutofillId()
Getstheunique,logicalidentifierofthisviewintheactivity,forautofillpurposes.
int
getAutofillType()
Describestheautofilltypeofthisview,soan
AutofillServicecancreatetheproperAutofillValue
whenautofillingtheview.
AutofillValue
getAutofillValue()
GetstheView'scurrentautofillvalue.
Drawable
getBackground()
Getsthebackgrounddrawable
BlendMode
getBackgroundTintBlendMode()
Returntheblendingmodeusedtoapplythetinttothebackground
drawable,ifspecified.
ColorStateList
getBackgroundTintList()
Returnthetintappliedtothebackgrounddrawable,ifspecified.
PorterDuff.Mode
getBackgroundTintMode()
Returntheblendingmodeusedtoapplythetinttothebackground
drawable,ifspecified.
int
getBaseline()
Returntheoffsetofthewidget'stextbaselinefromthewidget'stop
boundary.
final
int
getBottom()
Bottompositionofthisviewrelativetoitsparent.
float
getBottomFadingEdgeStrength()
Returnsthestrength,orintensity,ofthebottomfadededge.
int
getBottomPaddingOffset()
Amountbywhichtoextendthebottomfadingregion.
float
getCameraDistance()
GetsthedistancealongtheZaxisfromthecameratothisview.
boolean
getClipBounds(RectoutRect)
Populatesanoutputrectanglewiththeclipboundsoftheview,
returningtrueifsuccessfulorfalseiftheview's
clipboundsarenull.
Rect
getClipBounds()
ReturnsacopyofthecurrentclipBounds.
final
boolean
getClipToOutline()
ReturnswhethertheOutlineshouldbeusedtoclipthecontentsoftheView.
final
ContentCaptureSession
getContentCaptureSession()
Getsthesessionusedtonotifycontentcaptureevents.
CharSequence
getContentDescription()
ReturnstheView'scontentdescription.
final
Context
getContext()
Returnsthecontexttheviewisrunningin,throughwhichitcan
accessthecurrenttheme,resources,etc.
ContextMenu.ContextMenuInfo
getContextMenuInfo()
Viewsshouldimplementthisiftheyhaveextrainformationtoassociate
withthecontextmenu.
final
boolean
getDefaultFocusHighlightEnabled()
/**
ReturnswhetherthisViewshoulduseadefaultfocushighlightwhenitgetsfocusedbut
doesn'thaveR.attr.state_focuseddefinedinitsbackground.
static
int
getDefaultSize(intsize,intmeasureSpec)
Utilitytoreturnadefaultsize.
Display
getDisplay()
Getsthelogicaldisplaytowhichtheview'swindowhasbeenattached.
final
int[]
getDrawableState()
ReturnanarrayofresourceIDsofthedrawablestatesrepresentingthe
currentstateoftheview.
Bitmap
getDrawingCache()
Thismethodwasdeprecated
inAPIlevel28.
Theviewdrawingcachewaslargelymadeobsoletewiththeintroductionof
hardware-acceleratedrenderinginAPI11.Withhardware-acceleration,intermediatecache
layersarelargelyunnecessaryandcaneasilyresultinanetlossinperformanceduetothe
costofcreatingandupdatingthelayer.Intherarecaseswherecachinglayersareuseful,
suchasforalphaanimations,setLayerType(int,android.graphics.Paint)handlesthiswithhardware
rendering.Forsoftware-renderedsnapshotsofasmallpartoftheViewhierarchyor
individualViewsitisrecommendedtocreateaCanvasfromeitheraBitmapor
Pictureandcalldraw(android.graphics.Canvas)ontheView.Howeverthese
software-renderedusagesarediscouragedandhavecompatibilityissueswithhardware-only
renderingfeaturessuchasConfig.HARDWARE
bitmaps,real-timeshadows,andoutlineclipping.ForscreenshotsoftheUIforfeedback
reportsorunittestingthePixelCopyAPIisrecommended.
Bitmap
getDrawingCache(booleanautoScale)
Thismethodwasdeprecated
inAPIlevel28.
Theviewdrawingcachewaslargelymadeobsoletewiththeintroductionof
hardware-acceleratedrenderinginAPI11.Withhardware-acceleration,intermediatecache
layersarelargelyunnecessaryandcaneasilyresultinanetlossinperformanceduetothe
costofcreatingandupdatingthelayer.Intherarecaseswherecachinglayersareuseful,
suchasforalphaanimations,setLayerType(int,android.graphics.Paint)handlesthiswithhardware
rendering.Forsoftware-renderedsnapshotsofasmallpartoftheViewhierarchyor
individualViewsitisrecommendedtocreateaCanvasfromeitheraBitmapor
Pictureandcalldraw(android.graphics.Canvas)ontheView.Howeverthese
software-renderedusagesarediscouragedandhavecompatibilityissueswithhardware-only
renderingfeaturessuchasConfig.HARDWARE
bitmaps,real-timeshadows,andoutlineclipping.ForscreenshotsoftheUIforfeedback
reportsorunittestingthePixelCopyAPIisrecommended.
int
getDrawingCacheBackgroundColor()
Thismethodwasdeprecated
inAPIlevel28.
Theviewdrawingcachewaslargelymadeobsoletewiththeintroductionof
hardware-acceleratedrenderinginAPI11.Withhardware-acceleration,intermediatecache
layersarelargelyunnecessaryandcaneasilyresultinanetlossinperformanceduetothe
costofcreatingandupdatingthelayer.Intherarecaseswherecachinglayersareuseful,
suchasforalphaanimations,setLayerType(int,android.graphics.Paint)handlesthiswithhardware
rendering.Forsoftware-renderedsnapshotsofasmallpartoftheViewhierarchyor
individualViewsitisrecommendedtocreateaCanvasfromeitheraBitmapor
Pictureandcalldraw(android.graphics.Canvas)ontheView.Howeverthese
software-renderedusagesarediscouragedandhavecompatibilityissueswithhardware-only
renderingfeaturessuchasConfig.HARDWARE
bitmaps,real-timeshadows,andoutlineclipping.ForscreenshotsoftheUIforfeedback
reportsorunittestingthePixelCopyAPIisrecommended.
int
getDrawingCacheQuality()
Thismethodwasdeprecated
inAPIlevel28.
Theviewdrawingcachewaslargelymadeobsoletewiththeintroductionof
hardware-acceleratedrenderinginAPI11.Withhardware-acceleration,intermediatecache
layersarelargelyunnecessaryandcaneasilyresultinanetlossinperformanceduetothe
costofcreatingandupdatingthelayer.Intherarecaseswherecachinglayersareuseful,
suchasforalphaanimations,setLayerType(int,android.graphics.Paint)handlesthiswithhardware
rendering.Forsoftware-renderedsnapshotsofasmallpartoftheViewhierarchyor
individualViewsitisrecommendedtocreateaCanvasfromeitheraBitmapor
Pictureandcalldraw(android.graphics.Canvas)ontheView.Howeverthese
software-renderedusagesarediscouragedandhavecompatibilityissueswithhardware-only
renderingfeaturessuchasConfig.HARDWARE
bitmaps,real-timeshadows,andoutlineclipping.ForscreenshotsoftheUIforfeedback
reportsorunittestingthePixelCopyAPIisrecommended.
void
getDrawingRect(RectoutRect)
Returnthevisibledrawingboundsofyourview.
long
getDrawingTime()
Returnthetimeatwhichthedrawingoftheviewhierarchystarted.
float
getElevation()
Thebaseelevationofthisviewrelativetoitsparent,inpixels.
int
getExplicitStyle()
ReturnstheresourceIDforthestylespecifiedusingstyle="..."inthe
AttributeSet'sbackingXMLelementorResources#ID_NULLotherwiseifnot
specifiedorotherwisenotapplicable.
boolean
getFilterTouchesWhenObscured()
Getswhethertheframeworkshoulddiscardtoucheswhentheview's
windowisobscuredbyanothervisiblewindow.
boolean
getFitsSystemWindows()
CheckforstateofsetFitsSystemWindows(boolean).
int
getFocusable()
Returnsthefocusablesettingforthisview.
ArrayList
getFocusables(intdirection)
Findandreturnallfocusableviewsthataredescendantsofthisview,
possiblyincludingthisviewifitisfocusableitself.
void
getFocusedRect(Rectr)
Whenaviewhasfocusandtheusernavigatesawayfromit,thenextviewissearchedfor
startingfromtherectanglefilledinbythismethod.
Drawable
getForeground()
ReturnsthedrawableusedastheforegroundofthisView.
int
getForegroundGravity()
Describeshowtheforegroundispositioned.
BlendMode
getForegroundTintBlendMode()
Returntheblendingmodeusedtoapplythetinttotheforeground
drawable,ifspecified.
ColorStateList
getForegroundTintList()
Returnthetintappliedtotheforegrounddrawable,ifspecified.
PorterDuff.Mode
getForegroundTintMode()
Returntheblendingmodeusedtoapplythetinttotheforeground
drawable,ifspecified.
final
boolean
getGlobalVisibleRect(Rectr)
boolean
getGlobalVisibleRect(Rectr,PointglobalOffset)
Ifsomepartofthisviewisnotclippedbyanyofitsparents,then
returnthatareainringlobal(root)coordinates.
Handler
getHandler()
final
boolean
getHasOverlappingRendering()
Returnsthevalueforoverlappingrenderingthatisusedinternally.
final
int
getHeight()
Returntheheightofyourview.
void
getHitRect(RectoutRect)
Hitrectangleinparent'scoordinates
int
getHorizontalFadingEdgeLength()
Returnsthesizeofthehorizontalfadededgesusedtoindicatethatmore
contentinthisviewisvisible.
int
getHorizontalScrollbarHeight()
Returnstheheightofthehorizontalscrollbar.
Drawable
getHorizontalScrollbarThumbDrawable()
ReturnsthecurrentlyconfiguredDrawableforthethumbofthehorizontalscrollbarifit
exists,nullotherwise.
Drawable
getHorizontalScrollbarTrackDrawable()
ReturnsthecurrentlyconfiguredDrawableforthetrackofthehorizontalscrollbarifit
exists,nullotherwise.
int
getId()
Returnsthisview'sidentifier.
int
getImportantForAccessibility()
GetsthemodefordeterminingwhetherthisViewisimportantforaccessibility.
int
getImportantForAutofill()
Getsthemodefordeterminingwhetherthisviewisimportantforautofill.
int
getImportantForContentCapture()
Getsthemodefordeterminingwhetherthisviewisimportantforcontentcapture.
boolean
getKeepScreenOn()
Returnswhetherthescreenshouldremainon,correspondingtothecurrent
valueofKEEP_SCREEN_ON.
KeyEvent.DispatcherState
getKeyDispatcherState()
ReturntheglobalKeyEvent.DispatcherState
forthisview'swindow.
int
getLabelFor()
Getstheidofaviewforwhichthisviewservesasalabelfor
accessibilitypurposes.
int
getLayerType()
Indicateswhattypeoflayeriscurrentlyassociatedwiththisview.
int
getLayoutDirection()
Returnstheresolvedlayoutdirectionforthisview.
ViewGroup.LayoutParams
getLayoutParams()
GettheLayoutParamsassociatedwiththisview.
final
int
getLeft()
Leftpositionofthisviewrelativetoitsparent.
float
getLeftFadingEdgeStrength()
Returnsthestrength,orintensity,oftheleftfadededge.
int
getLeftPaddingOffset()
Amountbywhichtoextendtheleftfadingregion.
final
boolean
getLocalVisibleRect(Rectr)
void
getLocationInSurface(int[]location)
Computetheview'scoordinatewithinthesurface.
void
getLocationInWindow(int[]outLocation)
Computesthecoordinatesofthisviewinitswindow.
void
getLocationOnScreen(int[]outLocation)
Computesthecoordinatesofthisviewonthescreen.
Matrix
getMatrix()
Thetransformmatrixofthisview,whichiscalculatedbasedonthecurrent
rotation,scale,andpivotproperties.
final
int
getMeasuredHeight()
LikegetMeasuredHeightAndState(),butonlyreturnsthe
rawheightcomponent(thatistheresultismaskedby
MEASURED_SIZE_MASK).
final
int
getMeasuredHeightAndState()
Returnthefullheightmeasurementinformationforthisviewascomputed
bythemostrecentcalltomeasure(int,int).
final
int
getMeasuredState()
ReturnonlythestatebitsofgetMeasuredWidthAndState()
andgetMeasuredHeightAndState(),combinedintooneinteger.
final
int
getMeasuredWidth()
LikegetMeasuredWidthAndState(),butonlyreturnsthe
rawwidthcomponent(thatistheresultismaskedby
MEASURED_SIZE_MASK).
final
int
getMeasuredWidthAndState()
Returnthefullwidthmeasurementinformationforthisviewascomputed
bythemostrecentcalltomeasure(int,int).
int
getMinimumHeight()
Returnstheminimumheightoftheview.
int
getMinimumWidth()
Returnstheminimumwidthoftheview.
int
getNextClusterForwardId()
Getstheidoftherootofthenextkeyboardnavigationcluster.
int
getNextFocusDownId()
GetstheidoftheviewtousewhenthenextfocusisFOCUS_DOWN.
int
getNextFocusForwardId()
GetstheidoftheviewtousewhenthenextfocusisFOCUS_FORWARD.
int
getNextFocusLeftId()
GetstheidoftheviewtousewhenthenextfocusisFOCUS_LEFT.
int
getNextFocusRightId()
GetstheidoftheviewtousewhenthenextfocusisFOCUS_RIGHT.
int
getNextFocusUpId()
GetstheidoftheviewtousewhenthenextfocusisFOCUS_UP.
View.OnFocusChangeListener
getOnFocusChangeListener()
Returnsthefocus-changecallbackregisteredforthisview.
int
getOutlineAmbientShadowColor()
ViewOutlineProvider
getOutlineProvider()
ReturnsthecurrentViewOutlineProvideroftheview,whichgeneratestheOutline
thatdefinestheshapeoftheshadowitcasts,andenablesoutlineclipping.
int
getOutlineSpotShadowColor()
int
getOverScrollMode()
Returnstheover-scrollmodeforthisview.
ViewOverlay
getOverlay()
Returnstheoverlayforthisview,creatingitifitdoesnotyetexist.
int
getPaddingBottom()
Returnsthebottompaddingofthisview.
int
getPaddingEnd()
Returnstheendpaddingofthisviewdependingonitsresolvedlayoutdirection.
int
getPaddingLeft()
Returnstheleftpaddingofthisview.
int
getPaddingRight()
Returnstherightpaddingofthisview.
int
getPaddingStart()
Returnsthestartpaddingofthisviewdependingonitsresolvedlayoutdirection.
int
getPaddingTop()
Returnsthetoppaddingofthisview.
final
ViewParent
getParent()
Getstheparentofthisview.
ViewParent
getParentForAccessibility()
Getstheparentforaccessibilitypurposes.
float
getPivotX()
Thexlocationofthepointaroundwhichtheviewisrotated
andscaled.
float
getPivotY()
Theylocationofthepointaroundwhichtheviewisrotated
andscaled.
PointerIcon
getPointerIcon()
Getsthepointericonforthecurrentview.
String[]
getReceiveContentMimeTypes()
ReturnstheMIMEtypesacceptedbyperformReceiveContent(ContentInfo)forthisview,as
configuredviasetOnReceiveContentListener(String[],OnReceiveContentListener).
Resources
getResources()
Returnstheresourcesassociatedwiththisview.
final
boolean
getRevealOnFocusHint()
Returnsthisview'spreferenceforrevealbehaviorwhenitgainsfocus.
final
int
getRight()
Rightpositionofthisviewrelativetoitsparent.
float
getRightFadingEdgeStrength()
Returnsthestrength,orintensity,oftherightfadededge.
int
getRightPaddingOffset()
Amountbywhichtoextendtherightfadingregion.
AttachedSurfaceControl
getRootSurfaceControl()
TheAttachedSurfaceControlitselfisnotaView,itisjusttheinterfacetothe
windowing-systemobjectthatcontainstheentireviewhierarchy.
View
getRootView()
Findsthetopmostviewinthecurrentviewhierarchy.
WindowInsets
getRootWindowInsets()
ProvideoriginalWindowInsetsthataredispatchedtotheviewhierarchy.
float
getRotation()
Thedegreesthattheviewisrotatedaroundthepivotpoint.
float
getRotationX()
Thedegreesthattheviewisrotatedaroundthehorizontalaxisthroughthepivotpoint.
float
getRotationY()
Thedegreesthattheviewisrotatedaroundtheverticalaxisthroughthepivotpoint.
float
getScaleX()
Theamountthattheviewisscaledinxaroundthepivotpoint,asaproportionof
theview'sunscaledwidth.
float
getScaleY()
Theamountthattheviewisscaledinyaroundthepivotpoint,asaproportionof
theview'sunscaledheight.
int
getScrollBarDefaultDelayBeforeFade()
Returnsthedelaybeforescrollbarsfade.
int
getScrollBarFadeDuration()
Returnsthescrollbarfadeduration.
int
getScrollBarSize()
Returnsthescrollbarsize.
int
getScrollBarStyle()
Returnsthecurrentscrollbarstyle.
int
getScrollCaptureHint()
Returnsthecurrentscrollcapturehintforthisview.
int
getScrollIndicators()
Returnsabitmaskrepresentingtheenabledscrollindicators.
final
int
getScrollX()
Returnthescrolledleftpositionofthisview.
final
int
getScrollY()
Returnthescrolledtoppositionofthisview.
int
getSolidColor()
Overridethisifyourviewisknowntoalwaysbedrawnontopofasolidcolorbackground,
andneedstodrawfadingedges.
int
getSourceLayoutResId()
AViewcanbeinflatedfromanXMLlayout.
final
CharSequence
getStateDescription()
ReturnstheView'sstatedescription.
StateListAnimator
getStateListAnimator()
ReturnsthecurrentStateListAnimatorifexists.
int
getSuggestedMinimumHeight()
Returnsthesuggestedminimumheightthattheviewshoulduse.
int
getSuggestedMinimumWidth()
Returnsthesuggestedminimumwidththattheviewshoulduse.
List
getSystemGestureExclusionRects()
Retrievethelistofareaswithinthisview'spost-layoutcoordinatespacewherethesystem
shouldnotintercepttouchorotherpointingdevicegestures.
int
getSystemUiVisibility()
Thismethodwasdeprecated
inAPIlevel30.
SystemUiVisibilityflagsaredeprecated.UseWindowInsetsController
instead.
Object
getTag()
Returnsthisview'stag.
Object
getTag(intkey)
Returnsthetagassociatedwiththisviewandthespecifiedkey.
int
getTextAlignment()
Returntheresolvedtextalignment.
int
getTextDirection()
Returntheresolvedtextdirection.
CharSequence
getTooltipText()
Returnstheview'stooltiptext.
final
int
getTop()
Toppositionofthisviewrelativetoitsparent.
float
getTopFadingEdgeStrength()
Returnsthestrength,orintensity,ofthetopfadededge.
int
getTopPaddingOffset()
Amountbywhichtoextendthetopfadingregion.
TouchDelegate
getTouchDelegate()
GetstheTouchDelegateforthisView.
ArrayList
getTouchables()
Findandreturnalltouchableviewsthataredescendantsofthisview,
possiblyincludingthisviewifitistouchableitself.
float
getTransitionAlpha()
ThispropertyisintendedonlyforusebytheFadetransition,whichanimates
ittoproduceavisualtranslucencythatdoesnotside-effect(orgetaffected
by)therealalphaproperty.
String
getTransitionName()
ReturnsthenameoftheViewtobeusedtoidentifyViewsinTransitions.
float
getTranslationX()
Thehorizontallocationofthisviewrelativetoitsleftposition.
float
getTranslationY()
Theverticallocationofthisviewrelativetoitstopposition.
float
getTranslationZ()
Thedepthlocationofthisviewrelativetoitselevation.
long
getUniqueDrawingId()
Gettheidentifierusedforthisviewbythedrawingsystem.
int
getVerticalFadingEdgeLength()
Returnsthesizeoftheverticalfadededgesusedtoindicatethatmore
contentinthisviewisvisible.
int
getVerticalScrollbarPosition()
Drawable
getVerticalScrollbarThumbDrawable()
ReturnsthecurrentlyconfiguredDrawableforthethumboftheverticalscrollbarifit
exists,nullotherwise.
Drawable
getVerticalScrollbarTrackDrawable()
ReturnsthecurrentlyconfiguredDrawableforthetrackoftheverticalscrollbarifit
exists,nullotherwise.
int
getVerticalScrollbarWidth()
Returnsthewidthoftheverticalscrollbar.
ViewTranslationResponse
getViewTranslationResponse()
ReturnstheViewTranslationResponseassociatedwiththisview.
ViewTreeObserver
getViewTreeObserver()
ReturnstheViewTreeObserverforthisview'shierarchy.
int
getVisibility()
Returnsthevisibilitystatusforthisview.
final
int
getWidth()
Returnthewidthofyourview.
int
getWindowAttachCount()
WindowId
getWindowId()
RetrievetheWindowIdforthewindowthisviewis
currentlyattachedto.
WindowInsetsController
getWindowInsetsController()
RetrievesthesingleWindowInsetsControllerofthewindowthisviewisattachedto.
int
getWindowSystemUiVisibility()
Thismethodwasdeprecated
inAPIlevel30.
SystemUiVisibilityflagsaredeprecated.UseWindowInsetsController
instead.
IBinder
getWindowToken()
Retrieveauniquetokenidentifyingthewindowthisviewisattachedto.
int
getWindowVisibility()
Returnsthecurrentvisibilityofthewindowthisviewisattachedto
(eitherGONE,INVISIBLE,orVISIBLE).
void
getWindowVisibleDisplayFrame(RectoutRect)
Retrievetheoverallvisibledisplaysizeinwhichthewindowthisviewis
attachedtohasbeenpositionedin.
float
getX()
Thevisualxpositionofthisview,inpixels.
float
getY()
Thevisualypositionofthisview,inpixels.
float
getZ()
Thevisualzpositionofthisview,inpixels.
boolean
hasExplicitFocusable()
ReturnstrueifthisviewisfocusableorifitcontainsareachableView
forwhichhasExplicitFocusable()returnstrue.
boolean
hasFocus()
Returnstrueifthisviewhasfocusitself,oristheancestorofthe
viewthathasfocus.
boolean
hasFocusable()
ReturnstrueifthisviewisfocusableorifitcontainsareachableView
forwhichhasFocusable()returnstrue.
boolean
hasNestedScrollingParent()
Returnstrueifthisviewhasanestedscrollingparent.
boolean
hasOnClickListeners()
ReturnwhetherthisviewhasanattachedOnClickListener.
boolean
hasOnLongClickListeners()
ReturnwhetherthisviewhasanattachedOnLongClickListener.
boolean
hasOverlappingRendering()
ReturnswhetherthisViewhascontentwhichoverlaps.
boolean
hasPointerCapture()
Checkspointercapturestatus.
boolean
hasTransientState()
Indicateswhethertheviewiscurrentlytrackingtransientstatethatthe
appshouldnotneedtoconcernitselfwithsavingandrestoring,butthat
theframeworkshouldtakespecialnotetopreservewhenpossible.
boolean
hasWindowFocus()
Returnstrueifthisviewisinawindowthatcurrentlyhaswindowfocus.
static
View
inflate(Contextcontext,intresource,ViewGrouproot)
InflateaviewfromanXMLresource.
void
invalidate()
Invalidatethewholeview.
void
invalidate(Rectdirty)
Thismethodwasdeprecated
inAPIlevel28.
TheswitchtohardwareacceleratedrenderinginAPI14reduced
theimportanceofthedirtyrectangle.InAPI21thegivenrectangleis
ignoredentirelyinfavorofaninternally-calculatedareainstead.
Becauseofthis,clientsareencouragedtojustcallinvalidate().
void
invalidate(intl,intt,intr,intb)
Thismethodwasdeprecated
inAPIlevel28.
TheswitchtohardwareacceleratedrenderinginAPI14reduced
theimportanceofthedirtyrectangle.InAPI21thegivenrectangleis
ignoredentirelyinfavorofaninternally-calculatedareainstead.
Becauseofthis,clientsareencouragedtojustcallinvalidate().
void
invalidateDrawable(Drawabledrawable)
InvalidatesthespecifiedDrawable.
void
invalidateOutline()
CalledtorebuildthisView'sOutlinefromitsoutlineprovider
boolean
isAccessibilityFocused()
ReturnswhetherthisViewisaccessibilityfocused.
boolean
isAccessibilityHeading()
Getswhetherthisviewisaheadingforaccessibilitypurposes.
boolean
isActivated()
Indicatestheactivationstateofthisview.
boolean
isAttachedToWindow()
Returnstrueifthisviewiscurrentlyattachedtoawindow.
boolean
isClickable()
Indicateswhetherthisviewreactstoclickeventsornot.
boolean
isContextClickable()
Indicateswhetherthisviewreactstocontextclicksornot.
boolean
isDirty()
Trueifthisviewhaschangedsincethelasttimebeingdrawn.
boolean
isDrawingCacheEnabled()
Thismethodwasdeprecated
inAPIlevel28.
Theviewdrawingcachewaslargelymadeobsoletewiththeintroductionof
hardware-acceleratedrenderinginAPI11.Withhardware-acceleration,intermediatecache
layersarelargelyunnecessaryandcaneasilyresultinanetlossinperformanceduetothe
costofcreatingandupdatingthelayer.Intherarecaseswherecachinglayersareuseful,
suchasforalphaanimations,setLayerType(int,android.graphics.Paint)handlesthiswithhardware
rendering.Forsoftware-renderedsnapshotsofasmallpartoftheViewhierarchyor
individualViewsitisrecommendedtocreateaCanvasfromeitheraBitmapor
Pictureandcalldraw(android.graphics.Canvas)ontheView.Howeverthese
software-renderedusagesarediscouragedandhavecompatibilityissueswithhardware-only
renderingfeaturessuchasConfig.HARDWARE
bitmaps,real-timeshadows,andoutlineclipping.ForscreenshotsoftheUIforfeedback
reportsorunittestingthePixelCopyAPIisrecommended.
boolean
isDuplicateParentStateEnabled()
Indicateswhetherthisduplicatesitsdrawablestatefromitsparent.
boolean
isEnabled()
Returnstheenabledstatusforthisview.
final
boolean
isFocusable()
ReturnswhetherthisViewiscurrentlyabletotakefocus.
final
boolean
isFocusableInTouchMode()
Whenaviewisfocusable,itmaynotwanttotakefocuswhenintouchmode.
boolean
isFocused()
Returnstrueifthisviewhasfocus
final
boolean
isFocusedByDefault()
ReturnswhetherthisViewshouldreceivefocuswhenthefocusisrestoredfortheview
hierarchycontainingthisview.
boolean
isForceDarkAllowed()
SeesetForceDarkAllowed(boolean)
boolean
isHapticFeedbackEnabled()
boolean
isHardwareAccelerated()
Indicateswhetherthisviewisattachedtoahardwareaccelerated
windowornot.
boolean
isHorizontalFadingEdgeEnabled()
Indicatewhetherthehorizontaledgesarefadedwhentheviewis
scrolledhorizontally.
boolean
isHorizontalScrollBarEnabled()
Indicatewhetherthehorizontalscrollbarshouldbedrawnornot.
boolean
isHovered()
Returnstrueiftheviewiscurrentlyhovered.
boolean
isImportantForAccessibility()
Computeswhetherthisviewshouldbeexposedforaccessibility.
final
boolean
isImportantForAutofill()
HintstheAndroidSystemwhethertheAssistStructure.ViewNode
associatedwiththisviewisconsideredimportantforautofillpurposes.
final
boolean
isImportantForContentCapture()
HintstheAndroidSystemwhetherthisviewisconsideredimportantforcontentcapture,based
onthevalueexplicitlysetbysetImportantForContentCapture(int)andheuristics
whenit'sIMPORTANT_FOR_CONTENT_CAPTURE_AUTO.
boolean
isInEditMode()
IndicateswhetherthisViewiscurrentlyineditmode.
boolean
isInLayout()
Returnswhethertheviewhierarchyiscurrentlyundergoingalayoutpass.
boolean
isInTouchMode()
Returnswhetherthedeviceiscurrentlyintouchmode.
final
boolean
isKeyboardNavigationCluster()
ReturnswhetherthisViewisarootofakeyboardnavigationcluster.
boolean
isLaidOut()
Returnstrueifthisviewhasbeenthroughatleastonelayoutsinceit
waslastattachedtoordetachedfromawindow.
boolean
isLayoutDirectionResolved()
boolean
isLayoutRequested()
Indicateswhetherornotthisview'slayoutwillberequestedduring
thenexthierarchylayoutpass.
boolean
isLongClickable()
Indicateswhetherthisviewreactstolongclickeventsornot.
boolean
isNestedScrollingEnabled()
Returnstrueifnestedscrollingisenabledforthisview.
boolean
isOpaque()
IndicateswhetherthisViewisopaque.
boolean
isPaddingOffsetRequired()
IftheViewdrawscontentinsideitspaddingandenablesfadingedges,
itneedstosupportpaddingoffsets.
boolean
isPaddingRelative()
Returnifthepaddinghasbeensetthroughrelativevalues
setPaddingRelative(int,int,int,int)orthrough
boolean
isPivotSet()
ReturnswhetherornotapivothasbeensetbyacalltosetPivotX(float)or
setPivotY(float).
boolean
isPressed()
Indicateswhethertheviewiscurrentlyinpressedstate.
boolean
isSaveEnabled()
Indicateswhetherthisviewwillsaveitsstate(thatis,
whetheritsonSaveInstanceState()methodwillbecalled).
boolean
isSaveFromParentEnabled()
Indicateswhethertheentirehierarchyunderthisviewwillsaveits
statewhenastatesavingtraversaloccursfromitsparent.
boolean
isScreenReaderFocusable()
Returnswhethertheviewshouldbetreatedasafocusableunitbyscreenreader
accessibilitytools.
boolean
isScrollContainer()
Indicateswhetherthisviewisoneofthesetofscrollablecontainersin
itswindow.
boolean
isScrollbarFadingEnabled()
Returnstrueifscrollbarswillfadewhenthisviewisnotscrolling
boolean
isSelected()
Indicatestheselectionstateofthisview.
final
boolean
isShowingLayoutBounds()
ReturnstruewhentheViewisattachedandthesystemdevelopersettingtoshow
thelayoutboundsisenabledorfalseotherwise.
boolean
isShown()
Returnsthevisibilityofthisviewandallofitsancestors
boolean
isSoundEffectsEnabled()
final
boolean
isTemporarilyDetached()
TellswhethertheViewisinthestatebetweenonStartTemporaryDetach()
andonFinishTemporaryDetach().
boolean
isTextAlignmentResolved()
boolean
isTextDirectionResolved()
boolean
isVerticalFadingEdgeEnabled()
Indicatewhethertheverticaledgesarefadedwhentheviewis
scrolledhorizontally.
boolean
isVerticalScrollBarEnabled()
Indicatewhethertheverticalscrollbarshouldbedrawnornot.
boolean
isVisibleToUserForAutofill(intvirtualId)
Computeswhetherthisvirtualautofillviewisvisibletotheuser.
void
jumpDrawablesToCurrentState()
CallDrawable.jumpToCurrentState()
onallDrawableobjectsassociatedwiththisview.
View
keyboardNavigationClusterSearch(ViewcurrentCluster,intdirection)
Findthenearestkeyboardnavigationclusterinthespecifieddirection.
void
layout(intl,intt,intr,intb)
Assignasizeandpositiontoaviewandallofits
descendants
Thisisthesecondphaseofthelayoutmechanism.
final
void
measure(intwidthMeasureSpec,intheightMeasureSpec)
Thisiscalledtofindouthowbigaviewshouldbe.
static
int[]
mergeDrawableStates(int[]baseState,int[]additionalState)
MergeyourownstatevaluesinadditionalStateintothebase
statevaluesbaseStatethatwerereturnedby
onCreateDrawableState(int).
void
offsetLeftAndRight(intoffset)
Offsetthisview'shorizontallocationbythespecifiedamountofpixels.
void
offsetTopAndBottom(intoffset)
Offsetthisview'sverticallocationbythespecifiednumberofpixels.
void
onAnimationEnd()
InvokedbyaparentViewGrouptonotifytheendoftheanimation
currentlyassociatedwiththisview.
void
onAnimationStart()
InvokedbyaparentViewGrouptonotifythestartoftheanimation
currentlyassociatedwiththisview.
WindowInsets
onApplyWindowInsets(WindowInsetsinsets)
CalledwhentheviewshouldapplyWindowInsetsaccordingtoitsinternalpolicy.
void
onAttachedToWindow()
Thisiscalledwhentheviewisattachedtoawindow.
void
onCancelPendingInputEvents()
CalledastheresultofacalltocancelPendingInputEvents()onthisviewor
aparentview.
boolean
onCapturedPointerEvent(MotionEventevent)
Implementthismethodtohandlecapturedpointerevents
boolean
onCheckIsTextEditor()
Checkwhetherthecalledviewisatexteditor,inwhichcaseit
wouldmakesensetoautomaticallydisplayasoftinputwindowfor
it.
void
onConfigurationChanged(ConfigurationnewConfig)
Calledwhenthecurrentconfigurationoftheresourcesbeingused
bytheapplicationhavechanged.
void
onCreateContextMenu(ContextMenumenu)
Viewsshouldimplementthisiftheviewitselfisgoingtoadditemsto
thecontextmenu.
int[]
onCreateDrawableState(intextraSpace)
GeneratethenewDrawablestatefor
thisview.
InputConnection
onCreateInputConnection(EditorInfooutAttrs)
CreateanewInputConnectionforanInputMethodtointeract
withtheview.
void
onCreateViewTranslationRequest(int[]supportedFormats,ConsumerrequestsCollector)
CollectsaViewTranslationRequestwhichrepresentsthecontenttobetranslatedin
theview.
void
onCreateVirtualViewTranslationRequests(long[]virtualIds,int[]supportedFormats,ConsumerrequestsCollector)
CollectsViewTranslationRequestswhichrepresentsthecontenttobetranslated
forthevirtualviewsinthehostview.
void
onDetachedFromWindow()
Thisiscalledwhentheviewisdetachedfromawindow.
void
onDisplayHint(inthint)
Givesthisviewahintaboutwhetherisdisplayedornot.
boolean
onDragEvent(DragEventevent)
Handlesdrageventssentbythesystemfollowingacallto
startDragAndDrop().
void
onDraw(Canvascanvas)
Implementthistodoyourdrawing.
void
onDrawForeground(Canvascanvas)
Drawanyforegroundcontentforthisview.
final
void
onDrawScrollBars(Canvascanvas)
Requestthedrawingofthehorizontalandtheverticalscrollbar.
boolean
onFilterTouchEventForSecurity(MotionEventevent)
Filterthetoucheventtoapplysecuritypolicies.
void
onFinishInflate()
FinalizeinflatingaviewfromXML.
void
onFinishTemporaryDetach()
CalledafteronStartTemporaryDetach()whenthecontainerisdone
changingtheview.
void
onFocusChanged(booleangainFocus,intdirection,RectpreviouslyFocusedRect)
Calledbytheviewsystemwhenthefocusstateofthisviewchanges.
boolean
onGenericMotionEvent(MotionEventevent)
Implementthismethodtohandlegenericmotionevents.
void
onHoverChanged(booleanhovered)
Implementthismethodtohandlehoverstatechanges.
boolean
onHoverEvent(MotionEventevent)
Implementthismethodtohandlehoverevents.
void
onInitializeAccessibilityEvent(AccessibilityEventevent)
InitializesanAccessibilityEventwithinformationabout
thisViewwhichistheeventsource.
void
onInitializeAccessibilityNodeInfo(AccessibilityNodeInfoinfo)
InitializesanAccessibilityNodeInfowithinformationaboutthisview.
boolean
onKeyDown(intkeyCode,KeyEventevent)
DefaultimplementationofKeyEvent.Callback.onKeyDown():performpressoftheview
whenKeyEvent#KEYCODE_DPAD_CENTERorKeyEvent#KEYCODE_ENTER
isreleased,iftheviewisenabledandclickable.
boolean
onKeyLongPress(intkeyCode,KeyEventevent)
DefaultimplementationofKeyEvent.Callback.onKeyLongPress():alwaysreturnsfalse(doesn'thandle
theevent).
boolean
onKeyMultiple(intkeyCode,intrepeatCount,KeyEventevent)
DefaultimplementationofKeyEvent.Callback.onKeyMultiple():alwaysreturnsfalse(doesn'thandle
theevent).
boolean
onKeyPreIme(intkeyCode,KeyEventevent)
Handleakeyeventbeforeitisprocessedbyanyinputmethod
associatedwiththeviewhierarchy.
boolean
onKeyShortcut(intkeyCode,KeyEventevent)
Calledonthefocusedviewwhenakeyshortcuteventisnothandled.
boolean
onKeyUp(intkeyCode,KeyEventevent)
DefaultimplementationofKeyEvent.Callback.onKeyUp():performclickingoftheview
whenKeyEvent#KEYCODE_DPAD_CENTER,KeyEvent#KEYCODE_ENTER
orKeyEvent#KEYCODE_SPACEisreleased.
void
onLayout(booleanchanged,intleft,inttop,intright,intbottom)
Calledfromlayoutwhenthisviewshould
assignasizeandpositiontoeachofitschildren.
void
onMeasure(intwidthMeasureSpec,intheightMeasureSpec)
Measuretheviewanditscontenttodeterminethemeasuredwidthandthe
measuredheight.
void
onOverScrolled(intscrollX,intscrollY,booleanclampedX,booleanclampedY)
CalledbyoverScrollBy(int,int,int,int,int,int,int,int,boolean)to
respondtotheresultsofanover-scrolloperation.
void
onPointerCaptureChange(booleanhasCapture)
Calledwhenthewindowhasjustacquiredorlostpointercapture.
void
onPopulateAccessibilityEvent(AccessibilityEventevent)
CalledfromdispatchPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent)
givingachancetothisViewtopopulatetheaccessibilityeventwithits
textcontent.
void
onProvideAutofillStructure(ViewStructurestructure,intflags)
PopulatesaViewStructuretofullfilanautofillrequest.
void
onProvideAutofillVirtualStructure(ViewStructurestructure,intflags)
PopulatesaViewStructurecontainingvirtualchildrentofullfilanautofill
request.
void
onProvideContentCaptureStructure(ViewStructurestructure,intflags)
PopulatesaViewStructureforcontentcapture.
void
onProvideStructure(ViewStructurestructure)
Calledwhenassiststructureisbeingretrievedfromaviewaspartof
Activity.onProvideAssistData.
void
onProvideVirtualStructure(ViewStructurestructure)
Calledwhenassiststructureisbeingretrievedfromaviewaspartof
Activity.onProvideAssistDatato
generateadditionalvirtualstructureunderthisview.
ContentInfo
onReceiveContent(ContentInfopayload)
Implementsthedefaultbehaviorforreceivingcontentforthistypeofview.
PointerIcon
onResolvePointerIcon(MotionEventevent,intpointerIndex)
Returnsthepointericonforthemotionevent,ornullifitdoesn'tspecifytheicon.
void
onRestoreInstanceState(Parcelablestate)
Hookallowingaviewtore-applyarepresentationofitsinternalstatethathadpreviously
beengeneratedbyonSaveInstanceState().
void
onRtlPropertiesChanged(intlayoutDirection)
CalledwhenanyRTLproperty(layoutdirectionortextdirectionortextalignment)has
beenchanged.
Parcelable
onSaveInstanceState()
Hookallowingaviewtogeneratearepresentationofitsinternalstate
thatcanlaterbeusedtocreateanewinstancewiththatsamestate.
void
onScreenStateChanged(intscreenState)
Thismethodiscalledwheneverthestateofthescreenthisviewis
attachedtochanges.
void
onScrollCaptureSearch(RectlocalVisibleRect,PointwindowOffset,Consumertargets)
Calledwhenscrollcaptureisrequested,tosearchforappropriatecontenttoscroll.
void
onScrollChanged(intl,intt,intoldl,intoldt)
Thisiscalledinresponsetoaninternalscrollinthisview(i.e.,the
viewscrolleditsowncontents).
boolean
onSetAlpha(intalpha)
InvokedifthereisaTransformthatinvolvesalpha.
void
onSizeChanged(intw,inth,intoldw,intoldh)
Thisiscalledduringlayoutwhenthesizeofthisviewhaschanged.
void
onStartTemporaryDetach()
Thisiscalledwhenacontainerisgoingtotemporarilydetachachild,with
ViewGroup.detachViewFromParent.
boolean
onTouchEvent(MotionEventevent)
Implementthismethodtohandletouchscreenmotionevents.
boolean
onTrackballEvent(MotionEventevent)
Implementthismethodtohandletrackballmotionevents.
void
onViewTranslationResponse(ViewTranslationResponseresponse)
CalledwhenthecontentfromView#onCreateViewTranslationRequesthadbeentranslated
bytheTranslationService.
void
onVirtualViewTranslationResponses(LongSparseArrayresponse)
CalledwhenthecontentfromView#onCreateVirtualViewTranslationRequestshadbeen
translatedbytheTranslationService.
void
onVisibilityAggregated(booleanisVisible)
Calledwhentheuser-visibilityofthisViewispotentiallyaffectedbyachange
tothisviewitself,anancestorvieworthewindowthisviewisattachedto.
void
onVisibilityChanged(ViewchangedView,intvisibility)
Calledwhenthevisibilityofthevieworanancestoroftheviewhas
changed.
void
onWindowFocusChanged(booleanhasWindowFocus)
Calledwhenthewindowcontainingthisviewgainsorlosesfocus.
void
onWindowSystemUiVisibilityChanged(intvisible)
Thismethodwasdeprecated
inAPIlevel30.
SystemUiVisibilityflagsaredeprecated.UseWindowInsetsController
instead.
void
onWindowVisibilityChanged(intvisibility)
Calledwhenthewindowcontaininghaschangeitsvisibility
(betweenGONE,INVISIBLE,andVISIBLE).
boolean
overScrollBy(intdeltaX,intdeltaY,intscrollX,intscrollY,intscrollRangeX,intscrollRangeY,intmaxOverScrollX,intmaxOverScrollY,booleanisTouchEvent)
Scrolltheviewwithstandardbehaviorforscrollingbeyondthenormal
contentboundaries.
boolean
performAccessibilityAction(intaction,Bundlearguments)
Performsthespecifiedaccessibilityactionontheview.
boolean
performClick()
Callthisview'sOnClickListener,ifitisdefined.
boolean
performContextClick(floatx,floaty)
Callthisview'sOnContextClickListener,ifitisdefined.
boolean
performContextClick()
Callthisview'sOnContextClickListener,ifitisdefined.
boolean
performHapticFeedback(intfeedbackConstant)
BZZZTT!!1!
Providehapticfeedbacktotheuserforthisview.
boolean
performHapticFeedback(intfeedbackConstant,intflags)
BZZZTT!!1!
LikeperformHapticFeedback(int),withadditionaloptions.
boolean
performLongClick(floatx,floaty)
Callsthisview'sOnLongClickListener,ifitisdefined.
boolean
performLongClick()
Callsthisview'sOnLongClickListener,ifitisdefined.
ContentInfo
performReceiveContent(ContentInfopayload)
Receivesthegivencontent.
void
playSoundEffect(intsoundConstant)
Playasoundeffectforthisview.
boolean
post(Runnableaction)
CausestheRunnabletobeaddedtothemessagequeue.
boolean
postDelayed(Runnableaction,longdelayMillis)
CausestheRunnabletobeaddedtothemessagequeue,toberun
afterthespecifiedamountoftimeelapses.
void
postInvalidate()
Causeaninvalidatetohappenonasubsequentcyclethroughtheeventloop.
void
postInvalidate(intleft,inttop,intright,intbottom)
Causeaninvalidateofthespecifiedareatohappenonasubsequentcycle
throughtheeventloop.
void
postInvalidateDelayed(longdelayMilliseconds,intleft,inttop,intright,intbottom)
Causeaninvalidateofthespecifiedareatohappenonasubsequentcycle
throughtheeventloop.
void
postInvalidateDelayed(longdelayMilliseconds)
Causeaninvalidatetohappenonasubsequentcyclethroughtheevent
loop.
void
postInvalidateOnAnimation(intleft,inttop,intright,intbottom)
Causeaninvalidateofthespecifiedareatohappenonthenextanimation
timestep,typicallythenextdisplayframe.
void
postInvalidateOnAnimation()
Causeaninvalidatetohappenonthenextanimationtimestep,typicallythe
nextdisplayframe.
void
postOnAnimation(Runnableaction)
CausestheRunnabletoexecuteonthenextanimationtimestep.
void
postOnAnimationDelayed(Runnableaction,longdelayMillis)
CausestheRunnabletoexecuteonthenextanimationtimestep,
afterthespecifiedamountoftimeelapses.
void
refreshDrawableState()
Callthistoforceaviewtoupdateitsdrawablestate.
void
releasePointerCapture()
Releasesthepointercapture.
boolean
removeCallbacks(Runnableaction)
RemovesthespecifiedRunnablefromthemessagequeue.
void
removeOnAttachStateChangeListener(View.OnAttachStateChangeListenerlistener)
Removealistenerforattachstatechanges.
void
removeOnLayoutChangeListener(View.OnLayoutChangeListenerlistener)
Removealistenerforlayoutchanges.
void
removeOnUnhandledKeyEventListener(View.OnUnhandledKeyEventListenerlistener)
RemovesalistenerwhichwillreceiveunhandledKeyEvents.
void
requestApplyInsets()
AskthatanewdispatchofonApplyWindowInsets(android.view.WindowInsets)beperformed.
void
requestFitSystemWindows()
Thismethodwasdeprecated
inAPIlevel20.
UserequestApplyInsets()fornewerplatformversions.
final
boolean
requestFocus(intdirection)
Callthistotrytogivefocustoaspecificviewortooneofits
descendantsandgiveitahintaboutwhatdirectionfocusisheading.
final
boolean
requestFocus()
Callthistotrytogivefocustoaspecificviewortooneofits
descendants.
boolean
requestFocus(intdirection,RectpreviouslyFocusedRect)
Callthistotrytogivefocustoaspecificviewortooneofitsdescendants
andgiveithintsaboutthedirectionandaspecificrectanglethatthefocus
iscomingfrom.
final
boolean
requestFocusFromTouch()
Callthistotrytogivefocustoaspecificviewortooneofitsdescendants.
void
requestLayout()
Callthiswhensomethinghaschangedwhichhasinvalidatedthe
layoutofthisview.
void
requestPointerCapture()
Requestspointercapturemode.
boolean
requestRectangleOnScreen(Rectrectangle)
Requestthatarectangleofthisviewbevisibleonthescreen,
scrollingifnecessaryjustenough.
boolean
requestRectangleOnScreen(Rectrectangle,booleanimmediate)
Requestthatarectangleofthisviewbevisibleonthescreen,
scrollingifnecessaryjustenough.
final
void
requestUnbufferedDispatch(intsource)
Requestunbuffereddispatchofthegiveneventsourceclasstothisview.
final
void
requestUnbufferedDispatch(MotionEventevent)
RequestunbuffereddispatchofthegivenstreamofMotionEventstothisView.
final
T
requireViewById(intid)
FindsthefirstdescendantviewwiththegivenID,theviewitselfiftheIDmatches
getId(),orthrowsanIllegalArgumentExceptioniftheIDisinvalidorthereisno
matchingviewinthehierarchy.
void
resetPivot()
ClearsanypivotpreviouslysetbyacalltosetPivotX(float)or
setPivotY(float).
static
int
resolveSize(intsize,intmeasureSpec)
VersionofresolveSizeAndState(int,int,int)
returningonlytheMEASURED_SIZE_MASKbitsoftheresult.
static
int
resolveSizeAndState(intsize,intmeasureSpec,intchildMeasuredState)
Utilitytoreconcileadesiredsizeandstate,withconstraintsimposed
byaMeasureSpec.
boolean
restoreDefaultFocus()
Givesfocustothedefault-focusviewintheviewhierarchythathasthisviewasaroot.
void
restoreHierarchyState(SparseArraycontainer)
Restorethisviewhierarchy'sfrozenstatefromthegivencontainer.
final
void
saveAttributeDataForStyleable(Contextcontext,int[]styleable,AttributeSetattrs,TypedArrayt,intdefStyleAttr,intdefStyleRes)
Storesdebugginginformationaboutattributes.
void
saveHierarchyState(SparseArraycontainer)
Storethisviewhierarchy'sfrozenstateintothegivencontainer.
void
scheduleDrawable(Drawablewho,Runnablewhat,longwhen)
Schedulesanactiononadrawabletooccurataspecifiedtime.
void
scrollBy(intx,inty)
Movethescrolledpositionofyourview.
void
scrollTo(intx,inty)
Setthescrolledpositionofyourview.
void
sendAccessibilityEvent(inteventType)
Sendsanaccessibilityeventofthegiventype.
void
sendAccessibilityEventUnchecked(AccessibilityEventevent)
ThismethodbehavesexactlyassendAccessibilityEvent(int)but
takesasanargumentanemptyAccessibilityEventanddoesnot
performacheckwhetheraccessibilityisenabled.
void
setAccessibilityDelegate(View.AccessibilityDelegatedelegate)
Setsadelegateforimplementingaccessibilitysupportviacomposition
(asopposedtoinheritance).
void
setAccessibilityHeading(booleanisHeading)
Setifviewisaheadingforasectionofcontentforaccessibilitypurposes.
void
setAccessibilityLiveRegion(intmode)
Setstheliveregionmodeforthisview.
void
setAccessibilityPaneTitle(CharSequenceaccessibilityPaneTitle)
Visuallydistinctportionofawindowwithwindow-likesemanticsareconsideredpanesfor
accessibilitypurposes.
void
setAccessibilityTraversalAfter(intafterId)
Setstheidofaviewafterwhichthisoneisvisitedinaccessibilitytraversal.
void
setAccessibilityTraversalBefore(intbeforeId)
Setstheidofaviewbeforewhichthisoneisvisitedinaccessibilitytraversal.
void
setActivated(booleanactivated)
Changestheactivatedstateofthisview.
void
setAllowClickWhenDisabled(booleanclickableWhenDisabled)
Enablesordisablesclickeventsforthisviewwhendisabled.
void
setAlpha(floatalpha)
Setstheopacityoftheviewtoavaluefrom0to1,where0meanstheviewis
completelytransparentand1meanstheviewiscompletelyopaque.
void
setAnimation(Animationanimation)
Setsthenextanimationtoplayforthisview.
void
setAnimationMatrix(Matrixmatrix)
Changesthetransformationmatrixontheview.
void
setAutofillHints(String...autofillHints)
SetsthehintsthathelpanAutofillServicedeterminehow
toautofilltheviewwiththeuser'sdata.
void
setAutofillId(AutofillIdid)
Setstheunique,logicalidentifierofthisviewintheactivity,forautofillpurposes.
void
setBackground(Drawablebackground)
SetthebackgroundtoagivenDrawable,orremovethebackground.
void
setBackgroundColor(intcolor)
Setsthebackgroundcolorforthisview.
void
setBackgroundDrawable(Drawablebackground)
Thismethodwasdeprecated
inAPIlevel16.
usesetBackground(android.graphics.drawable.Drawable)instead
void
setBackgroundResource(intresid)
Setthebackgroundtoagivenresource.
void
setBackgroundTintBlendMode(BlendModeblendMode)
Specifiestheblendingmodeusedtoapplythetintspecifiedby
setBackgroundTintList(android.content.res.ColorStateList)}tothebackground
drawable.
void
setBackgroundTintList(ColorStateListtint)
Appliesatinttothebackgrounddrawable.
void
setBackgroundTintMode(PorterDuff.ModetintMode)
Specifiestheblendingmodeusedtoapplythetintspecifiedby
setBackgroundTintList(android.content.res.ColorStateList)}tothebackground
drawable.
final
void
setBottom(intbottom)
Setsthebottompositionofthisviewrelativetoitsparent.
void
setCameraDistance(floatdistance)
SetsthedistancealongtheZaxis(orthogonaltotheX/Yplaneonwhich
viewsaredrawn)fromthecameratothisview.
void
setClickable(booleanclickable)
Enablesordisablesclickeventsforthisview.
void
setClipBounds(RectclipBounds)
Setsarectangularareaonthisviewtowhichtheviewwillbeclipped
whenitisdrawn.
void
setClipToOutline(booleanclipToOutline)
SetswhethertheView'sOutlineshouldbeusedtoclipthecontentsoftheView.
void
setContentCaptureSession(ContentCaptureSessioncontentCaptureSession)
Setsthe(optional)ContentCaptureSessionassociatedwiththisview.
void
setContentDescription(CharSequencecontentDescription)
SetstheView'scontentdescription.
void
setContextClickable(booleancontextClickable)
Enablesordisablescontextclickingforthisview.
void
setDefaultFocusHighlightEnabled(booleandefaultFocusHighlightEnabled)
SetswhetherthisViewshoulduseadefaultfocushighlightwhenitgetsfocusedbutdoesn't
haveR.attr.state_focuseddefinedinitsbackground.
void
setDrawingCacheBackgroundColor(intcolor)
Thismethodwasdeprecated
inAPIlevel28.
Theviewdrawingcachewaslargelymadeobsoletewiththeintroductionof
hardware-acceleratedrenderinginAPI11.Withhardware-acceleration,intermediatecache
layersarelargelyunnecessaryandcaneasilyresultinanetlossinperformanceduetothe
costofcreatingandupdatingthelayer.Intherarecaseswherecachinglayersareuseful,
suchasforalphaanimations,setLayerType(int,android.graphics.Paint)handlesthiswithhardware
rendering.Forsoftware-renderedsnapshotsofasmallpartoftheViewhierarchyor
individualViewsitisrecommendedtocreateaCanvasfromeitheraBitmapor
Pictureandcalldraw(android.graphics.Canvas)ontheView.Howeverthese
software-renderedusagesarediscouragedandhavecompatibilityissueswithhardware-only
renderingfeaturessuchasConfig.HARDWARE
bitmaps,real-timeshadows,andoutlineclipping.ForscreenshotsoftheUIforfeedback
reportsorunittestingthePixelCopyAPIisrecommended.
void
setDrawingCacheEnabled(booleanenabled)
Thismethodwasdeprecated
inAPIlevel28.
Theviewdrawingcachewaslargelymadeobsoletewiththeintroductionof
hardware-acceleratedrenderinginAPI11.Withhardware-acceleration,intermediatecache
layersarelargelyunnecessaryandcaneasilyresultinanetlossinperformanceduetothe
costofcreatingandupdatingthelayer.Intherarecaseswherecachinglayersareuseful,
suchasforalphaanimations,setLayerType(int,android.graphics.Paint)handlesthiswithhardware
rendering.Forsoftware-renderedsnapshotsofasmallpartoftheViewhierarchyor
individualViewsitisrecommendedtocreateaCanvasfromeitheraBitmapor
Pictureandcalldraw(android.graphics.Canvas)ontheView.Howeverthese
software-renderedusagesarediscouragedandhavecompatibilityissueswithhardware-only
renderingfeaturessuchasConfig.HARDWARE
bitmaps,real-timeshadows,andoutlineclipping.ForscreenshotsoftheUIforfeedback
reportsorunittestingthePixelCopyAPIisrecommended.
void
setDrawingCacheQuality(intquality)
Thismethodwasdeprecated
inAPIlevel28.
Theviewdrawingcachewaslargelymadeobsoletewiththeintroductionof
hardware-acceleratedrenderinginAPI11.Withhardware-acceleration,intermediatecache
layersarelargelyunnecessaryandcaneasilyresultinanetlossinperformanceduetothe
costofcreatingandupdatingthelayer.Intherarecaseswherecachinglayersareuseful,
suchasforalphaanimations,setLayerType(int,android.graphics.Paint)handlesthiswithhardware
rendering.Forsoftware-renderedsnapshotsofasmallpartoftheViewhierarchyor
individualViewsitisrecommendedtocreateaCanvasfromeitheraBitmapor
Pictureandcalldraw(android.graphics.Canvas)ontheView.Howeverthese
software-renderedusagesarediscouragedandhavecompatibilityissueswithhardware-only
renderingfeaturessuchasConfig.HARDWARE
bitmaps,real-timeshadows,andoutlineclipping.ForscreenshotsoftheUIforfeedback
reportsorunittestingthePixelCopyAPIisrecommended.
void
setDuplicateParentStateEnabled(booleanenabled)
Enablesordisablestheduplicationoftheparent'sstateintothisview.
void
setElevation(floatelevation)
Setsthebaseelevationofthisview,inpixels.
void
setEnabled(booleanenabled)
Settheenabledstateofthisview.
void
setFadingEdgeLength(intlength)
Setthesizeofthefadededgeusedtoindicatethatmorecontentinthis
viewisavailable.
void
setFilterTouchesWhenObscured(booleanenabled)
Setswhethertheframeworkshoulddiscardtoucheswhentheview's
windowisobscuredbyanothervisiblewindow.
void
setFitsSystemWindows(booleanfitSystemWindows)
Setswhetherornotthisviewshouldaccountforsystemscreendecorations
suchasthestatusbarandinsetitscontent;thatis,controllingwhether
thedefaultimplementationoffitSystemWindows(android.graphics.Rect)willbe
executed.
void
setFocusable(booleanfocusable)
Setwhetherthisviewcanreceivethefocus.
void
setFocusable(intfocusable)
Setswhetherthisviewcanreceivefocus.
void
setFocusableInTouchMode(booleanfocusableInTouchMode)
Setwhetherthisviewcanreceivefocuswhileintouchmode.
void
setFocusedByDefault(booleanisFocusedByDefault)
SetswhetherthisViewshouldreceivefocuswhenthefocusisrestoredfortheview
hierarchycontainingthisview.
void
setForceDarkAllowed(booleanallow)
Setswhetherornottoallowforcedarktoapplytothisview.
void
setForeground(Drawableforeground)
SupplyaDrawablethatistoberenderedontopofallofthecontentintheview.
void
setForegroundGravity(intgravity)
Describeshowtheforegroundispositioned.
void
setForegroundTintBlendMode(BlendModeblendMode)
Specifiestheblendingmodeusedtoapplythetintspecifiedby
setForegroundTintList(android.content.res.ColorStateList)}tothebackground
drawable.
void
setForegroundTintList(ColorStateListtint)
Appliesatinttotheforegrounddrawable.
void
setForegroundTintMode(PorterDuff.ModetintMode)
Specifiestheblendingmodeusedtoapplythetintspecifiedby
setForegroundTintList(android.content.res.ColorStateList)}tothebackground
drawable.
void
setHapticFeedbackEnabled(booleanhapticFeedbackEnabled)
Setwhetherthisviewshouldhavehapticfeedbackforeventssuchas
longpresses.
void
setHasTransientState(booleanhasTransientState)
Setwhetherthisviewiscurrentlytrackingtransientstatethatthe
frameworkshouldattempttopreservewhenpossible.
void
setHorizontalFadingEdgeEnabled(booleanhorizontalFadingEdgeEnabled)
Definewhetherthehorizontaledgesshouldbefadedwhenthisview
isscrolledhorizontally.
void
setHorizontalScrollBarEnabled(booleanhorizontalScrollBarEnabled)
Definewhetherthehorizontalscrollbarshouldbedrawnornot.
void
setHorizontalScrollbarThumbDrawable(Drawabledrawable)
Definesthehorizontalthumbdrawable
void
setHorizontalScrollbarTrackDrawable(Drawabledrawable)
Definesthehorizontaltrackdrawable
void
setHovered(booleanhovered)
Setswhethertheviewiscurrentlyhovered.
void
setId(intid)
Setstheidentifierforthisview.
void
setImportantForAccessibility(intmode)
Setshowtodeterminewhetherthisviewisimportantforaccessibility
whichisifitfiresaccessibilityeventsandifitisreportedto
accessibilityservicesthatquerythescreen.
void
setImportantForAutofill(intmode)
Setsthemodefordeterminingwhetherthisviewisconsideredimportantforautofill.
void
setImportantForContentCapture(intmode)
Setsthemodefordeterminingwhetherthisviewisconsideredimportantforcontentcapture.
void
setKeepScreenOn(booleankeepScreenOn)
Controlswhetherthescreenshouldremainon,modifyingthe
valueofKEEP_SCREEN_ON.
void
setKeyboardNavigationCluster(booleanisCluster)
Setwhetherthisviewisarootofakeyboardnavigationcluster.
void
setLabelFor(intid)
Setstheidofaviewforwhichthisviewservesasalabelfor
accessibilitypurposes.
void
setLayerPaint(Paintpaint)
UpdatesthePaintobjectusedwiththecurrentlayer(usedonlyifthecurrent
layertypeisnotsettoLAYER_TYPE_NONE).
void
setLayerType(intlayerType,Paintpaint)
Specifiesthetypeoflayerbackingthisview.
void
setLayoutDirection(intlayoutDirection)
Setthelayoutdirectionforthisview.
void
setLayoutParams(ViewGroup.LayoutParamsparams)
Setthelayoutparametersassociatedwiththisview.
final
void
setLeft(intleft)
Setstheleftpositionofthisviewrelativetoitsparent.
final
void
setLeftTopRightBottom(intleft,inttop,intright,intbottom)
Assignasizeandpositiontothisview.
void
setLongClickable(booleanlongClickable)
Enablesordisableslongclickeventsforthisview.
final
void
setMeasuredDimension(intmeasuredWidth,intmeasuredHeight)
ThismethodmustbecalledbyonMeasure(int,int)tostorethe
measuredwidthandmeasuredheight.
void
setMinimumHeight(intminHeight)
Setstheminimumheightoftheview.
void
setMinimumWidth(intminWidth)
Setstheminimumwidthoftheview.
void
setNestedScrollingEnabled(booleanenabled)
Enableordisablenestedscrollingforthisview.
void
setNextClusterForwardId(intnextClusterForwardId)
Setstheidoftheviewtouseastherootofthenextkeyboardnavigationcluster.
void
setNextFocusDownId(intnextFocusDownId)
SetstheidoftheviewtousewhenthenextfocusisFOCUS_DOWN.
void
setNextFocusForwardId(intnextFocusForwardId)
SetstheidoftheviewtousewhenthenextfocusisFOCUS_FORWARD.
void
setNextFocusLeftId(intnextFocusLeftId)
SetstheidoftheviewtousewhenthenextfocusisFOCUS_LEFT.
void
setNextFocusRightId(intnextFocusRightId)
SetstheidoftheviewtousewhenthenextfocusisFOCUS_RIGHT.
void
setNextFocusUpId(intnextFocusUpId)
SetstheidoftheviewtousewhenthenextfocusisFOCUS_UP.
void
setOnApplyWindowInsetsListener(View.OnApplyWindowInsetsListenerlistener)
SetanOnApplyWindowInsetsListenertotakeoverthepolicyforapplying
windowinsetstothisview.
void
setOnCapturedPointerListener(View.OnCapturedPointerListenerl)
Setalistenertoreceivecallbackswhenthepointercapturestateofaviewchanges.
void
setOnClickListener(View.OnClickListenerl)
Registeracallbacktobeinvokedwhenthisviewisclicked.
void
setOnContextClickListener(View.OnContextClickListenerl)
Registeracallbacktobeinvokedwhenthisviewiscontextclicked.
void
setOnCreateContextMenuListener(View.OnCreateContextMenuListenerl)
Registeracallbacktobeinvokedwhenthecontextmenuforthisviewis
beingbuilt.
void
setOnDragListener(View.OnDragListenerl)
RegisteradrageventlistenercallbackobjectforthisView.
void
setOnFocusChangeListener(View.OnFocusChangeListenerl)
Registeracallbacktobeinvokedwhenfocusofthisviewchanged.
void
setOnGenericMotionListener(View.OnGenericMotionListenerl)
Registeracallbacktobeinvokedwhenagenericmotioneventissenttothisview.
void
setOnHoverListener(View.OnHoverListenerl)
Registeracallbacktobeinvokedwhenahovereventissenttothisview.
void
setOnKeyListener(View.OnKeyListenerl)
Registeracallbacktobeinvokedwhenahardwarekeyispressedinthisview.
void
setOnLongClickListener(View.OnLongClickListenerl)
Registeracallbacktobeinvokedwhenthisviewisclickedandheld.
void
setOnReceiveContentListener(String[]mimeTypes,OnReceiveContentListenerlistener)
Setsthelistenertobeusedtohandleinsertionof
contentintothisview.
void
setOnScrollChangeListener(View.OnScrollChangeListenerl)
RegisteracallbacktobeinvokedwhenthescrollXorYpositionsof
thisviewchange.
void
setOnSystemUiVisibilityChangeListener(View.OnSystemUiVisibilityChangeListenerl)
Thismethodwasdeprecated
inAPIlevel30.
UseWindowInsets#isVisible(int)tofindoutaboutsystembarvisibilities
bysettingaOnApplyWindowInsetsListeneronthisview.
void
setOnTouchListener(View.OnTouchListenerl)
Registeracallbacktobeinvokedwhenatoucheventissenttothisview.
void
setOutlineAmbientShadowColor(intcolor)
SetsthecoloroftheambientshadowthatisdrawnwhentheviewhasapositiveZor
elevationvalue.
void
setOutlineProvider(ViewOutlineProviderprovider)
SetstheViewOutlineProvideroftheview,whichgeneratestheOutlinethatdefines
theshapeoftheshadowitcasts,andenablesoutlineclipping.
void
setOutlineSpotShadowColor(intcolor)
SetsthecolorofthespotshadowthatisdrawnwhentheviewhasapositiveZor
elevationvalue.
void
setOverScrollMode(intoverScrollMode)
Settheover-scrollmodeforthisview.
void
setPadding(intleft,inttop,intright,intbottom)
Setsthepadding.
void
setPaddingRelative(intstart,inttop,intend,intbottom)
Setstherelativepadding.
void
setPivotX(floatpivotX)
Setsthexlocationofthepointaroundwhichtheviewis
rotatedandscaled.
void
setPivotY(floatpivotY)
Setstheylocationofthepointaroundwhichtheviewisrotated
andscaled.
void
setPointerIcon(PointerIconpointerIcon)
Setthepointericonforthecurrentview.
void
setPressed(booleanpressed)
Setsthepressedstateforthisview.
void
setRenderEffect(RenderEffectrenderEffect)
ConfiguretheRenderEffecttoapplytothisView.
final
void
setRevealOnFocusHint(booleanrevealOnFocus)
Setsthisview'spreferenceforrevealbehaviorwhenitgainsfocus.
final
void
setRight(intright)
Setstherightpositionofthisviewrelativetoitsparent.
void
setRotation(floatrotation)
Setsthedegreesthattheviewisrotatedaroundthepivotpoint.
void
setRotationX(floatrotationX)
Setsthedegreesthattheviewisrotatedaroundthehorizontalaxisthroughthepivotpoint.
void
setRotationY(floatrotationY)
Setsthedegreesthattheviewisrotatedaroundtheverticalaxisthroughthepivotpoint.
void
setSaveEnabled(booleanenabled)
Controlswhetherthesavingofthisview'sstateis
enabled(thatis,whetheritsonSaveInstanceState()method
willbecalled).
void
setSaveFromParentEnabled(booleanenabled)
Controlswhethertheentirehierarchyunderthisviewwillsaveits
statewhenastatesavingtraversaloccursfromitsparent.
void
setScaleX(floatscaleX)
Setstheamountthattheviewisscaledinxaroundthepivotpoint,asaproportionof
theview'sunscaledwidth.
void
setScaleY(floatscaleY)
SetstheamountthattheviewisscaledinYaroundthepivotpoint,asaproportionof
theview'sunscaledwidth.
void
setScreenReaderFocusable(booleanscreenReaderFocusable)
SetswhetherthisViewshouldbeafocusableelementforscreenreaders
andincludenon-focusableViewsfromitssubtreewhenprovidingfeedback.
void
setScrollBarDefaultDelayBeforeFade(intscrollBarDefaultDelayBeforeFade)
Definethedelaybeforescrollbarsfade.
void
setScrollBarFadeDuration(intscrollBarFadeDuration)
Definethescrollbarfadeduration.
void
setScrollBarSize(intscrollBarSize)
Definethescrollbarsize.
void
setScrollBarStyle(intstyle)
Specifythestyleofthescrollbars.
final
void
setScrollCaptureCallback(ScrollCaptureCallbackcallback)
Setsthecallbacktoreceivescrollcapturerequests.
void
setScrollCaptureHint(inthint)
SetsthescrollcapturehintforthisView.
void
setScrollContainer(booleanisScrollContainer)
Changewhetherthisviewisoneofthesetofscrollablecontainersin
itswindow.
void
setScrollIndicators(intindicators,intmask)
Setsthestateofthescrollindicatorsspecifiedbythemask.
void
setScrollIndicators(intindicators)
Setsthestateofallscrollindicators.
void
setScrollX(intvalue)
Setthehorizontalscrolledpositionofyourview.
void
setScrollY(intvalue)
Settheverticalscrolledpositionofyourview.
void
setScrollbarFadingEnabled(booleanfadeScrollbars)
Definewhetherscrollbarswillfadewhentheviewisnotscrolling.
void
setSelected(booleanselected)
Changestheselectionstateofthisview.
void
setSoundEffectsEnabled(booleansoundEffectsEnabled)
Setwhetherthisviewshouldhavesoundeffectsenabledforeventssuchas
clickingandtouching.
void
setStateDescription(CharSequencestateDescription)
SetstheView'sstatedescription.
void
setStateListAnimator(StateListAnimatorstateListAnimator)
AttachestheprovidedStateListAnimatortothisView.
void
setSystemGestureExclusionRects(Listrects)
Setsalistofareaswithinthisview'spost-layoutcoordinatespacewherethesystem
shouldnotintercepttouchorotherpointingdevicegestures.
void
setSystemUiVisibility(intvisibility)
Thismethodwasdeprecated
inAPIlevel30.
SystemUiVisibilityflagsaredeprecated.UseWindowInsetsController
instead.
void
setTag(intkey,Objecttag)
Setsatagassociatedwiththisviewandakey.
void
setTag(Objecttag)
Setsthetagassociatedwiththisview.
void
setTextAlignment(inttextAlignment)
Setthetextalignment.
void
setTextDirection(inttextDirection)
Setthetextdirection.
void
setTooltipText(CharSequencetooltipText)
Setsthetooltiptextwhichwillbedisplayedinasmallpopupnexttotheview.
final
void
setTop(inttop)
Setsthetoppositionofthisviewrelativetoitsparent.
void
setTouchDelegate(TouchDelegatedelegate)
SetstheTouchDelegateforthisView.
void
setTransitionAlpha(floatalpha)
ThispropertyisintendedonlyforusebytheFadetransition,whichanimatesit
toproduceavisualtranslucencythatdoesnotside-effect(orgetaffectedby)
therealalphaproperty.
final
void
setTransitionName(StringtransitionName)
SetsthenameoftheViewtobeusedtoidentifyViewsinTransitions.
void
setTransitionVisibility(intvisibility)
ChangesthevisibilityofthisViewwithouttriggeringanyotherchanges.
void
setTranslationX(floattranslationX)
Setsthehorizontallocationofthisviewrelativetoitsleftposition.
void
setTranslationY(floattranslationY)
Setstheverticallocationofthisviewrelativetoitstopposition.
void
setTranslationZ(floattranslationZ)
Setsthedepthlocationofthisviewrelativetoitselevation.
void
setVerticalFadingEdgeEnabled(booleanverticalFadingEdgeEnabled)
Definewhethertheverticaledgesshouldbefadedwhenthisview
isscrolledvertically.
void
setVerticalScrollBarEnabled(booleanverticalScrollBarEnabled)
Definewhethertheverticalscrollbarshouldbedrawnornot.
void
setVerticalScrollbarPosition(intposition)
Setthepositionoftheverticalscrollbar.
void
setVerticalScrollbarThumbDrawable(Drawabledrawable)
Definestheverticalscrollbarthumbdrawable
void
setVerticalScrollbarTrackDrawable(Drawabledrawable)
Definestheverticalscrollbartrackdrawable
void
setViewTranslationCallback(ViewTranslationCallbackcallback)
SetsaViewTranslationCallbackthatisusedtodisplay/hidethetranslated
information.
void
setVisibility(intvisibility)
Setthevisibilitystateofthisview.
void
setWillNotCacheDrawing(booleanwillNotCacheDrawing)
Thismethodwasdeprecated
inAPIlevel28.
Theviewdrawingcachewaslargelymadeobsoletewiththeintroductionof
hardware-acceleratedrenderinginAPI11.Withhardware-acceleration,intermediatecache
layersarelargelyunnecessaryandcaneasilyresultinanetlossinperformanceduetothe
costofcreatingandupdatingthelayer.Intherarecaseswherecachinglayersareuseful,
suchasforalphaanimations,setLayerType(int,android.graphics.Paint)handlesthiswithhardware
rendering.Forsoftware-renderedsnapshotsofasmallpartoftheViewhierarchyor
individualViewsitisrecommendedtocreateaCanvasfromeitheraBitmapor
Pictureandcalldraw(android.graphics.Canvas)ontheView.Howeverthese
software-renderedusagesarediscouragedandhavecompatibilityissueswithhardware-only
renderingfeaturessuchasConfig.HARDWARE
bitmaps,real-timeshadows,andoutlineclipping.ForscreenshotsoftheUIforfeedback
reportsorunittestingthePixelCopyAPIisrecommended.
void
setWillNotDraw(booleanwillNotDraw)
Ifthisviewdoesn'tdoanydrawingonitsown,setthisflagto
allowfurtheroptimizations.
void
setWindowInsetsAnimationCallback(WindowInsetsAnimation.Callbackcallback)
SetsaWindowInsetsAnimation.Callbacktobenotifiedaboutanimationsofwindowsthat
causeinsets.
void
setX(floatx)
Setsthevisualxpositionofthisview,inpixels.
void
setY(floaty)
Setsthevisualypositionofthisview,inpixels.
void
setZ(floatz)
Setsthevisualzpositionofthisview,inpixels.
boolean
showContextMenu()
Showsthecontextmenuforthisview.
boolean
showContextMenu(floatx,floaty)
Showsthecontextmenuforthisviewanchoredtothespecified
view-relativecoordinate.
ActionMode
startActionMode(ActionMode.Callbackcallback,inttype)
Startanactionmodewiththegiventype.
ActionMode
startActionMode(ActionMode.Callbackcallback)
StartanactionmodewiththedefaulttypeActionMode#TYPE_PRIMARY.
void
startAnimation(Animationanimation)
Startthespecifiedanimationnow.
final
boolean
startDrag(ClipDatadata,View.DragShadowBuildershadowBuilder,ObjectmyLocalState,intflags)
Thismethodwasdeprecated
inAPIlevel24.
UsestartDragAndDrop()fornewerplatformversions.
final
boolean
startDragAndDrop(ClipDatadata,View.DragShadowBuildershadowBuilder,ObjectmyLocalState,intflags)
Startsadraganddropoperation.
boolean
startNestedScroll(intaxes)
Beginanestablescrolloperationalongthegivenaxes.
void
stopNestedScroll()
Stopanestedscrollinprogress.
String
toString()
Returnsastringrepresentationoftheobject.
void
transformMatrixToGlobal(Matrixmatrix)
Modifiestheinputmatrixsuchthatitmapsview-localcoordinatesto
on-screencoordinates.
void
transformMatrixToLocal(Matrixmatrix)
Modifiestheinputmatrixsuchthatitmapson-screencoordinatesto
view-localcoordinates.
void
unscheduleDrawable(Drawablewho,Runnablewhat)
Cancelsascheduledactiononadrawable.
void
unscheduleDrawable(Drawablewho)
UnscheduleanyeventsassociatedwiththegivenDrawable.
final
void
updateDragShadow(View.DragShadowBuildershadowBuilder)
Updatesthedragshadowfortheongoingdraganddropoperation.
boolean
verifyDrawable(Drawablewho)
IfyourviewsubclassisdisplayingitsownDrawableobjects,itshould
overridethisfunctionandreturntrueforanyDrawableitis
displaying.
boolean
willNotCacheDrawing()
Thismethodwasdeprecated
inAPIlevel28.
Theviewdrawingcachewaslargelymadeobsoletewiththeintroductionof
hardware-acceleratedrenderinginAPI11.Withhardware-acceleration,intermediatecache
layersarelargelyunnecessaryandcaneasilyresultinanetlossinperformanceduetothe
costofcreatingandupdatingthelayer.Intherarecaseswherecachinglayersareuseful,
suchasforalphaanimations,setLayerType(int,android.graphics.Paint)handlesthiswithhardware
rendering.Forsoftware-renderedsnapshotsofasmallpartoftheViewhierarchyor
individualViewsitisrecommendedtocreateaCanvasfromeitheraBitmapor
Pictureandcalldraw(android.graphics.Canvas)ontheView.Howeverthese
software-renderedusagesarediscouragedandhavecompatibilityissueswithhardware-only
renderingfeaturessuchasConfig.HARDWARE
bitmaps,real-timeshadows,andoutlineclipping.ForscreenshotsoftheUIforfeedback
reportsorunittestingthePixelCopyAPIisrecommended.
boolean
willNotDraw()
ReturnswhetherornotthisViewdrawsonitsown.
Fromclass
java.lang.Object
Object
clone()
Createsandreturnsacopyofthisobject.
boolean
equals(Objectobj)
Indicateswhethersomeotherobjectis"equalto"thisone.
void
finalize()
Calledbythegarbagecollectoronanobjectwhengarbagecollection
determinesthattherearenomorereferencestotheobject.
final
Class>
getClass()
ReturnstheruntimeclassofthisObject.
int
hashCode()
Returnsahashcodevaluefortheobject.
final
void
notify()
Wakesupasinglethreadthatiswaitingonthisobject's
monitor.
final
void
notifyAll()
Wakesupallthreadsthatarewaitingonthisobject'smonitor.
String
toString()
Returnsastringrepresentationoftheobject.
final
void
wait(longtimeout,intnanos)
Causesthecurrentthreadtowaituntilanotherthreadinvokesthe
notify()methodorthe
notifyAll()methodforthisobject,or
someotherthreadinterruptsthecurrentthread,oracertain
amountofrealtimehaselapsed.
final
void
wait(longtimeout)
Causesthecurrentthreadtowaituntileitheranotherthreadinvokesthe
notify()methodorthe
notifyAll()methodforthisobject,ora
specifiedamountoftimehaselapsed.
final
void
wait()
Causesthecurrentthreadtowaituntilanotherthreadinvokesthe
notify()methodorthe
notifyAll()methodforthisobject.
Frominterface
android.view.ViewTreeObserver.OnPreDrawListener
abstract
boolean
onPreDraw()
Callbackmethodtobeinvokedwhentheviewtreeisabouttobedrawn.
Frominterface
android.graphics.drawable.Drawable.Callback
abstract
void
invalidateDrawable(Drawablewho)
Calledwhenthedrawableneedstoberedrawn.
abstract
void
scheduleDrawable(Drawablewho,Runnablewhat,longwhen)
ADrawablecancallthistoschedulethenextframeofits
animation.
abstract
void
unscheduleDrawable(Drawablewho,Runnablewhat)
ADrawablecancallthistounscheduleanactionpreviously
scheduledwithscheduleDrawable(Drawable,Runnable,long).
Frominterface
android.view.KeyEvent.Callback
abstract
boolean
onKeyDown(intkeyCode,KeyEventevent)
Calledwhenakeydowneventhasoccurred.
abstract
boolean
onKeyLongPress(intkeyCode,KeyEventevent)
Calledwhenalongpresshasoccurred.
abstract
boolean
onKeyMultiple(intkeyCode,intcount,KeyEventevent)
Calledwhenauser'sinteractionwithananalogcontrol,suchas
flingingatrackball,generatessimulateddown/upeventsforthesame
keymultipletimesinquicksuccession.
abstract
boolean
onKeyUp(intkeyCode,KeyEventevent)
Calledwhenakeyupeventhasoccurred.
Frominterface
android.view.accessibility.AccessibilityEventSource
abstract
void
sendAccessibilityEvent(inteventType)
HandlestherequestforsendinganAccessibilityEventgiven
theeventtype.
abstract
void
sendAccessibilityEventUnchecked(AccessibilityEventevent)
HandlestherequestforsendinganAccessibilityEvent.
Publicconstructors
EditText
AddedinAPIlevel1
publicEditText(Contextcontext)
Parameters
context
Context
EditText
AddedinAPIlevel1
publicEditText(Contextcontext,
AttributeSetattrs)
Parameters
context
Context
attrs
AttributeSet
EditText
AddedinAPIlevel1
publicEditText(Contextcontext,
AttributeSetattrs,
intdefStyleAttr)
Parameters
context
Context
attrs
AttributeSet
defStyleAttr
int
EditText
AddedinAPIlevel21
publicEditText(Contextcontext,
AttributeSetattrs,
intdefStyleAttr,
intdefStyleRes)
Parameters
context
Context
attrs
AttributeSet
defStyleAttr
int
defStyleRes
int
Publicmethods
extendSelection
AddedinAPIlevel1
publicvoidextendSelection(intindex)
ConvenienceforSelection#extendSelection.
Parameters
index
int
getAccessibilityClassName
AddedinAPIlevel23
publicCharSequencegetAccessibilityClassName()
Returntheclassnameofthisobjecttobeusedforaccessibilitypurposes.
Subclassesshouldonlyoverridethisiftheyareimplementingsomethingthat
shouldbeseenasacompletelynewclassofviewwhenusedbyaccessibility,
unrelatedtotheclassitisderivingfrom.Thisisusedtofillin
AccessibilityNodeInfo.setClassName.
Returns
CharSequence
getFreezesText
AddedinAPIlevel1
publicbooleangetFreezesText()
Returnwhetherthistextviewisincludingitsentiretextcontents
infrozenicicles.ForEditTextitalwaysreturnstrue.
Returns
boolean
Returnstrueiftextisincluded,falseifitisn't.
getText
AddedinAPIlevel1
publicEditablegetText()
ReturnthetextthatTextViewisdisplaying.IfsetText(java.lang.CharSequence)wascalled
withanargumentofBufferType.SPANNABLE
orBufferType.EDITABLE,youcancast
thereturnvaluefromthismethodtoSpannableorEditable,respectively.
Thecontentofthereturnvalueshouldnotbemodified.Ifyouwantamodifiableone,you
shouldmakeyourowncopyfirst.
Returns
Editable
Thetextdisplayedbythetextview.
selectAll
AddedinAPIlevel1
publicvoidselectAll()
ConvenienceforSelection#selectAll.
setEllipsize
AddedinAPIlevel1
publicvoidsetEllipsize(TextUtils.TruncateAtellipsis)
Causeswordsinthetextthatarelongerthantheview'swidthtobeellipsizedinsteadof
brokeninthemiddle.TextUtils.TruncateAt#MARQUEEisnotsupported.
Parameters
ellipsis
TextUtils.TruncateAt:Typeofellipsistobeapplied.
Throws
IllegalArgumentException
Whenthevalueofellipsisparameteris
TextUtils.TruncateAt#MARQUEE.
Seealso:
TextView.setEllipsize(TextUtils.TruncateAt)
setSelection
AddedinAPIlevel1
publicvoidsetSelection(intstart,
intstop)
ConvenienceforSelection#setSelection(Spannable,int,int).
Parameters
start
int
stop
int
setSelection
AddedinAPIlevel1
publicvoidsetSelection(intindex)
ConvenienceforSelection#setSelection(Spannable,int).
Parameters
index
int
setText
AddedinAPIlevel1
publicvoidsetText(CharSequencetext,
TextView.BufferTypetype)
SetsthetexttobedisplayedandtheTextView.BufferType.
Whenrequired,TextViewwilluseSpannable.Factorytocreatefinalor
intermediateSpannables.Likewiseitwilluse
Editable.Factorytocreatefinalorintermediate
Editables.
Subclassesoverridingthismethodshouldensurethatthefollowingpostconditionholds,
inordertoguaranteethesafetyoftheview'smeasurementandlayoutoperations:
regardlessoftheinput,aftercalling#setTextbothmTextandmTransformed
willbedifferentfromnull.
Parameters
text
CharSequence:texttobedisplayed
type
TextView.BufferType:aTextView.BufferTypewhichdefineswhetherthetextis
storedasastatictext,styleable/spannabletext,oreditabletext
Protectedmethods
getDefaultEditable
AddedinAPIlevel1
protectedbooleangetDefaultEditable()
SubclassesoverridethistospecifythattheyhaveaKeyListener
bydefaultevenifnotspecificallycalledforintheXMLoptions.
Returns
boolean
getDefaultMovementMethod
AddedinAPIlevel1
protectedMovementMethodgetDefaultMovementMethod()
Subclassesoverridethistospecifyadefaultmovementmethod.
Returns
MovementMethod
ContentandcodesamplesonthispagearesubjecttothelicensesdescribedintheContentLicense.JavaisaregisteredtrademarkofOracleand/oritsaffiliates.
Lastupdated2021-10-27UTC.
[{
"type":"thumb-down",
"id":"missingTheInformationINeed",
"label":"MissingtheinformationIneed"
},{
"type":"thumb-down",
"id":"tooComplicatedTooManySteps",
"label":"Toocomplicated/toomanysteps"
},{
"type":"thumb-down",
"id":"outOfDate",
"label":"Outofdate"
},{
"type":"thumb-down",
"id":"samplesCodeIssue",
"label":"Samples/codeissue"
},{
"type":"thumb-down",
"id":"otherDown",
"label":"Other"
}]
[{
"type":"thumb-up",
"id":"easyToUnderstand",
"label":"Easytounderstand"
},{
"type":"thumb-up",
"id":"solvedMyProblem",
"label":"Solvedmyproblem"
},{
"type":"thumb-up",
"id":"otherUp",
"label":"Other"
}]
Twitter
Follow@AndroidDevonTwitter
YouTube
CheckoutAndroidDevelopersonYouTube
MoreAndroid
Android
AndroidforEnterprise
Security
Source
News
Blog
Podcasts
Discover
Gaming
MachineLearning
Privacy
5G
AndroidDevices
Largescreens
WearOS
AndroidTV
Androidforcars
AndroidThings
ChromeOSdevices
Releases
Android11
Android10
Pie
Oreo
Nougat
Marshmallow
Lollipop
KitKat
DocumentationandDownloads
AndroidStudioguide
Developersguides
APIreference
DownloadStudio
AndroidNDK
Support
Reportplatformbug
Reportdocumentationbug
GooglePlaysupport
Joinresearchstudies
Android
Chrome
Firebase
GoogleCloudPlatform
Allproducts
Privacy
License
Brandguidelines
Getnewsandtipsbyemail
Subscribe
Language
English
BahasaIndonesia
Español–AméricaLatina
Português–Brasil
中文–简体
日本語
한국어