I need to be able to dynamically set an EditText\'s height property. I am using data binding for other properties throughout my app, so I would love to be able to use data b
When data binding is used, we strip values from the XML. You can add a default value to be used when it is stripped to avoid the issue.
see: http://developer.android.com/tools/data-binding/guide.html (bottom of the page).
android:layout_height="@{loginVM.compact ? @dimen/verificationHeightCompact : @dimen/verificationHeightFull, default=wrap_content}"