which really ruins my layouts
# android
k
which really ruins my layouts
n
krtko: do you have Autoconnect turned on? It might be the culprit.
k
Nope that is off
Its very odd, it keeps changing a layout_width from a xml dimension to a specific DP
b
Yeah, I’ve been having the same issue in 2.3 and 3.0. I’ve noticed that it usually only happens when i mouse over the preview; so I just close the preview and it’s OK
k
Ya
Personally I would like to have the preview pane open
b
Oh, I completely agree. But until it’s fixed having it closed is about the only way I can work with constraint layouts 😞
k
Yes its kinda dangerous
Huh does your layouts have match_parent at all?
its seems like if one view uses match_parent it messes it up all the other views as well
Match_parent doesn’t’ seem to be supported by constraint layout
that kinda sucks
b
Yeah, you need to do the
0dp
and
app:layout_constraintLeft_toLeftOf="parent"
and the same with the right for width matching. It would be nice to have match_parent abided by
k
Yea I need a view to be the size of the parent
but translated up 50%
I think I can do that with Guidelines tho