Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In this application you need to display a list of at least 5 sites you are inter

ID: 3735907 • Letter: I

Question

In this application you need to display a list of at least 5 sites you are interested.

The UI should be similar to Figure 1.

Feel free to improve the design of the interface.

1. Display the list of sites instead of Data-0 at each row.

2. Instead of displaying “Position: 6, Data: Data-6” at the top textview, display the title of your app.

When the user clicks on one of them a second screen appears showing two buttons. The first button “Map it” display a location map of the selected place, the second button “More

Info” takes the user to the site’s webpage.

Position: 6 Data: Data-6 Data-0 Data-1 Data-2 Data-3 Data-4 Data-5 Data-6 Data-7

Explanation / Answer

Here Is Code:

MainActivity.java

This Activity contains your main screen like listview with 5 sites.

This is layout file for this list:

activity_main.xml

This is second screen that displays two buttons like "map It" and "more Info"

SecondScreen.java

This is layout file for Secondscreen.

activity_second_screen.xml

And this is toolbar for your app

toolbar.xml

Note That : your SecondScreen.java must be register in manifest file

Like this