Android Tutorial & Lessons 12: Radio Buttons and Groups in 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.
28,809
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 30, 2011

Android Tutorial & Lessons 12: Radio Buttons and Groups in XML:


Whats up CornFanz, thanks for watching my videos, I would love it if you subscribe and give me some feedback.


In this lesson you will:
-Start setting up a more advanced LinearLayout XML
-Add EditText
-Add two radio groups which hold 3 radio buttons.
-Set up some other sweet stuff
-Identify all our views (technical term for sweet stuff)
-Thumbs up this video ;)

This video is the 12th 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: @cornboyz

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (CornboyzAndroid)

  • i loved how u overdubbed the "12th" at the beginning ^^

  • @SnoWWW85 haha yea....

  • I know java , really well, but I'm a total 0 on xml.

    What to do if

    C:\Documents and Settings\Admin\Мои документы\Java projects\Droid\res\layout\test­.xml:7: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/test').

  • @MyRsIrl well there are a few things you want to check/ try. First make sure you put a picture called test.png or whatever in the appropriate drawable folder, then you want to go to Project>Clean... if that doesn't fix the problem you want to check if you still have the auto generated R.java file within "gen" folder if it isn't there then most likely you set something up incorrectly in the manifest or mislabeled a resource. Hope that helps :D

  • Love you man.Keep it up, ur ahead of bucky buy a long shot :D!

    One tip. When you are in the XML files if u click "ctrl+shift+F" you will format/cut those long lines of code and "tab" it so you get a nice clean overview. :D

    Keep it up!

  • @trondihauge Hey thanks for the encouragement & for the awesome shortcut tip!

Top Comments

  • I cannot find "Edit Text" option on the palette! Could you tell me what could be the issue? And if there is any alternative?

  • @TheSiri66 Edit Text is no longer on Eclipse. It's now under Text Field, Plain Text it works the exact same way as Edit Text. Please give me a thumbs up if this helped you ;)

see all

All Comments (28)

Sign In or Sign Up now to post a comment!
  • @TheSiri66 just use the plain text option ;)

  • Another good night... ending at 6am... thank you sir... back tomm.. tonight:)

  • i have a problem with a error on the last LinearLayout end

  • @TheSiri66 Plain text

  • @TheSiri66 This is because EditText is deprecated (no longer used). What I found that works instead is to make a TextView, then change its properties. There's a property called "Input Type", change that to "text" and it will act like a editable text box.

  • @htme51 That may be it. I typed the code in XML. Thanks.

  • @TheSiri66 i have the same problem. i think its because we have the newer version of eclipse.

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