Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Learn Android Tutorial 1.12- Setup a More Advanced XML

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,997
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 26, 2011

Learn Android Tutorial 1.12- Setup a More Advanced XML

In this lesson you will:
-Learn about the weight set up in XML
-set up the gravity as well
-some other stuff that is cool that i don't really feel like typing right now
-subscribe
-Thumbs up this video ;)

This video is the 13th in a web series that I am creating to help you learn Android programming so you can create apps and eventually how to learn to write games for android phones. I want to explain things in a way that everyone can understand, even if you have no experience with Java, XML, C++, OpenGL, or as a matter of fact, any other programming language.




If you do have a lot of experience with programming, these first videos will be really slow for you, but my goal is to get everyone sprinting, but for now we have learn to crawl.

follow me on twitter: mybringback
www.mybringback.com

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (mybringback)

  • Hey Travis, I cant fine EditText in my form widgets, not AutocompleteTextView and MultiAutocompleteTextview. how can i get those... ?

  • @christagoh I believe the editText would be in the Text Field category, but I can't be too positive, I don't have eclipse installed on this computer :(

see all

All Comments (21)

Sign In or Sign Up now to post a comment!
  • Help, when I put a second LinearLayout I get this error

    error: Error parsing XML: junk after document element

    Why?

  • every time i press the button it force closes my app help please

  • how do i give spaces between them?

  • @sofiaengvall You can code it as you see in 0:54, just write "<EditText android:text="What you want" android:id="@+id/Whatyouwant" android:layout_width="wrap_con­­tent" android:layout_height="wrap_co­­ntent". I think that would work.

  • @sofiaengvall: I asked the same question on the forum and this was the answer:

    "Travis made the turtorial using a older version of Android (I assume you're using 4.0 like I am).

    As you get further along the tutorials you'll notice that some stuff that you could do in older versions of Android can no longer be done in version 4.0"

    Some stuff is called different or at a different place, annoying but it keeps me finding things myself and not only copy Travis. works for me!

  • Travis Marshall you died testerday because Dexter stabbed youin the heart

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more