1. Check out our companion app, Forums for Android! Download from Google Play

EditText's default text

Discussion in 'Application Development' started by nickf77, Aug 25, 2010.

  1. nickf77

    nickf77 Well-Known Member
    Thread Starter
    36

    Jul 16, 2010
    47
    3
    36
    There's probably a quick answer to this one, but here goes:

    When you're composing a new text message and click on the "Tap to compose" box, you can see in the box the words "Tap to compose" in light gray, but they're only there when the box is empty.

    I'm calling it the EditText's "default text", but I'm not sure if there's something else it should be called, or if there's any properties within the EditText view that sets this "default text".

    Thanks in advance.
     

    Advertisement

  2. tp_technologies

    tp_technologies Well-Known Member
    16

    Apr 26, 2010
    65
    5
    16
    Canada
    change the hint property
     
    nickf77 likes this.
  3. nickf77

    nickf77 Well-Known Member
    Thread Starter
    36

    Jul 16, 2010
    47
    3
    36
    Thanks a ton! I knew it would be one of those properties, but just scrolling through them none really jumped out at me.
     

Share This Page

Loading...