Fixed
Status Update
Comments
rm...@google.com <rm...@google.com> #2
Thank you for your feedback. Team may reach out for more feedback in reproducing or triaging this issue.
ni...@google.com <ni...@google.com>
ch...@google.com <ch...@google.com> #3
Thanks for reporting, the fixed version would be released soon.
Description
AI-191.6707.61.35.5529924, JRE 1.8.0_202-release-1483-b01x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1600x900, 1920x1080
AS: 3.5 Beta 1; Android Gradle Plugin: 3.5.0-beta01; Gradle: 5.4; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
IMPORTANT: Please read
---
If you have <data> tag defined in a <layout> tag in an layout.xml, it is impossible to drop a view element on that layout. If you temporarily removes the <data> tag you can drop the view on the layout.
You can test it with this base layout:
<?xml version="1.0" encoding="utf-8"?>
<layout
xmlns:android="
xmlns:app="
xmlns:tools="
<data>
<variable name="booleanVariable" type="boolean"/>
</data>
</layout>
A.
1. Create new layout.xml
2. Enter text above
3. Go to design mode.
4. Try to drag an drop the "ConstraintLayout" widget onto the layout.
5. --> Nothing happens.
B.
6. Go to edit mode
7. Cut out the <data> element
8. Go to design mode.
9. Drag an drop the "ConstraintLayout" widget into the layout.
11. --> Everything is OK...
10. Go back top edit mode.
11. Paste the <data> element onto the <layout> tag.
==> It should be OK to drop a view onto the layout regardless if the <data> tag exists or not...
RG