I am trying to make some text appear on the screen.
This is the code. My secondScreen appears but the code after it does not.
The bits of code i am using here come from the various bits of documentation available. Can someone please help a complete newbie.
How do I make a piece of text, which will eventually come from a variable, on the screen?
Sub Show_Click
secondScreen.Visible=True
Dim Canvas1 As Canvas
Canvas1.Initialize(Activity) 'this canvas will draw on the activity background
Canvas1.DrawText("This is a nice sentence.", 200dip, 200dip, Typeface.DEFAULT_BOLD, 30, Colors.Blue, "LEFT")
End Sub
This is the code. My secondScreen appears but the code after it does not.
The bits of code i am using here come from the various bits of documentation available. Can someone please help a complete newbie.
How do I make a piece of text, which will eventually come from a variable, on the screen?
Sub Show_Click
secondScreen.Visible=True
Dim Canvas1 As Canvas
Canvas1.Initialize(Activity) 'this canvas will draw on the activity background
Canvas1.DrawText("This is a nice sentence.", 200dip, 200dip, Typeface.DEFAULT_BOLD, 30, Colors.Blue, "LEFT")
End Sub
Last edited: