In particular XML nodes hierarchy eg. DrawerLayout->RelativeLayout->ImageButton autocomplete does not work as expected. Suggestion list contains invalid items. Eg. android:src
is not shown inside ImageButton
while it should be.
Invalid proposals:
On the other hand if hierarchy is RelativeLayout->RelativeLayout->ImageButton then everything is OK.
Valid proposals:
I've already tried:
If inner RelativeLayout is moved to another XML file and included via <include layout="@layout/inner"/>
then autocomplete is working. But it is a dirty workaround, not a real solution. So I am not accepting this answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With