Answers

1. True. The TextView class, with its familiar attributes and methods, such as getText() and setText(), is the base class of the EditText class.

2. A and C. There are two button controls in Android: Button is a simple button with a text label. ImageButton is a button with a Drawable graphic label.

3. False. The only types supported by SharedPreferences are Boolean, float, int, long, and String. To save dates or times, consider storing them as long values (milliseconds from epoch).

0 0

Post a comment