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

Draw in Text Box

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

  1. 9Ate7

    9Ate7 Active Member
    Thread Starter
    15

    May 9, 2012
    33
    0
    15
    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
     

    Advertisement

  2. jonbonazza

    jonbonazza Well-Known Member
    163

    Jul 13, 2010
    1,934
    458
    163
    Male
    No, but why not just put a canvas behind a text view?
     
  3. 9Ate7

    9Ate7 Active Member
    Thread Starter
    15

    May 9, 2012
    33
    0
    15
    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 Well-Known Member
    163

    Jul 13, 2010
    1,934
    458
    163
    Male
    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.
     

Share This Page

Loading...