Thanks to all for your help. MagouyaWare, you are right , I've this line in my XML file but not in the "correct" place, I've the xmlns:android at the beginning of my main RelativeLayout and the xmlns:app at the end of this RelativeLayout. I don't know how it has come there, I've never seen this line before. No matter, now I know what I've to do and I'll take more care next time.
About the other question I think there can be only two possibilities: A bug or my iMac is crazy. I'm completely sure that when I wrote the first post if I push "ctrl+space" inside of my custom view block (in the layout xml file) only my custom attributes and the basic default attributes (like aligns, width, height…) appears on the autocomplete list, but not the specific attributes of the view that I'm extending, in this case an ImageView (android:src, android:scaleType…). When I've read your answers I've thought you have not understand what I'm saying and I've tried to make screenshots for explain better my problem, but what a surprise!!! Now "ctrl+space" autocomplete all the defaults attributes (also android:src, android:scaleType) but not the custom attributes. I can promise you that what I'm saying is true, I've been experimenting strange behaviors from some time ago with autocomplete or xml errors that can be solved closing the file and sometimes also reinitiating eclipse. Some colleagues have had similar issues, maybe someone of google could investigate about it. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

