imageview issue

magnuma1

Member
Licensed User
Longtime User
I want to show a full screen .png (picture) when I click on a button. I am not sure on the code to write.
Thanks
 
I'm going in another direction now. How can I display about 5 lines of text after pressing a button?

Thanks again.
 
Upvote 0
depends where you want to show those 5 lines

MsgBox("Line1....." & CRLF &"Line2....." & CRLF &"Line3....." & CRLF &"Line4....." & CRLF &"Line5.....", "MESSAGE")



Label1.text = "Line1....." & CRLF &"Line2....." & CRLF &"Line3....." & CRLF &"Line4....." & CRLF &"Line5....."
 
Upvote 0
You can make a canvas on the activity too

Code: Copy
 Canvas1.DrawText("Line1.........", 10dip, 10dip, Typeface.DEFAULT, 16, Colors.Yellow, "LEFT")

 Canvas1.DrawText("Line2.........", 10dip, 30dip, Typeface.DEFAULT, 16, Colors.Yellow, "LEFT")

 Canvas1.DrawText("Line3.........", 10dip, 50dip, Typeface.DEFAULT, 16, Colors.Yellow, "LEFT")

 Canvas1.DrawText("Line4.........", 10dip, 70dip, Typeface.DEFAULT, 16, 
Colors.Yellow, "LEFT")

 Canvas1.DrawText("Line5.........", 10dip, 90dip, Typeface.DEFAULT, 16, Colors.Yellow, "LEFT")
 
Upvote 0
Back
Top