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

Asked

Viewed 75 times

-2

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

It has certain attributes that are hard to remember, so I end up appealing to the IDE: drag and glue. I wanted to know if this is inhibiting my learning or is normal. I drag and lap but I have a sense of what each thing is. If I create an app like this can be said that "I" created? Because the important thing is the data structure, my algorithm, it’s not?

  • 4

    I believe that the staff is negatively your question why it seems to be based on opinions , I will not risk answering why I do not know the android development environment , but I believe that in any development environment and essential 'know what you are using in your code'

  • I confess that I was a little afraid to ask this kind of question because of the fact that one bullshit an opinion, I have seen several questions related to opinion . -.. But all right, I’m going to ask at Yahoo Answers. Thanks and sorry for any inconvenience.

  • 1

    @D3ll4ry You know our chat? There you can ask this kind of question no problem.

  • Honestly, I think it’s an interesting question, because it’s a question that some novice or even some developers might have. I don’t think it should be considered a Ruin question.'

1 answer

1

I’m not a professional programmer - I’m in graduation yet. I have a 1~1.5 years of programming on Android.

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

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

I recommend you to get used to using both. I’ve had situations where the IDE didn’t recognize the XML tag, as is the case with a Fragment maps and, if I’m not mistaken, Facebook’s Loginbutton - did not show which attributes could be modified, but the visual assistant drew correctly.

Regardless of how it is developing I think it is good not to give up in the middle of the way by an indecision of IDE. Even if you don’t like it, learn to use both ways.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.