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

Operators for number values #2

Open
DSteve595 opened this issue Dec 24, 2015 · 1 comment
Open

Operators for number values #2

DSteve595 opened this issue Dec 24, 2015 · 1 comment

Comments

@DSteve595
Copy link

I've always wanted to be able to use values that are math operations, usually addition. For example:

`android:paddingBottom="@dimen/fabSize + 8dp"

That's based on regular Android XML syntax, not the syntax this project uses, but something that allows for operators to be used on dimen values would be really awesome.

@cypressious
Copy link

If something made me use this, it would be this. To reduce complexity, you could mandate that resources with dimensions never have qualifiers so that you can implement it by copying all the modifiers of the references resource.

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

No branches or pull requests

3 participants