1. Are you ready for the Galaxy S20? Here is everything we know so far!

Draw in Text Box

Discussion in 'Android Development' started by 9Ate7, Jan 8, 2013.

  1. 9Ate7

    9Ate7 Newbie
    Thread Starter

    I am wondering if there is a way to draw an image, or edit simple lines in a text box. The entire screen is a textView/ect and i would like to be able to write a sentence then draw an image and write again. By draw i think i would use the Canvas, so basically is there a way to include a canvas in a text view?

    Evernote does do this, but to edit an image/draw you need to open another app "Skitch", my goal is to try and do this without any extra apps.

    For example:

    Hello

    (canvas/editable graphical items)

    World
     


  2. jonbonazza

    jonbonazza Android Expert

    No, but why not just put a canvas behind a text view?
     
  3. 9Ate7

    9Ate7 Newbie
    Thread Starter

    i could do that, if there a way to prevent the items on a canvas over lapping the text in the text view?
     
  4. jonbonazza

    jonbonazza Android Expert

    if you place your textview on top of your canvas in your layout file, then it will always be on top, no matter what is rendered on the canvas.
     
Loading...
Similar Threads - Draw Text Box
  1. Samsung
    Replies:
    0
    Views:
    97
  2. App Update
    Replies:
    0
    Views:
    109
  3. dPRogerWilco
    Replies:
    1
    Views:
    119
  4. Bretwa
    Replies:
    0
    Views:
    292
  5. iTP
    Replies:
    0
    Views:
    211
  6. Rad Brothers
    Replies:
    1
    Views:
    725
  7. App Update
    Replies:
    0
    Views:
    136
  8. App Update
    Replies:
    0
    Views:
    118
  9. The_Chief
    Replies:
    9
    Views:
    1,419
  10. Muffi Zainu
    Replies:
    18
    Views:
    6,204

Share This Page

Loading...