Create an java android application fulfilling the following requirements: 1.1. Design Options Menu as shown in Figure 1. 1.2. When Settings option is selected from options menu in Activity 1, Open...


Create an java android application fulfilling the following requirements:



1.1.
Design Options Menu as shown in Figure 1.



1.2.
When Settings option is selected from options menu in Activity 1, Open Settings Activity Shown in Figure 2. In Settings Activity Save Age Unit and Color in Shared Preferences.



1.3.
When Button “Calculate Age” is clicked, Calculate the age according to the Unit Saved in SharedPrefernces and show the value in the Fragment right below the Calculate Age Button, Color of the value must also be the same as saved in sharedPreferences.



Мy App<br>: About<br>Мy App<br>Contact<br>Birth Date:<br>Settings<br>Age Unit<br>12-20-1970<br>Calculate Age<br>Days<br>Days<br>Months<br>Age in Days<br>Years<br>Color<br>6540<br>Red<br>Red<br>Green<br>Save<br>Blue<br>Figure 1: Activity 1<br>Figure 2: Settings Activity<br>

Extracted text: Мy App : About Мy App Contact Birth Date: Settings Age Unit 12-20-1970 Calculate Age Days Days Months Age in Days Years Color 6540 Red Red Green Save Blue Figure 1: Activity 1 Figure 2: Settings Activity

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here