Hi,
I have a question: how and when is the 1dip calculated?
I have a very rare problem with the vies in my app.
The result is that the views are 'pinched'.
This is very rare and I can't repeate it.
I also use same libs that I think can have some impact on it.
What i managed to figure out from my app logs that when it happens the 1dip size has different value
than is the views are ok.
I run it on Galaxy S7 and normaly the 1dip = 4.
But when the problem occures 1dip = 1
It happens both then the views are loaded with Loadlayout or in with the code.
Any ideas?
I have a question: how and when is the 1dip calculated?
I have a very rare problem with the vies in my app.
The result is that the views are 'pinched'.
This is very rare and I can't repeate it.
I also use same libs that I think can have some impact on it.
What i managed to figure out from my app logs that when it happens the 1dip size has different value
than is the views are ok.
I run it on Galaxy S7 and normaly the 1dip = 4.
But when the problem occures 1dip = 1
It happens both then the views are loaded with Loadlayout or in with the code.
Any ideas?
Last edited: