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

StackCardsView只能指定itemHeight和itemWidth吗可以设置成充满屏幕,然后设置margin #12

Open
blueskywater opened this issue Oct 18, 2019 · 1 comment

Comments

@blueskywater
Copy link

tackCardsView只能指定itemHeight和itemWidth吗可以设置成充满屏幕,然后设置margin来做卡片大小吗

@LinX1874
Copy link

public LayoutParams(int width, int height, int gravity) {
super(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);
this.gravity = gravity;
}
写死可以充满

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

2 participants