Android TextView Widget (Elon Video 003A)

Loading...

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

Uploaded by on Apr 11, 2009

Video focuses on the creation of four TextView widgets using res/layout/main.xml to show various attributes that can be set. Video shows use of res/values/strings.xml to provide text size, colors and text for TextView widgets.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (ElonCsProf)

  • The NEWLINE is just a convenience for when I want to add a new line character to the String buttonText that I build up to display on the Toast.

    The private TextView mBoldTextView is the declaration of a variable mBoldTextView of type TextView. This variable will be assigned a reference to the TextView with the id bold specified in the layout/main.xml file.

    m is prefix used in the Android coding conventions for private data members of a class.

see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • im finding your videos very helpful but its impossible to read the text, do you have source code posted anywhere?

  • What does the ' private static final String NEWLINE = "\n" ' do?

    Also when you write ' private TextView mBoldTextView; ' are you creating a new item which is the textview?

    What is the m for?

    Just needed a bit of justification.

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