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

include 找不到 layoutParam0 #46

Open
huanggenghg opened this issue Aug 29, 2019 · 1 comment
Open

include 找不到 layoutParam0 #46

huanggenghg opened this issue Aug 29, 2019 · 1 comment

Comments

@huanggenghg
Copy link

public class X2C127_Include_Tips_None_Content_Layout implements IViewCreator {
  @Override
  public View createView(Context ctx) {
    	Resources res = ctx.getResources();

        RelativeLayout relativeLayout0 = new RelativeLayout(ctx);
        relativeLayout0.setId(R.id.tips_none_content_layout);
        layoutParam0.addRule(RelativeLayout.CENTER_IN_PARENT,RelativeLayout.TRUE);
        relativeLayout0.setVisibility(View.GONE);
...
}

include  RelativeLayout 找不到 layoutParam0 的定义
@furutuki
Copy link
Contributor

你更新一下最新代码看看,现在应该没问题了。

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