I need to place two images male.png and female.png of size 24x24 one below the other in an ImageView of the corresponding size. If the ImageView does not allow this, is it possible to programmatically create a new one from these images?
Use B4XCanvas (example attached).If it is not possible, is it possible to programmatically create one image from two images?
Private sQA_Sex As ToggleButton
#Region Sex_CheckedChange
Private Sub sQA_Sex_CheckedChange(Checked As Boolean)
If sQA_Sex.Tag = cNamesDB.DEFINE_DB_WhichSex_Sex_Either Then
sQA_Sex.Tag = cNamesDB.DEFINE_DB_WhichSex_Sex_Male
sQA_Sex.Background = mSexState_Male_Female
mDDPlayers.SetDisplayInfo_Color(True, Colors.Blue)
Else If sQA_Sex.Tag = cNamesDB.DEFINE_DB_WhichSex_Sex_Male Then
sQA_Sex.Tag = cNamesDB.DEFINE_DB_WhichSex_Sex_Female
sQA_Sex.Background = mSexState_Male_Female
mDDPlayers.SetDisplayInfo_Color(True, Colors.RGB(255, 0, 255))
Else
sQA_Sex.Tag = cNamesDB.DEFINE_DB_WhichSex_Sex_Either
sQA_Sex.Background = mSexState_Either_Male
mDDPlayers.SetDisplayInfo_Color(True, Colors.Black)
End If
Log("Sex is:" &sQA_Sex.Tag)
End Sub
#end Region
Use B4XCanvas (example attached).If it is not possible, is it possible to programmatically create one image from two images?