I've created a custom view extending RelativeLayout, and added its complete name in an xml layout file,, Its working fine I am just asking is there a way to make eclipse detect my parent layout as a RelativeLayout in order to auto-complete and suggest the tags related to RelativeLayout not give me blank suggestion and saying eclipse does't know any direct childs for this component.
<com.mypackage.myview>
<!-- I want eclipse to detect that myView which is in com.mypackage extends RelativeLayout and show the suggestions such as Layout_align_parent_left-->
<Button ............... />
<TextView..................../>
</com.mypackage.myview>
This was a bug in an older ADT, and its now fixed.
Reference
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