This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Displays an image, such as an icon. | |
*/ | |
public class ImageView extends View { | |
// Resource ID for the source image that should be displayed in the ImageView. | |
private int mImageId; | |
// Context of the app | |
private Context mContext; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Displays text to the user. | |
*/ | |
public class TextView extends View { | |
// String value | |
private String mText; | |
// Text color of the text | |
private int mTextColor; |