If Val(Rating) >= 8.5 Then
ImageView2[COLOR=red].Bitmap[/COLOR] = LoadBitmap(File.DirAssets, "rating45.gif")
Else
ImageView2[COLOR=red].Bitmap[/COLOR] = LoadBitmap(File.DirAssets, "rating40.gif")
End If
ImageView2 is the name of the view.
ImageView2.Bitmap is the parameter.
If Val(Rating) >= 8.5 Then
ImageView2[COLOR=red].Bitmap[/COLOR] = LoadBitmap(File.DirAssets, "rating45.gif")
Else
ImageView2[COLOR=red].Bitmap[/COLOR] = LoadBitmap(File.DirAssets, "rating40.gif")
End If
ImageView2 is the name of the view.
ImageView2.Bitmap is the parameter.