# imagebutton1 **Repository Path**: Kaili-chen/imagebutton1 ## Basic Information - **Project Name**: imagebutton1 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-22 - **Last Updated**: 2021-11-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Experiment 2: Image Button ### 1. Description The aim of this project is to get you familiar with designing Android screens using layouts, widgets and/or the webview. This project should be done on Android Studio and each student should do the project by themselves. You may discuss the projects with other classmates but each student will submit their own code for the project. Android Studio should already be installed on your computer or laptop. ### 2. Experiment instructions * Fork the Flag repository from Gitee * git clone the forked repository * Open the cloned repository by Android Studio * Modify the code to meet the following requirements: * The screen below explores clickable images. There are 3 clickable images arranged on the top row of the app screen. You can use any 3 images of your choice for this app (e.g. off the Internet). Your program keeps a running total of how many times you have clicked on each image and displays this running total in boxes below the images as shown. Initially, all 3 totals are 0. So for instance, for picture 1, the initial message should be "You have pressed picture 1 0 times". Each time a picture is pressed, increment the counter and display the corresponding updated message. ![avatar](problem2.jpg) * Push the modified code to your forked repository. ### 3. Write a experiment report and submit it to Ketangpai. ### 4. Note * The original Image Button project in Gitee is just a hello world project that was created by Android Studio 4.1.2. If you use another version of Android Studio, the original project may not work properly. In that case, you could delete all the files of the original project, then create a new hello world project by yourself and copy the new hello world project to replace the original project.