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

Customs layouts - missing support #26

Open
yoni19888 opened this issue Jul 9, 2016 · 0 comments
Open

Customs layouts - missing support #26

yoni19888 opened this issue Jul 9, 2016 · 0 comments

Comments

@yoni19888
Copy link

When i tried to build my project with your plugin i got these errors for PercentRelativeLayout

logo.setLayoutHeightPercent("25%");
logo.setLayoutMarginTopPercent("10%");
logo.setLayoutWidthPercent("35%");

Cannot resolve method 'setLayoutHeightPercent(java.lang.String)'

Same issue for ImageView.setSrc

<ImageView
        android:id="@+id/logo"
        android:layout_centerHorizontal="true"
        app:layout_widthPercent="35%"
        app:layout_heightPercent="25%"
        app:layout_marginTopPercent="10%"
        android:adjustViewBounds="true"
        android:src="@drawable/logo"` />

it's genreated a wrong method call
logo.setSrc(getContext().getResources().getDrawable(R.drawable.logo));

Thank you!

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