Skip to content
Kiran Kumar edited this page Jan 24, 2017 · 2 revisions

Supported Views and Attributes

Out of the box, Proteus supports a few views and a few attributes which are listed below. We expect the open source community to make this list exhaustive, so please create a pull request if you come across an attribute or a view which is not supported. Refer this page to know how.

ProgressBar
  • progress
  • max
  • progressTint
  • indeterminateTint
  • secondaryProgressTint
HorizontalScrollView
  • fillViewPort
ScrollView
  • scrollbars
NetworkImageView
  • imageUrl
LinearLayout
  • orientation
  • divider
  • dividerPadding
  • showDividers
  • weightSum
ViewGroup
  • clipChildren
  • clipToPadding
  • layoutMode
  • splitMotionEvents
ImageView
  • src
  • scaleType
  • adjustViewBounds
FrameLayout
  • heightRatio
  • widthRatio
CheckBox
  • checked
  • button
TextView
  • gravity
  • text
  • html
  • textSize
  • textColor
  • textColorHint
  • textColorLink
  • textColorHighlight
  • drawableLeft
  • drawableRight
  • drawableTop
  • drawableBottom
  • drawablePadding
  • maxLines
  • ellipsize
  • paintFlags
  • prefix
  • suffix
  • textStyle
  • singleLine
  • textAllCaps
  • hint
RatingBar
  • numStars
  • rating
  • isIndicator
  • stepSize
  • progressDrawable
  • minHeight
WebView
  • url
  • html
View
  • layout_weight
  • layout_width
  • background
  • layout_height
  • layout_gravity
  • gravity
  • padding
  • paddingLeft
  • paddingTop
  • paddingRight
  • paddingBottom
  • layout_margin
  • layout_marginLeft
  • layout_marginTop
  • layout_marginRight
  • layout_marginBottom
  • minHeight
  • minWidth
  • elevation
  • alpha
  • visibility
  • invisibility
  • id
  • tag
  • layout_above
  • layout_alignBaseline
  • layout_alignBottom
  • layout_alignEnd
  • layout_alignLeft
  • layout_alignRight
  • layout_alignStart
  • layout_alignTop
  • layout_below
  • layout_toEndOf
  • layout_toLeftOf
  • layout_toRightOf
  • layout_toStartOf
  • layout_alignParentBottom
  • layout_alignParentEnd
  • layout_alignParentLeft
  • layout_alignParentRight
  • layout_alignParentStart
  • layout_alignParentTop
  • layout_centerHorizontal
  • layout_centerInParent
  • layout_centerVertical
  • contentDescription
  • clickable
  • onClick
  • border
  • transitionName
  • animation
  • requiresFadingEdge
  • fadingEdgeLength
  • textAlignment
  • type
  • dataContext
  • children
  • enabled
  • style

Clone this wiki locally