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
contentView 无法设置为RecyclerView.所以做了如下设置: TextView contentView = new TextView(mActivityContext); // recyclerView.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); contentView.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, 0)); contentView.setText(""); contentView.setGravity(Gravity.CENTER); contentView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 20); 将高度设置0隐藏,但是下拉选择框时完全覆盖了底层的视图。点击弹窗时如何保持不覆盖掉全部?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
contentView 无法设置为RecyclerView.所以做了如下设置:
TextView contentView = new TextView(mActivityContext);
// recyclerView.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
contentView.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, 0));
contentView.setText("");
contentView.setGravity(Gravity.CENTER);
contentView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 20);
将高度设置0隐藏,但是下拉选择框时完全覆盖了底层的视图。点击弹窗时如何保持不覆盖掉全部?
The text was updated successfully, but these errors were encountered: