Class ShadowTextView

    • Field Detail

      • selectionStart

        protected int selectionStart
      • selectionEnd

        protected int selectionEnd
    • Constructor Detail

      • ShadowTextView

        public ShadowTextView()
    • Method Detail

      • getPreviousKeyCode

        public int getPreviousKeyCode​(int index)
      • getPreviousKeyEvent

        public KeyEvent getPreviousKeyEvent​(int index)
      • innerText

        public String innerText()
        Returns the text string of this TextView. Robolectric extension.
        Overrides:
        innerText in class ShadowView
        Returns:
        String representation of this view.
      • getTextAppearanceId

        public int getTextAppearanceId()
      • getWatchers

        public List<TextWatcher> getWatchers()
        Returns:
        the list of currently registered watchers/listeners
      • setPaintFlags

        @Implementation
        protected void setPaintFlags​(int paintFlags)
      • setCompoundDrawablesWithIntrinsicBounds

        @Implementation
        protected void setCompoundDrawablesWithIntrinsicBounds​(int left,
                                                               int top,
                                                               int right,
                                                               int bottom)
      • getCompoundDrawablesWithIntrinsicBoundsLeft

        public int getCompoundDrawablesWithIntrinsicBoundsLeft()
      • getCompoundDrawablesWithIntrinsicBoundsTop

        public int getCompoundDrawablesWithIntrinsicBoundsTop()
      • getCompoundDrawablesWithIntrinsicBoundsRight

        public int getCompoundDrawablesWithIntrinsicBoundsRight()
      • getCompoundDrawablesWithIntrinsicBoundsBottom

        public int getCompoundDrawablesWithIntrinsicBoundsBottom()