We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app:hvp_topOffset="50dp" 这个属性没什么效果。设置和不设置没有区别,这是怎么回事。
The text was updated successfully, but these errors were encountered:
这是因为demo里面MainActivity回调里手动设置了这个参数,你可以把这去掉试试
@Override public void onWindowFocusChanged(boolean hasFocus) { super.onWindowFocusChanged(hasFocus); //当前窗口获取焦点时,才能正真拿到titlebar的高度,此时将需要固定的偏移量设置给scrollableLayout即可 scrollableLayout.setTopOffset(titleBar.getHeight()); }
Sorry, something went wrong.
No branches or pull requests
app:hvp_topOffset="50dp" 这个属性没什么效果。设置和不设置没有区别,这是怎么回事。
The text was updated successfully, but these errors were encountered: