iOS Question comfortable work with the picture

Lakhtin_V

Active Member
Licensed User
Longtime User
What technology diplay image, will be simple for iPhone. In the Androyd I used label and background image.
B4X:
Dim lblIMG as label, img as bitmap

img.Initialize(File.DirAssets,"z_startrek.gif")
lblIMG.Initialize("None")
lblIMG.SetBackgroundImage(img)
lblIMG.SendToBack
Activity.AddView(lblIMG, 10%x, 10%y, 80%x, 80%y)
In the iPhone I can not do it. Now I'm planning to make my application in two versions for android and iPhone, what technology to use to make the program's text have minimal differences. Please write me 2 short examples for iPhone and Android how to insert a picture in the middle of the screen.
 

jahswant

Well-Known Member
Licensed User
Longtime User
In the iPhone I can not do it. Now I'm planning to make my application in two versions for android and iPhone, what technology to use to make the program's text have minimal differences. Please write me 2 short examples for iPhone and Android how to insert a picture in the middle of the screen.
Use the designer to crate your layouts in both Android And iOS then you'll see that there will be nearly no difference between your screens.
 
Upvote 0
Top