Bug with a "Text" position
Closed this issue · 0 comments
raspberry-jenshen commented
When the "tutors" is starting at the first time, you can see a bug with a wrong "Text" position. It's because of view lifecycle :)
You can fix it, just do your "Positioning logic" in the OnLayoutChanged method.
For example:
@Override protected void onLayout(boolean changed, int left, int top, int right, int bottom) { super.onLayout(changed, left, top, right, bottom); moveText(!inTop()); }