lua - Masking Corona Tableview for all devices -


I am creating table view using Corona, it's working fine, and maskfile for at least one device Is being displayed in the correct coordinates. If I look at the tableview on any other device, the result is different because the size of the maskfile is fixed (320x480). Looking at the app on other devices, especially in Android devices with large devices, there is an empty space and it looks messy.

I think that the investigation only solution is to make a mask for all possible screen sizes, one size does not get the right mask file I am ready to make all these mask PNG files, but it's just Curious whether anyone knows more efficiently to complete it without increasing the size of the app.

Here tableView

  local tableview = widget. Anivitiv scene {top = 100, width = 320, height = 366, Mukutafail = "assets / mask -320 x420.png", listener = Table Drishydrshk, Onarevrender = Onarevrender, OnRowTouch = onRowTouch,} groups: Insert (Tebldrishy)  

an easy way to do it I do not think. The tableview only supports custom scroll bars and background colors. Just to make a loop and can be just as easy to make your own Teblwu by inserting in the table all values ​​If you create Teblwu your own, you can add masks and customize it more.

Hope it helps.


Comments