Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0d35077 authored by Joe Onorato's avatar Joe Onorato
Browse files

fix typos in docs

Change-Id: I201ac8d310aab4b3cbd8e0eb2af805f1e6d929ea
http://code.google.com/p/android/issues/detail?id=7086
parent 1e909ed9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ need to change dynamically and are not part of a performance-intensive game. For
draw your graphics into a View when you want to display a static graphic or predefined animation, within 
an otherwise static application. Read <a href="#draw-to-view">Simple Graphics Inside a View</a>.</li>

<p>Option "b," drawing to a Canvas, is better when you're application needs to regularly re-draw itself.
<p>Option "b," drawing to a Canvas, is better when your application needs to regularly re-draw itself.
Basically, any video game should be drawing to the Canvas on its own. However, there's more than 
one way to do this: </p>
<ul>
@@ -117,7 +117,7 @@ that takes your Canvas as an argument.</p>

<h3 id="on-view">On a View</h3>

<p>If you're application does not require a significant amount of processing or 
<p>If your application does not require a significant amount of processing or
frame-rate speed (perhaps for a chess game, a snake game, 
or another slowly-animated application), then you should consider creating a custom View component
and drawing with a Canvas in <code>{@link android.view.View#onDraw(Canvas) View.onDraw()}</code>.