Skip to content
New issue

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

弹窗弹出时底部视图被覆盖 #72

Open
javaCR7 opened this issue Nov 19, 2020 · 0 comments
Open

弹窗弹出时底部视图被覆盖 #72

javaCR7 opened this issue Nov 19, 2020 · 0 comments

Comments

@javaCR7
Copy link

javaCR7 commented Nov 19, 2020

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隐藏,但是下拉选择框时完全覆盖了底层的视图。点击弹窗时如何保持不覆盖掉全部?

温热热无热无若
31231321

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant