'Requires RSImageProcessing library
'The following code is the example used for the 50/50 colour split.
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
Dim RSIE As RSImageEffects
Dim ImageViewTemp As ImageView
ImageViewTemp.Initialize(Null)
Dim BitmapTemp As Bitmap
BitmapTemp.Initialize(File.DirAssets, "Image1.jpg")
BitmapTemp = RSIE.ReplaceColor(BitmapTemp, Colors.Black, Colors.Red)
ImageViewTemp.Bitmap = BitmapTemp
Activity.AddView(ImageViewTemp, 0dip, 0dip, 100%x, 100%y)
End Sub