You are now on day 7 of 100 days android app development challenge for beginners. I hope you are having fun with the previous challenges. Remember you can ask question related to each challenge whenever you feel hooked to a task.
Aim of this Challenge
This is to help you understand how to create an ImageView in activity layout file and also use button view to show and hide the ImageView.
Day 7 Challenge is on Android ImageView
Today’s android challenge is to write an android application that contains a single ImageView and a Button
Display an image using ImageView
Use Button click even to show and hide the display image.
1. On app launch, the launch activity page will appear on the screen with an image and button
2. When a user click on the button if the image is showing hide the image but if the image is hidden show the image.
What happens when you are done?
Like I said in the instruction, you can host your solution in Github, bucket or Pastebin and share the link in the comment section with everybody.
I usually go through each link and let the own know where to improve or modify if need be.
What if I have a question during a challenge?
We are all here to learn and improve. Feel free to ask questions that are related to the task in question. There are many people out there that will help your out.
Why should I take part in this challenge?
If you want to improve and get better with your android development knowledge and skill as a beginner this might be a right decision for you.
This will also give you the opportunity to connect to like-mind android developers around the world.
What about having a sample solution?
I have created a sample solution to all the task we will complete in the next 100 days but since we are challenging ourselves, the solution to the tasks will be made available for download at the end of the 100 days.
Now is time to start
If you are high in spirit and motivated then hit the start button of your android IDE.