Skip to content

Latest commit

 

History

History
699 lines (694 loc) · 130 KB

DSL.md

File metadata and controls

699 lines (694 loc) · 130 KB

Views

Method Android view Notes
absListView AbsListView
absSeekBar AbsSeekBar
absSpinner AbsSpinner
absoluteLayout AbsoluteLayout
actionMenuView ActionMenuView since API level 21
adapterView AdapterView
adapterViewAnimator AdapterViewAnimator
adapterViewFlipper AdapterViewFlipper
analogClock AnalogClock
appWidgetHostView AppWidgetHostView
autoCompleteTextView AutoCompleteTextView
button Button
calendarView CalendarView
checkBox CheckBox
checkedTextView CheckedTextView
chronometer Chronometer
compoundButton CompoundButton
datePicker DatePicker
dialerFilter DialerFilter
digitalClock DigitalClock
editText EditText
expandableListView ExpandableListView
extractEditText ExtractEditText
fragmentBreadCrumbs FragmentBreadCrumbs
frameLayout FrameLayout
gLSurfaceView GLSurfaceView
gallery Gallery
gestureOverlayView GestureOverlayView
gridLayout GridLayout
gridView GridView
horizontalScrollView HorizontalScrollView
imageButton ImageButton
imageSwitcher ImageSwitcher
imageView ImageView
keyboardView KeyboardView
linearLayout LinearLayout
listView ListView
mediaController MediaController
mediaRouteButton MediaRouteButton since API level 19
multiAutoCompleteTextView MultiAutoCompleteTextView
numberPicker NumberPicker
progressBar ProgressBar
quickContactBadge QuickContactBadge
radioButton RadioButton
radioGroup RadioGroup
ratingBar RatingBar
relativeLayout RelativeLayout
scrollView ScrollView
searchView SearchView
seekBar SeekBar
slidingDrawer SlidingDrawer
space Space
spinner Spinner
stackView StackView
surfaceView SurfaceView
switchView SwitchView
tabHost TabHost
tabWidget TabWidget
tableLayout TableLayout
tableRow TableRow
textClock TextClock since API level 19
textSwitcher TextSwitcher
textView TextView
textureView TextureView
timePicker TimePicker
toggleButton ToggleButton
toolbar Toolbar since API level 21
tvView TvView since API level 21
twoLineListItem TwoLineListItem
videoView VideoView
view View
viewAnimator ViewAnimator
viewFlipper ViewFlipper
viewGroup ViewGroup
viewStub ViewStub
viewSwitcher ViewSwitcher
webView WebView
zoomButton ZoomButton
zoomControls ZoomControls

Listeners

Method Android equivalent Notes
onApplyWindowInsets(listener) View.setOnApplyWindowInsetsListener() since API level 21
onBreadCrumbClick(listener) FragmentBreadCrumbs.setOnBreadCrumbClickListener()
onCheckedChange(listener) CompoundButton.setOnCheckedChangeListener()
onCheckedChange(listener) RadioGroup.setOnCheckedChangeListener()
onChildClick(listener) ExpandableListView.setOnChildClickListener()
onChronometerTick(listener) Chronometer.setOnChronometerTickListener()
onClick(listener) AdapterView.setOnClickListener()
onClick(listener) AutoCompleteTextView.setOnClickListener()
onClick(listener) View.setOnClickListener()
onClose(listener) SearchView.setOnCloseListener()
onCompletion(listener) VideoView.setOnCompletionListener()
onCreateContextMenu(listener) View.setOnCreateContextMenuListener()
onDateChange(listener) CalendarView.setOnDateChangeListener()
onDismiss(listener) AutoCompleteTextView.setOnDismissListener() since API level 19
onDrag(listener) View.setOnDragListener()
onDrawerClose(listener) SlidingDrawer.setOnDrawerCloseListener()
onDrawerOpen(listener) SlidingDrawer.setOnDrawerOpenListener()
onDrawerScroll(listener) SlidingDrawer.setOnDrawerScrollListener()
onEditorAction(listener) TextView.setOnEditorActionListener()
onError(listener) VideoView.setOnErrorListener()
onFocusChange(listener) View.setOnFocusChangeListener()
onGenericMotion(listener) View.setOnGenericMotionListener()
onGroupClick(listener) ExpandableListView.setOnGroupClickListener()
onGroupCollapse(listener) ExpandableListView.setOnGroupCollapseListener()
onGroupExpand(listener) ExpandableListView.setOnGroupExpandListener()
onHierarchyChange(listener) RadioGroup.setOnHierarchyChangeListener()
onHierarchyChange(listener) TableLayout.setOnHierarchyChangeListener()
onHierarchyChange(listener) TableRow.setOnHierarchyChangeListener()
onHierarchyChange(listener) ViewGroup.setOnHierarchyChangeListener()
onHover(listener) View.setOnHoverListener()
onInflate(listener) ViewStub.setOnInflateListener()
onInfo(listener) VideoView.setOnInfoListener() since API level 19
onItemClick(listener) AdapterView.setOnItemClickListener()
onItemClick(listener) AutoCompleteTextView.setOnItemClickListener()
onItemClick(listener) ExpandableListView.setOnItemClickListener()
onItemClick(listener) Spinner.setOnItemClickListener()
onItemLongClick(listener) AdapterView.setOnItemLongClickListener()
onItemSelected(listener) AdapterView.setOnItemSelectedListener()
onItemSelected(listener) AutoCompleteTextView.setOnItemSelectedListener()
onKey(listener) View.setOnKeyListener()
onKeyboardAction(listener) KeyboardView.setOnKeyboardActionListener()
onLongClick(listener) View.setOnLongClickListener()
onMenuItemClick(listener) ActionMenuView.setOnMenuItemClickListener() since API level 21
onMenuItemClick(listener) Toolbar.setOnMenuItemClickListener() since API level 21
onPrepared(listener) VideoView.setOnPreparedListener()
onQueryText(listener) SearchView.setOnQueryTextListener()
onQueryTextFocusChange(listener) SearchView.setOnQueryTextFocusChangeListener()
onRatingBarChange(listener) RatingBar.setOnRatingBarChangeListener()
onScroll(listener) AbsListView.setOnScrollListener()
onScroll(listener) NumberPicker.setOnScrollListener()
onSearchClick(listener) SearchView.setOnSearchClickListener()
onSeekBarChange(listener) SeekBar.setOnSeekBarChangeListener()
onSuggestion(listener) SearchView.setOnSuggestionListener()
onSystemUiVisibilityChange(listener) View.setOnSystemUiVisibilityChangeListener()
onTabChanged(listener) TabHost.setOnTabChangedListener()
onTimeChanged(listener) TimePicker.setOnTimeChangedListener()
onTouch(listener) View.setOnTouchListener()
onUnhandledInputEvent(listener) TvView.setOnUnhandledInputEventListener() since API level 21
onValueChanged(listener) NumberPicker.setOnValueChangedListener()
onZoomInClick(listener) ZoomControls.setOnZoomInClickListener()
onZoomOutClick(listener) ZoomControls.setOnZoomOutClickListener()

Attribute setters

Method Android equivalent Notes
accessibilityDelegate(AccessibilityDelegate) setAccessibilityDelegate()
accessibilityLiveRegion(int) setAccessibilityLiveRegion() since API level 19
activated(boolean) setActivated()
activity(Activity) setActivity() for FragmentBreadCrumbs
adapter(Adapter) setAdapter() for AdapterView
adapter(Adapter) setAdapter() for AdapterViewAnimator
adapter(ExpandableListAdapter) setAdapter() for ExpandableListView
addStatesFromChildren(boolean) setAddStatesFromChildren() for ViewGroup
adjustViewBounds(boolean) setAdjustViewBounds() for ImageView
alignmentMode(int) setAlignmentMode() for GridLayout
allCaps(boolean) setAllCaps() for TextView
alpha(float) setAlpha()
alpha(int) setAlpha() for ImageView
alwaysDrawnWithCacheEnabled(boolean) setAlwaysDrawnWithCacheEnabled() for ViewGroup
anchorView(View) setAnchorView() for MediaController
animateFirstView(boolean) setAnimateFirstView() for AdapterViewAnimator
animateFirstView(boolean) setAnimateFirstView() for ViewAnimator
animation(Animation) setAnimation()
animationCacheEnabled(boolean) setAnimationCacheEnabled() for ViewGroup
animationDuration(int) setAnimationDuration() for Gallery
autoLinkMask(int) setAutoLinkMask() for TextView
autoStart(boolean) setAutoStart() for ViewFlipper
background(Drawable) setBackground() since API level 19
backgroundColor(int) setBackgroundColor()
backgroundColor(int) setBackgroundColor() for WebView
backgroundDrawable(Drawable) setBackgroundDrawable() for ToggleButton
backgroundDrawable(Drawable) setBackgroundDrawable()
backgroundResource(int) setBackgroundResource()
backgroundTintList(ColorStateList) setBackgroundTintList() since API level 21
backgroundTintMode(Mode) setBackgroundTintMode() since API level 21
base(long) setBase() for Chronometer
baseline(int) setBaseline() for ImageView
baselineAlignBottom(boolean) setBaselineAlignBottom() for ImageView
baselineAligned(boolean) setBaselineAligned() for LinearLayout
baselineAlignedChildIndex(int) setBaselineAlignedChildIndex() for LinearLayout
bottom(int) setBottom()
buttonDrawable(Drawable) setButtonDrawable() for CompoundButton
buttonDrawable(int) setButtonDrawable() for CompoundButton
buttonTintList(ColorStateList) setButtonTintList() for CompoundButton since API level 21
buttonTintMode(Mode) setButtonTintMode() for CompoundButton since API level 21
cacheColorHint(int) setCacheColorHint() for AbsListView
cacheColorHint(int) setCacheColorHint() for ListView
calendarViewShown(boolean) setCalendarViewShown() for DatePicker
callback(TvInputCallback) setCallback() for TvView since API level 21
callbackDuringFling(boolean) setCallbackDuringFling() for Gallery
cameraDistance(float) setCameraDistance()
captionEnabled(boolean) setCaptionEnabled() for TvView since API level 21
certificate(SslCertificate) setCertificate() for WebView
checkMarkDrawable(Drawable) setCheckMarkDrawable() for CheckedTextView
checkMarkDrawable(int) setCheckMarkDrawable() for CheckedTextView
checkMarkTintList(ColorStateList) setCheckMarkTintList() for CheckedTextView since API level 21
checkMarkTintMode(Mode) setCheckMarkTintMode() for CheckedTextView since API level 21
checked(boolean) setChecked() for CheckedTextView
checked(boolean) setChecked() for CompoundButton
checked(boolean) setChecked() for Switch
checked(boolean) setChecked() for ToggleButton
childDivider(Drawable) setChildDivider() for ExpandableListView
childIndicator(Drawable) setChildIndicator() for ExpandableListView
choiceMode(int) setChoiceMode() for AbsListView
choiceMode(int) setChoiceMode() for ListView
clickable(boolean) setClickable()
clipBounds(Rect) setClipBounds() since API level 19
clipChildren(boolean) setClipChildren() for ViewGroup
clipToOutline(boolean) setClipToOutline() since API level 21
clipToPadding(boolean) setClipToPadding() for ViewGroup
colorFilter(ColorFilter) setColorFilter() for ImageView
colorFilter(int) setColorFilter() for ImageView
columnCount(int) setColumnCount() for GridLayout
columnOrderPreserved(boolean) setColumnOrderPreserved() for GridLayout
columnWidth(int) setColumnWidth() for GridView
completionHint(CharSequence) setCompletionHint() for AutoCompleteTextView
compoundDrawablePadding(int) setCompoundDrawablePadding() for TextView
contentDescription(CharSequence) setContentDescription()
cropToPadding(boolean) setCropToPadding() for ImageView since API level 19
currentHour(Integer) setCurrentHour() for TimePicker
currentMinute(Integer) setCurrentMinute() for TimePicker
currentTab(int) setCurrentTab() for TabHost
currentTab(int) setCurrentTab() for TabWidget
currentTabByTag(String) setCurrentTabByTag() for TabHost
currentText(CharSequence) setCurrentText() for TextSwitcher
cursorVisible(boolean) setCursorVisible() for TextView
customSelectionActionModeCallback(Callback) setCustomSelectionActionModeCallback() for TextView
date(long) setDate() for CalendarView
dateTextAppearance(int) setDateTextAppearance() for CalendarView since API level 19
debugFlags(int) setDebugFlags() for GLSurfaceView
descendantFocusability(int) setDescendantFocusability() for ViewGroup
digitsWatcher(TextWatcher) setDigitsWatcher() for DialerFilter
displayedChild(int) setDisplayedChild() for AdapterViewAnimator
displayedChild(int) setDisplayedChild() for ViewAnimator
displayedValues(String[]) setDisplayedValues() for NumberPicker
divider(Drawable) setDivider() for ListView
dividerDrawable(Drawable) setDividerDrawable() for LinearLayout
dividerDrawable(Drawable) setDividerDrawable() for TabWidget
dividerDrawable(int) setDividerDrawable() for TabWidget
dividerHeight(int) setDividerHeight() for ListView
dividerPadding(int) setDividerPadding() for LinearLayout
downloadListener(DownloadListener) setDownloadListener() for WebView
drawSelectorOnTop(boolean) setDrawSelectorOnTop() for AbsListView
drawingCacheBackgroundColor(int) setDrawingCacheBackgroundColor()
drawingCacheEnabled(boolean) setDrawingCacheEnabled()
drawingCacheQuality(int) setDrawingCacheQuality()
dropDownAnchor(int) setDropDownAnchor() for AutoCompleteTextView
dropDownBackgroundDrawable(Drawable) setDropDownBackgroundDrawable() for AutoCompleteTextView
dropDownBackgroundResource(int) setDropDownBackgroundResource() for AutoCompleteTextView
dropDownHeight(int) setDropDownHeight() for AutoCompleteTextView
dropDownHorizontalOffset(int) setDropDownHorizontalOffset() for AutoCompleteTextView
dropDownHorizontalOffset(int) setDropDownHorizontalOffset() for Spinner since API level 19
dropDownVerticalOffset(int) setDropDownVerticalOffset() for AutoCompleteTextView
dropDownVerticalOffset(int) setDropDownVerticalOffset() for Spinner since API level 19
dropDownWidth(int) setDropDownWidth() for AutoCompleteTextView
dropDownWidth(int) setDropDownWidth() for Spinner since API level 19
duplicateParentStateEnabled(boolean) setDuplicateParentStateEnabled()
eGLConfigChooser(EGLConfigChooser) setEGLConfigChooser() for GLSurfaceView
eGLConfigChooser(boolean) setEGLConfigChooser() for GLSurfaceView
eGLContextClientVersion(int) setEGLContextClientVersion() for GLSurfaceView
eGLContextFactory(EGLContextFactory) setEGLContextFactory() for GLSurfaceView
eGLWindowSurfaceFactory(factory) setEGLWindowSurfaceFactory() for GLSurfaceView
editableFactory(Factory) setEditableFactory() for TextView
elegantTextHeight(boolean) setElegantTextHeight() for TextView since API level 21
elevation(float) setElevation() since API level 21
ellipsize(TruncateAt) setEllipsize() for EditText
ellipsize(TruncateAt) setEllipsize() for TextView
emptyView(View) setEmptyView() for AdapterView
ems(int) setEms() for TextView
enabled(boolean) setEnabled() for CalendarView
enabled(boolean) setEnabled() for DatePicker
enabled(boolean) setEnabled() for MediaController
enabled(boolean) setEnabled() for NumberPicker
enabled(boolean) setEnabled() for Spinner
enabled(boolean) setEnabled() for TabWidget
enabled(boolean) setEnabled() for TextView
enabled(boolean) setEnabled() for TimePicker
enabled(boolean) setEnabled()
enabled(boolean) setEnabled() for ZoomButton
error(CharSequence) setError() for TextView
eventsInterceptionEnabled(boolean) setEventsInterceptionEnabled() for GestureOverlayView
excludeMimes(String[]) setExcludeMimes() for QuickContactBadge
extendedSettingsClickListener(OnClickListener) setExtendedSettingsClickListener() for MediaRouteButton since API level 19
extractedText(ExtractedText) setExtractedText() for ExtractEditText
extractedText(ExtractedText) setExtractedText() for TextView
factory(ViewFactory) setFactory() for ViewSwitcher
fadeEnabled(boolean) setFadeEnabled() for GestureOverlayView
fadeOffset(long) setFadeOffset() for GestureOverlayView
fadingEdgeLength(int) setFadingEdgeLength()
fastScrollAlwaysVisible(boolean) setFastScrollAlwaysVisible() for AbsListView
fastScrollEnabled(boolean) setFastScrollEnabled() for AbsListView
fastScrollStyle(int) setFastScrollStyle() for AbsListView since API level 21
fillViewport(boolean) setFillViewport() for HorizontalScrollView
fillViewport(boolean) setFillViewport() for ScrollView
filterText(String) setFilterText() for AbsListView
filterTouchesWhenObscured(boolean) setFilterTouchesWhenObscured()
filterWatcher(TextWatcher) setFilterWatcher() for DialerFilter
filters(android.text.InputFilter[]) setFilters() for TextView
findListener(FindListener) setFindListener() for WebView since API level 19
firstDayOfWeek(int) setFirstDayOfWeek() for CalendarView
firstDayOfWeek(int) setFirstDayOfWeek() for DatePicker since API level 21
fitsSystemWindows(boolean) setFitsSystemWindows()
flipInterval(int) setFlipInterval() for ViewFlipper
focusable(boolean) setFocusable() for AdapterView
focusable(boolean) setFocusable()
focusableInTouchMode(boolean) setFocusableInTouchMode() for AdapterView
focusableInTouchMode(boolean) setFocusableInTouchMode()
focusedMonthDateColor(int) setFocusedMonthDateColor() for CalendarView since API level 19
fontFeatureSettings(String) setFontFeatureSettings() for TextView since API level 21
footerDividersEnabled(boolean) setFooterDividersEnabled() for ListView
foreground(Drawable) setForeground() for FrameLayout
foregroundGravity(int) setForegroundGravity() for FrameLayout
foregroundTintList(ColorStateList) setForegroundTintList() for FrameLayout since API level 21
foregroundTintMode(Mode) setForegroundTintMode() for FrameLayout since API level 21
format(String) setFormat() for Chronometer
format12Hour(CharSequence) setFormat12Hour() for TextClock since API level 19
format24Hour(CharSequence) setFormat24Hour() for TextClock since API level 19
formatter(Formatter) setFormatter() for NumberPicker
freezesText(boolean) setFreezesText() for TextView
friction(float) setFriction() for AbsListView
gLWrapper(GLWrapper) setGLWrapper() for GLSurfaceView
gesture(Gesture) setGesture() for GestureOverlayView
gestureColor(int) setGestureColor() for GestureOverlayView
gestureStrokeAngleThreshold(float) setGestureStrokeAngleThreshold() for GestureOverlayView
gestureStrokeLengthThreshold(float) setGestureStrokeLengthThreshold() for GestureOverlayView
gestureStrokeSquarenessTreshold(float) setGestureStrokeSquarenessTreshold() for GestureOverlayView
gestureStrokeType(int) setGestureStrokeType() for GestureOverlayView
gestureStrokeWidth(float) setGestureStrokeWidth() for GestureOverlayView
gestureVisible(boolean) setGestureVisible() for GestureOverlayView
gravity(int) setGravity() for Gallery
gravity(int) setGravity() for GridView
gravity(int) setGravity() for LinearLayout
gravity(int) setGravity() for RelativeLayout
gravity(int) setGravity() for Spinner
gravity(int) setGravity() for TextView
groupIndicator(Drawable) setGroupIndicator() for ExpandableListView
hapticFeedbackEnabled(boolean) setHapticFeedbackEnabled()
hasTransientState(boolean) setHasTransientState() since API level 19
headerDividersEnabled(boolean) setHeaderDividersEnabled() for ListView
height(int) setHeight() for TextView
highlightColor(int) setHighlightColor() for TextView
hint(CharSequence) setHint() for TextView
hint(int) setHint() for TextView
hintTextColor(ColorStateList) setHintTextColor() for TextView
hintTextColor(int) setHintTextColor() for TextView
horizontalFadingEdgeEnabled(boolean) setHorizontalFadingEdgeEnabled()
horizontalGravity(int) setHorizontalGravity() for LinearLayout
horizontalGravity(int) setHorizontalGravity() for RelativeLayout
horizontalScrollBarEnabled(boolean) setHorizontalScrollBarEnabled()
horizontalScrollbarOverlay(boolean) setHorizontalScrollbarOverlay() for WebView
horizontalSpacing(int) setHorizontalSpacing() for GridView
horizontallyScrolling(boolean) setHorizontallyScrolling() for TextView
hovered(boolean) setHovered()
iconified(boolean) setIconified() for SearchView
iconifiedByDefault(boolean) setIconifiedByDefault() for SearchView
id(int) setId()
ignoreGravity(int) setIgnoreGravity() for RelativeLayout
imageAlpha(int) setImageAlpha() for ImageView since API level 19
imageBitmap(Bitmap) setImageBitmap() for ImageView
imageDrawable(Drawable) setImageDrawable() for ImageSwitcher
imageDrawable(Drawable) setImageDrawable() for ImageView
imageLevel(int) setImageLevel() for ImageView
imageMatrix(Matrix) setImageMatrix() for ImageView
imageResource(int) setImageResource() for ImageSwitcher
imageResource(int) setImageResource() for ImageView
imageTintList(ColorStateList) setImageTintList() for ImageView since API level 21
imageTintMode(Mode) setImageTintMode() for ImageView since API level 21
imageURI(Uri) setImageURI() for ImageSwitcher
imageURI(Uri) setImageURI() for ImageView
imeOptions(int) setImeOptions() for SearchView
imeOptions(int) setImeOptions() for TextView
importantForAccessibility(int) setImportantForAccessibility() since API level 19
inAnimation(Animation) setInAnimation() for ViewAnimator
inAnimation(ObjectAnimator) setInAnimation() for AdapterViewAnimator
includeFontPadding(boolean) setIncludeFontPadding() for TextView
indeterminate(boolean) setIndeterminate() for ProgressBar
indeterminateDrawable(Drawable) setIndeterminateDrawable() for ProgressBar
indeterminateDrawableTiled(Drawable) setIndeterminateDrawableTiled() for ProgressBar since API level 21
indeterminateTintList(ColorStateList) setIndeterminateTintList() for ProgressBar since API level 21
indeterminateTintMode(Mode) setIndeterminateTintMode() for ProgressBar since API level 21
inflatedId(int) setInflatedId() for ViewStub
initialScale(int) setInitialScale() for WebView
inputType(int) setInputType() for SearchView
inputType(int) setInputType() for TextView
interpolator(Interpolator) setInterpolator() for ProgressBar
is24HourView(Boolean) setIs24HourView() for TimePicker
isIndicator(boolean) setIsIndicator() for RatingBar
isZoomInEnabled(boolean) setIsZoomInEnabled() for ZoomControls
isZoomOutEnabled(boolean) setIsZoomOutEnabled() for ZoomControls
itemsCanFocus(boolean) setItemsCanFocus() for ListView
keepScreenOn(boolean) setKeepScreenOn()
keyListener(KeyListener) setKeyListener() for TextView
keyProgressIncrement(int) setKeyProgressIncrement() for AbsSeekBar
keyboard(Keyboard) setKeyboard() for KeyboardView
labelFor(int) setLabelFor() since API level 19
layerPaint(Paint) setLayerPaint() for TextureView since API level 21
layerPaint(Paint) setLayerPaint() since API level 19
layoutAnimation(LayoutAnimationController) setLayoutAnimation() for ViewGroup
layoutAnimationListener(AnimationListener) setLayoutAnimationListener() for ViewGroup
layoutDirection(int) setLayoutDirection() since API level 19
layoutInflater(LayoutInflater) setLayoutInflater() for ViewStub since API level 19
layoutMode(int) setLayoutMode() for ViewGroup since API level 19
layoutParams(LayoutParams) setLayoutParams()
layoutParams(LayoutParams) setLayoutParams() for WebView
layoutResource(int) setLayoutResource() for ViewStub
layoutTransition(LayoutTransition) setLayoutTransition() for ViewGroup
left(int) setLeft()
leftStripDrawable(Drawable) setLeftStripDrawable() for TabWidget
leftStripDrawable(int) setLeftStripDrawable() for TabWidget
letterSpacing(float) setLetterSpacing() for TextView since API level 21
lettersWatcher(TextWatcher) setLettersWatcher() for DialerFilter
lines(int) setLines() for TextView
linkTextColor(ColorStateList) setLinkTextColor() for TextView
linkTextColor(int) setLinkTextColor() for TextView
linksClickable(boolean) setLinksClickable() for TextView
listSelection(int) setListSelection() for AutoCompleteTextView
logo(Drawable) setLogo() for Toolbar since API level 21
logo(int) setLogo() for Toolbar since API level 21
logoDescription(CharSequence) setLogoDescription() for Toolbar since API level 21
logoDescription(int) setLogoDescription() for Toolbar since API level 21
longClickable(boolean) setLongClickable()
mapTrackballToArrowKeys(boolean) setMapTrackballToArrowKeys() for WebView
marqueeRepeatLimit(int) setMarqueeRepeatLimit() for TextView
max(int) setMax() for AbsSeekBar
max(int) setMax() for ProgressBar
max(int) setMax() for RatingBar
maxDate(long) setMaxDate() for CalendarView
maxDate(long) setMaxDate() for DatePicker
maxEms(int) setMaxEms() for TextView
maxHeight(int) setMaxHeight() for ImageView
maxHeight(int) setMaxHeight() for TextView
maxLines(int) setMaxLines() for TextView
maxValue(int) setMaxValue() for NumberPicker
maxVisible(int) setMaxVisible() for FragmentBreadCrumbs
maxWidth(int) setMaxWidth() for ImageView
maxWidth(int) setMaxWidth() for SearchView
maxWidth(int) setMaxWidth() for TextView
measureAllChildren(boolean) setMeasureAllChildren() for FrameLayout
measureWithLargestChildEnabled(boolean) setMeasureWithLargestChildEnabled() for LinearLayout
mediaController(MediaController) setMediaController() for VideoView
mediaPlayer(MediaPlayerControl) setMediaPlayer() for MediaController
minDate(long) setMinDate() for CalendarView
minDate(long) setMinDate() for DatePicker
minEms(int) setMinEms() for TextView
minHeight(int) setMinHeight() for TextView
minLines(int) setMinLines() for TextView
minValue(int) setMinValue() for NumberPicker
minWidth(int) setMinWidth() for TextView
minimumHeight(int) setMinimumHeight()
minimumWidth(int) setMinimumWidth()
mode(int) setMode() for DialerFilter
mode(int) setMode() for QuickContactBadge
motionEventSplittingEnabled(boolean) setMotionEventSplittingEnabled() for ViewGroup
movementMethod(MovementMethod) setMovementMethod() for TextView
multiChoiceModeListener(MultiChoiceModeListener) setMultiChoiceModeListener() for AbsListView
navigationContentDescription(CharSequence) setNavigationContentDescription() for Toolbar since API level 21
navigationContentDescription(int) setNavigationContentDescription() for Toolbar since API level 21
navigationIcon(Drawable) setNavigationIcon() for Toolbar since API level 21
navigationIcon(int) setNavigationIcon() for Toolbar since API level 21
navigationOnClickListener(OnClickListener) setNavigationOnClickListener() for Toolbar since API level 21
nestedScrollingEnabled(boolean) setNestedScrollingEnabled() since API level 21
networkAvailable(boolean) setNetworkAvailable() for WebView
nextFocusDownId(int) setNextFocusDownId()
nextFocusForwardId(int) setNextFocusForwardId()
nextFocusLeftId(int) setNextFocusLeftId()
nextFocusRightId(int) setNextFocusRightId()
nextFocusUpId(int) setNextFocusUpId()
numColumns(int) setNumColumns() for GridView
numStars(int) setNumStars() for RatingBar
onLongPressUpdateInterval(long) setOnLongPressUpdateInterval() for NumberPicker
opaque(boolean) setOpaque() for TextureView
orientation(int) setOrientation() for GestureOverlayView
orientation(int) setOrientation() for GridLayout
orientation(int) setOrientation() for LinearLayout
outAnimation(Animation) setOutAnimation() for ViewAnimator
outAnimation(ObjectAnimator) setOutAnimation() for AdapterViewAnimator
outlineProvider(ViewOutlineProvider) setOutlineProvider() since API level 21
overScrollMode(int) setOverScrollMode() for AbsListView
overScrollMode(int) setOverScrollMode() for HorizontalScrollView
overScrollMode(int) setOverScrollMode() for ScrollView
overScrollMode(int) setOverScrollMode()
overScrollMode(int) setOverScrollMode() for WebView
overlay(Drawable) setOverlay() for QuickContactBadge since API level 21
overscrollFooter(Drawable) setOverscrollFooter() for ListView
overscrollHeader(Drawable) setOverscrollHeader() for ListView
paintFlags(int) setPaintFlags() for TextView
persistentDrawingCache(int) setPersistentDrawingCache() for ViewGroup
pictureListener(PictureListener) setPictureListener() for WebView
pivotX(float) setPivotX()
pivotY(float) setPivotY()
popupBackgroundDrawable(Drawable) setPopupBackgroundDrawable() for Spinner since API level 19
popupBackgroundResource(int) setPopupBackgroundResource() for Spinner since API level 19
popupParent(View) setPopupParent() for KeyboardView
popupTheme(int) setPopupTheme() for ActionMenuView since API level 21
popupTheme(int) setPopupTheme() for Toolbar since API level 21
preserveEGLContextOnPause(boolean) setPreserveEGLContextOnPause() for GLSurfaceView
pressed(boolean) setPressed()
previewEnabled(boolean) setPreviewEnabled() for KeyboardView
privateImeOptions(String) setPrivateImeOptions() for TextView
progress(int) setProgress() for ProgressBar
progressBackgroundTintList(ColorStateList) setProgressBackgroundTintList() for ProgressBar since API level 21
progressBackgroundTintMode(Mode) setProgressBackgroundTintMode() for ProgressBar since API level 21
progressDrawable(Drawable) setProgressDrawable() for ProgressBar
progressDrawableTiled(Drawable) setProgressDrawableTiled() for ProgressBar since API level 21
progressTintList(ColorStateList) setProgressTintList() for ProgressBar since API level 21
progressTintMode(Mode) setProgressTintMode() for ProgressBar since API level 21
prompt(CharSequence) setPrompt() for Spinner
promptId(int) setPromptId() for Spinner
proximityCorrectionEnabled(boolean) setProximityCorrectionEnabled() for KeyboardView
queryHint(CharSequence) setQueryHint() for SearchView
queryRefinementEnabled(boolean) setQueryRefinementEnabled() for SearchView
rating(float) setRating() for RatingBar
rawInputType(int) setRawInputType() for TextView
recyclerListener(RecyclerListener) setRecyclerListener() for AbsListView
remoteViewsAdapter(Intent) setRemoteViewsAdapter() for AbsListView
remoteViewsAdapter(Intent) setRemoteViewsAdapter() for AdapterViewAnimator
remoteViewsAdapter(Intent) setRemoteViewsAdapter() for GridView
remoteViewsAdapter(Intent) setRemoteViewsAdapter() for ListView
renderMode(int) setRenderMode() for GLSurfaceView
renderer(Renderer) setRenderer() for GLSurfaceView
right(int) setRight()
rightStripDrawable(Drawable) setRightStripDrawable() for TabWidget
rightStripDrawable(int) setRightStripDrawable() for TabWidget
rotation(float) setRotation()
rotationX(float) setRotationX()
rotationY(float) setRotationY()
routeTypes(int) setRouteTypes() for MediaRouteButton since API level 19
rowCount(int) setRowCount() for GridLayout
rowOrderPreserved(boolean) setRowOrderPreserved() for GridLayout
saveEnabled(boolean) setSaveEnabled()
saveFromParentEnabled(boolean) setSaveFromParentEnabled()
scaleType(ScaleType) setScaleType() for ImageView
scaleX(float) setScaleX()
scaleY(float) setScaleY()
scrollBarDefaultDelayBeforeFade(int) setScrollBarDefaultDelayBeforeFade() since API level 19
scrollBarFadeDuration(int) setScrollBarFadeDuration() since API level 19
scrollBarSize(int) setScrollBarSize() since API level 19
scrollBarStyle(int) setScrollBarStyle() for AbsListView since API level 19
scrollBarStyle(int) setScrollBarStyle()
scrollBarStyle(int) setScrollBarStyle() for WebView
scrollContainer(boolean) setScrollContainer()
scrollX(int) setScrollX()
scrollY(int) setScrollY()
scrollbarFadingEnabled(boolean) setScrollbarFadingEnabled()
scroller(Scroller) setScroller() for TextView
scrollingCacheEnabled(boolean) setScrollingCacheEnabled() for AbsListView
searchableInfo(SearchableInfo) setSearchableInfo() for SearchView
secondaryProgress(int) setSecondaryProgress() for ProgressBar
secondaryProgressTintList(ColorStateList) setSecondaryProgressTintList() for ProgressBar since API level 21
secondaryProgressTintMode(Mode) setSecondaryProgressTintMode() for ProgressBar since API level 21
secure(boolean) setSecure() for SurfaceView since API level 19
selectAllOnFocus(boolean) setSelectAllOnFocus() for TextView
selected(boolean) setSelected() for ImageView
selected(boolean) setSelected() for TextView
selected(boolean) setSelected()
selectedDateVerticalBar(Drawable) setSelectedDateVerticalBar() for CalendarView since API level 19
selectedDateVerticalBar(int) setSelectedDateVerticalBar() for CalendarView since API level 19
selectedGroup(int) setSelectedGroup() for ExpandableListView
selectedWeekBackgroundColor(int) setSelectedWeekBackgroundColor() for CalendarView since API level 19
selection(int) setSelection() for AbsSpinner
selection(int) setSelection() for AdapterView
selection(int) setSelection() for AdapterViewAnimator
selection(int) setSelection() for EditText
selection(int) setSelection() for GridView
selection(int) setSelection() for ListView
selector(Drawable) setSelector() for AbsListView
selector(int) setSelector() for AbsListView
shifted(boolean) setShifted() for KeyboardView
showDividers(int) setShowDividers() for LinearLayout
showSoftInputOnFocus(boolean) setShowSoftInputOnFocus() for TextView since API level 21
showText(boolean) setShowText() for Switch since API level 21
showWeekNumber(boolean) setShowWeekNumber() for CalendarView
shownWeekCount(int) setShownWeekCount() for CalendarView since API level 19
shrinkAllColumns(boolean) setShrinkAllColumns() for TableLayout
singleLine(boolean) setSingleLine() for TextView
smoothScrollbarEnabled(boolean) setSmoothScrollbarEnabled() for AbsListView
smoothScrollingEnabled(boolean) setSmoothScrollingEnabled() for HorizontalScrollView
smoothScrollingEnabled(boolean) setSmoothScrollingEnabled() for ScrollView
soundEffectsEnabled(boolean) setSoundEffectsEnabled()
spacing(int) setSpacing() for Gallery
spannableFactory(Factory) setSpannableFactory() for TextView
spinnersShown(boolean) setSpinnersShown() for DatePicker
splitTrack(boolean) setSplitTrack() for AbsSeekBar since API level 21
splitTrack(boolean) setSplitTrack() for Switch since API level 21
stackFromBottom(boolean) setStackFromBottom() for AbsListView
stateListAnimator(StateListAnimator) setStateListAnimator() since API level 21
stepSize(float) setStepSize() for RatingBar
streamVolume(float) setStreamVolume() for TvView since API level 21
stretchAllColumns(boolean) setStretchAllColumns() for TableLayout
stretchMode(int) setStretchMode() for GridView
stripEnabled(boolean) setStripEnabled() for TabWidget
submitButtonEnabled(boolean) setSubmitButtonEnabled() for SearchView
subtitle(CharSequence) setSubtitle() for Toolbar since API level 21
subtitle(int) setSubtitle() for Toolbar since API level 21
subtitleTextColor(int) setSubtitleTextColor() for Toolbar since API level 21
suggestionsAdapter(CursorAdapter) setSuggestionsAdapter() for SearchView
surfaceTexture(SurfaceTexture) setSurfaceTexture() for TextureView since API level 19
surfaceTextureListener(SurfaceTextureListener) setSurfaceTextureListener() for TextureView
switchMinWidth(int) setSwitchMinWidth() for Switch since API level 19
switchPadding(int) setSwitchPadding() for Switch since API level 19
switchTypeface(Typeface) setSwitchTypeface() for Switch
systemUiVisibility(int) setSystemUiVisibility()
tag(Object) setTag()
text(int) setText() for TextView
textAlignment(int) setTextAlignment() since API level 19
textColor(ColorStateList) setTextColor() for TextView
textColor(ColorStateList) setTextColor() for TextView
textColor(int) setTextColor() for TextView
textDirection(int) setTextDirection() since API level 19
textFilterEnabled(boolean) setTextFilterEnabled() for AbsListView
textIsSelectable(boolean) setTextIsSelectable() for TextView
textKeepState(CharSequence) setTextKeepState() for TextView
textLocale(Locale) setTextLocale() for TextView since API level 19
textOff(CharSequence) setTextOff() for Switch
textOff(CharSequence) setTextOff() for ToggleButton
textOn(CharSequence) setTextOn() for Switch
textOn(CharSequence) setTextOn() for ToggleButton
textScaleX(float) setTextScaleX() for TextView
threshold(int) setThreshold() for AutoCompleteTextView
thumb(Drawable) setThumb() for AbsSeekBar
thumbDrawable(Drawable) setThumbDrawable() for Switch since API level 19
thumbOffset(int) setThumbOffset() for AbsSeekBar
thumbResource(int) setThumbResource() for Switch since API level 19
thumbTextPadding(int) setThumbTextPadding() for Switch since API level 19
thumbTintList(ColorStateList) setThumbTintList() for AbsSeekBar since API level 21
thumbTintMode(Mode) setThumbTintMode() for AbsSeekBar since API level 21
timeZone(String) setTimeZone() for TextClock since API level 19
title(CharSequence) setTitle() for Toolbar since API level 21
title(int) setTitle() for Toolbar since API level 21
titleTextColor(int) setTitleTextColor() for Toolbar since API level 21
tokenizer(Tokenizer) setTokenizer() for MultiAutoCompleteTextView
top(int) setTop()
touchDelegate(TouchDelegate) setTouchDelegate()
touchscreenBlocksFocus(boolean) setTouchscreenBlocksFocus() for ViewGroup since API level 21
trackDrawable(Drawable) setTrackDrawable() for Switch since API level 19
trackResource(int) setTrackResource() for Switch since API level 19
transcriptMode(int) setTranscriptMode() for AbsListView
transform(Matrix) setTransform() for TextureView
transformationMethod(TransformationMethod) setTransformationMethod() for TextView
transitionGroup(boolean) setTransitionGroup() for ViewGroup since API level 21
transitionName(String) setTransitionName() since API level 21
translationX(float) setTranslationX()
translationY(float) setTranslationY()
translationZ(float) setTranslationZ() since API level 21
typeface(Typeface) setTypeface() for TextView
uncertainGestureColor(int) setUncertainGestureColor() for GestureOverlayView
unfocusedMonthDateColor(int) setUnfocusedMonthDateColor() for CalendarView since API level 19
unselectedAlpha(float) setUnselectedAlpha() for Gallery
up(LocalActivityManager) setup() for TabHost
useDefaultMargins(boolean) setUseDefaultMargins() for GridLayout
validator(Validator) setValidator() for AutoCompleteTextView
value(int) setValue() for NumberPicker
velocityScale(float) setVelocityScale() for AbsListView
verticalCorrection(int) setVerticalCorrection() for KeyboardView
verticalFadingEdgeEnabled(boolean) setVerticalFadingEdgeEnabled()
verticalGravity(int) setVerticalGravity() for LinearLayout
verticalGravity(int) setVerticalGravity() for RelativeLayout
verticalScrollBarEnabled(boolean) setVerticalScrollBarEnabled()
verticalScrollbarOverlay(boolean) setVerticalScrollbarOverlay() for WebView
verticalScrollbarPosition(int) setVerticalScrollbarPosition() for AbsListView
verticalScrollbarPosition(int) setVerticalScrollbarPosition()
verticalSpacing(int) setVerticalSpacing() for GridView
videoPath(String) setVideoPath() for VideoView
videoURI(Uri) setVideoURI() for VideoView
visibility(int) setVisibility() for CheckedTextView since API level 21
visibility(int) setVisibility() for FrameLayout since API level 21
visibility(int) setVisibility() for ImageView
visibility(int) setVisibility() for MediaRouteButton since API level 19
visibility(int) setVisibility() for ProgressBar
visibility(int) setVisibility() for SurfaceView
visibility(int) setVisibility()
visibility(int) setVisibility() for ViewStub
webChromeClient(WebChromeClient) setWebChromeClient() for WebView
webContentsDebuggingEnabled(boolean) setWebContentsDebuggingEnabled() for WebView since API level 19
webViewClient(WebViewClient) setWebViewClient() for WebView
weekDayTextAppearance(int) setWeekDayTextAppearance() for CalendarView since API level 19
weekNumberColor(int) setWeekNumberColor() for CalendarView since API level 19
weekSeparatorLineColor(int) setWeekSeparatorLineColor() for CalendarView since API level 19
weightSum(float) setWeightSum() for LinearLayout
width(int) setWidth() for TextView
willNotCacheDrawing(boolean) setWillNotCacheDrawing()
willNotDraw(boolean) setWillNotDraw()
wrapSelectorWheel(boolean) setWrapSelectorWheel() for NumberPicker
x(float) setX()
y(float) setY()
z(float) setZ() since API level 21
zOrderMediaOverlay(boolean) setZOrderMediaOverlay() for SurfaceView
zOrderOnTop(boolean) setZOrderOnTop() for SurfaceView
zoomSpeed(long) setZoomSpeed() for ZoomButton
zoomSpeed(long) setZoomSpeed() for ZoomControls