Possible to Set height for cells in percentage level?

Hello Team,



I am using 3J Modal Layout… in this i need to set the height for each cell(that means the cells “a” and “c”) in percentage level…



If i am using setHeight() means… i must set the value for height is in pixels… not in percentage level. is there any api u have provided for my requirement… else give me the guidance to achieve this.





Thanks & Regards,

Ashok


Hello,


yes, setHeight method requires height in pixels. Unfortunately, layout doesn’t support methods to set height in percents. So, you should calculate the necessary height in pixels and then call setHeight method.