fix crash in android ADT layout editor