Obsolete
Status Update
Comments
gl...@gmail.com <gl...@gmail.com> #2
Disregard the first case (resources)--that was user error. The other two issues stand.
sk...@gmail.com <sk...@gmail.com> #3
[Comment deleted]
jo...@google.com <jo...@google.com>
sa...@google.com <sa...@google.com> #4
Thank you for your feedback. We have tried our best to address the issue reported, however our product team has shifted work priority which doesn't include this issue. For now, we will be closing the issue as "Won't Fix (Obsolete)". If this issue still currently exists, we request that you log a new issue along with the latest bug report here: https://goo.gl/TbMiIO and reference this bug for context.
Description
It seems that the [Android documentation about layout aliases][1] is incorrect, and certainly appears inconsistent. This section of documentation shows the following layout file as an example:
<resources>
<item name="main" type="layout">@layout/main_twopanes</item>
</resources>
If I try to compile this, I get an `Attribute is missing the Android namespace prefix` error. Even after adding the namespace to the `resources` element, I get `error: Error: String types not allowed (at 'type' with value 'layout').`
[Elsewhere in the Android documentation][2], they show a different and seemingly inverted and incorrect way to alias layouts:
Lastly there's the [`<merge>` documentation][3], which seems to contradict the former direction
[1]:
[2]:
[3]: