ImageView displays an arbitrary image, such as an icon. The ImageView class can load images from various sources (such as resources or content providers), takes care of computing its measurement from the image so that it can be used in any layout manager, and provides various display options such as scaling and tinting. Here we

Change button states programmatically.

Monday, 05 August 2013 by

A button consists of text or an icon (or both text and an icon) that communicates what action occurs when the user touches it. A Button widget can exist in one of several different states (pressed, focused, or niether) and, using a state list drawable,  different background image can be provided for each state. Here

TOP