Limit on number of Views?

nfordbscndrd

Well-Known Member
Licensed User
Longtime User
Does having a lot Views in an app impact system resources in any way? Or is there any other practical limit on number of Views in an app? I've got an app with over 100 Views in it, so... just wondering.
 

nfordbscndrd

Well-Known Member
Licensed User
Longtime User
There is no limit on the number of views. However the more views you have the slower it will take to create your activity.

If you have many labels, you can use a Canvas and draw the text instead.

I needed a 6x6 grid (like a spreadsheet) into which I can quickly enter data, so I made one up of labels. Each column of labels is an array in the app for easy data entry.

I assume that drawing text onto a Canvas would be best for making labels that don't change? Is there a better way than what I'm doing? I haven't overlooked a Grid View, I hope.

attachment.php


Edit: I should have mentioned that I'm also using 52 ImageViews to hold four hands of 13 playing cards each, plus about 20 check boxes and buttons for selecting options, plus another dozen or so various Views for other things.
 
Last edited:
Upvote 0
Top