peacemaker Expert Licensed User Longtime User Jul 1, 2012 #1 Hi, All How to arrange icons array, say 50....200 pcs ? It's for a cash for fast loading to activity when needs.
Hi, All How to arrange icons array, say 50....200 pcs ? It's for a cash for fast loading to activity when needs.
Erel B4X founder Staff member Licensed User Longtime User Jul 1, 2012 #2 You can load each image and add it to a List, or a Map or an Array... Upvote 0
peacemaker Expert Licensed User Longtime User Jul 1, 2012 #3 Hmm, but how ? I mean where Bitmaps of Icons will be stored? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jul 1, 2012 #4 You should add the bitmaps to your project. Add them to the files tab. Upvote 0
goron Member Licensed User Longtime User Jul 1, 2012 #5 Not so complicated... Take a look at: Basic4Android User's Guide 9.2 Layers with Panels / ImageViews / Images Something like: File1=icon00.png File2=icon01.png File3=icon02.png File4=icon03.png File5=icon04.png Dim AllIcons(5) As Bitmap ' bitmaps array For i = 0 To 4 AllIcons(i).Initialize(File.DirAssets, "icon0" & i & ".png") Next HTH, Gideon Oron Upvote 0
Not so complicated... Take a look at: Basic4Android User's Guide 9.2 Layers with Panels / ImageViews / Images Something like: File1=icon00.png File2=icon01.png File3=icon02.png File4=icon03.png File5=icon04.png Dim AllIcons(5) As Bitmap ' bitmaps array For i = 0 To 4 AllIcons(i).Initialize(File.DirAssets, "icon0" & i & ".png") Next HTH, Gideon Oron
peacemaker Expert Licensed User Longtime User Jul 1, 2012 #6 I found that most long operation is Panel1.LoadLayout Click to expand... in a loop, during creation the interface. So, creating views by code is fastest way - note all who makes grids of panels with layouts. Last edited: Jul 1, 2012 Upvote 0
I found that most long operation is Panel1.LoadLayout Click to expand... in a loop, during creation the interface. So, creating views by code is fastest way - note all who makes grids of panels with layouts.