Is it necessary to memorize everything about XML files, while I have the IDE to do it for me? [closed]

-2

I'm starting to learn Android and wanted to know if it's necessary to memorize the attributes that a component has as layout_height , layout_width , layout_gravity , etc.

It has certain attributes that is hard to remember, so I end up appealing to the IDE: drag and glue. I was wondering if this is inhibiting my learning or is it normal. I drag and lap but I have notion of what each thing is. If I create an app so it can be said that "I" have created? Because the very same thing is the data structure, my algorithm, is not it?

    
asked by anonymous 30.03.2016 / 18:34

1 answer

1

I'm not a professional programmer - I'm still in graduate school. I have about 1 ~ 1.5 years of programming on Android.

I always like to make my layout using Edit Code because I feel more comfortable in it. But that does not mean I do not use the Design area. No one is required to know all the components and tags XML you are using. XML is a markup language such as HTML and XHTML. In XML, I can create my custom tag and maybe the IDE does not recognize that "custom XML object", and you will be required to use Edit Code .

I always use the drag-and-drop area, when I forget the name of some component or attribute and set it right there (although it always gets lost).

I recommend you get used to using both. I have already had situations that the IDE did not recognize the XML tag, as is the case with a% of maps% and, if I am not mistaken, the Facebook LoginButton - did not show which attributes could be modified, but the visual assistant drew correctly.

Regardless of how you are developing it, I think it's good not to give up halfway through IDE's indecision. Even if you do not like it, learn to use both ways.

    
31.03.2016 / 03:08