Android Question Canvas How to

alienhunter

Active Member
Licensed User
Longtime User
Hi to all ,

you see in the picture the Yellow Text is behind the red circles
how do i get them in front ? :mad:
this is the code that draws this



B4X:
                For i = 0 To listx.Size-1
                Log( "LIST : " & listx.Get(i))
                mm6.DrawCircle( listx.Get(i) ,listy.Get(i), 10dip, Colors.Green,True, 11Dip)
                If listx.Get(i)=275 Then
                mm6.DrawText ( Listloc.GetItem(i)&"--", listx.Get(i) ,listy.Get(i),Typeface.DEFAULT_BOLD,15,Colors.Yellow,"RIGHT")
                Else
                mm6.DrawText ("--"& Listloc.GetItem(i), listx.Get(i) ,listy.Get(i),Typeface.DEFAULT_BOLD,15,Colors.Yellow,"LEFT")
                End If
                Next
 

Attachments

  • hmmm.jpg
    hmmm.jpg
    60.9 KB · Views: 200

alienhunter

Active Member
Licensed User
Longtime User
Hallo Klaus ,
vielen Dank es hat geklappt ....
ich hatte auch einen Fehler in der Routine wenn die touch befehl die Kreise folgen ( im Grid )
gruss Alfred
 

Attachments

  • ok.jpg
    ok.jpg
    82.3 KB · Views: 195
  • ok2.jpg
    ok2.jpg
    82 KB · Views: 174
Upvote 0
Top