title: Data binding with ternary operator to align views
body: <p>Can I use data binding with ternary operator to align views.</p>
  
  <pre><code>android:layout_toLeftOf= 
  "@{value.getUnit().equals(@string/mb)?@+id/lyt_value:@+id/lyt_value2}"
  </code></pre>
  
  <p>Above code gives compilation error 'expr expected'</p>