Free Android app covering all aspects of addiction, including prevention and treatment

Throw your weight around Linear layouts support a layout_weight attribute. We can use the weight attribute to allocate a portion of the layout’s space to a view, depending on its weight. All views have a default weight of 0. You can set a weight attribute using a float value for…
Softly, softly. Using Android’s soft keyboard: A tutorial In the introduction, we covered the basics of using soft keyboards.  If you haven’t read it yet, you’ll find it here: Android’s soft keyboard. An introduction. In this tutorial, we’ll show you how to use the soft keyboard in your apps.
Softly, softly. Using Android’s soft keyboard: An introduction Need to capture text input in your app? Android supports an on-screen soft keyboard as well as attached hardware keyboards. The soft keyboard appears when a text field is in focus and disappears when it’s out of focus. The keyboard positions itself…

Localizing your resources

Keeping it local Android apps can be installed on devices around the world. If you want to distribute your app to this large market, then you should provide alternative resources such as text, sound and images. Android makes it easy to include alternative strings, sound files, layouts and images so…

Android's SeekBar: a tutorial

Using a SeekBar to change the size of text in a TextView Seek Bars are like Progress Bars, with a slight difference. The user determines the progress by moving a slider. We’ll show you how to use a SeekBar to change the size of text in a TextView.