Closed tcqq closed 6 years ago
What's the exact question / issue?
Header layout height be changed.
Looks good on my device. What Android version and what device is that?
Pixel xl
Is this happening with the current released version of the lib or just the one you modified?
Now I just added more than one setColor method, I did not change the original function of this library
android studio have this simulators
I tested, this problem is real.
I understand that, but still, could you try if this is happening with the released one too? My device (HTC 10, 8.0) does not produce this, so it could be either a modification you made or the locale (yours is Chinese if I'm right, mine is English).
Yes, I will try, when the problem is solved I will let you know.
After the horizontal screen there will be problems, This is before the above code is run the screenshot.
I fixed this problem, The problem is because of the "setHeaderBackgroundColor" method.
If I use "setBackgroundColor" to set it will not have problem, if I use "setBackground" to set, it will have problem.
But the strange thing is that the above initialization is using "setBackground" but no problem.
I really want to know why this is, if you know, please tell me, thanks.
Click redbox button before: Click redbox button after: