This app demonstrates picture display and output, click on picture:
| Strings | app/res/values/strings.xml |
| Screen format | app/res/layout/activity_main.xml |
| Code for app | app/java/com.(the project name)/MainActivity |
app/res/drawable - pictures
There are two images moved into here. One is called star.png and is a red filled-in star. The other is called empty.png and is an empty star. Both are the same size and are 400x400 pixels.
app/res/mipmap/ic_launcher.png/ - icon for launching app
An image called ic_launcher.png is moved into all 5 versions of ic_launcher.png. It involves overwriting what's there already. (In fact I just used a copy of star.png but with a black background rather than a white one.)
app/res/values/strings.xml - strings
app/res/layout/activity_main.xml - screen format
app/java/com.(the project name)/MainActivity - main code for app
© Jo Edkins 2016