This course includes exercise files that you can use to follow along with the demonstrations. Each folder contains an Android Studio project that you can open in Android Studio 2.3 or later.
- [Instructor] This course is accompanied by exercise files that you can use to follow along with the demonstrations on screen. I've copied the exercise files to my desktop, but you can place them anywhere on disk. The exercise files are organized by chapter. Each chapter contains sub-folders that have beginning Android Studio Projects. Each Android Studio Project is marked by a certain set of files and directories. For example, you'll always see a build.gradle file and you'll always see an app directory and that app directory is what's known as an Android Studio Project module.
In order to use these projects, you'll need to be working with Android Studio and at least with Android Studio 2.3 Beta 3. If at the time you watch this course, you have access to the final release of Version 2.3 or later, you can watch the course with that version. Otherwise, you can go to the Android Studio Project Site at tools.android.com/recent and follow the links to download the version of Android Studio that you want. For example, the version I'm using, Android Studio 2.3 Beta 3, is listed here and from there, you can click a link and you can find downloads for the various versions that you'll need.
In order to open any of these projects, start at the Android Studio Welcome screen and click Open an existing Android Studio project. If you've placed your exercise files on the desktop as I have, you can press ctrl d on Windows or command d on Mac and that'll take you to the desktop and from there, you can drill down and find an Android Studio project to work with. The Android Studio Project directories are marked with the Android Studio icon. After clicking okay, you'll open the project. If you're working with a more recent version of Android Studio than I am, you'll be prompted to upgrade certain components such as the gradile plug-in.
Accept all the prompts and follow any directions to download components you might not already have installed on your development system. After you've done that work for the first project, the work should go a lot faster for subsequent projects. In most videos, I start with the Project window open and with certain files open. You can get to these files easily by pressing the shift key twice and that opens the Search Everywhere dialog. From there, you can type the beginning of the file name such as Main activity or activitymain.xml.
If you open a .xml layout file and it doesn't look like this, if instead, you see .xml code, just click the Design tab at the bottom of the screen. If you see any errors such as I'm seeing here, in most cases, you can ignore them, but if you want to refresh the screen, change the orientation and that should refresh and rebuild the visual presentation of the .xml layout file. In addition to the beginning projects, I've also provided a set of solution projects. These are under the Solutions directory and in most cases, there are projects that have exactly the same names, but where the code is finished.
Finally, there's an Assets directory that contains a set of images. I'm only using one of the images here, but I've provided all of the images that go with this asset set so you can try different images as you build your own Android applications' user interface.
- Using View components
- Exploring the design repository
- Using the new ConstraintLayout component
- Adding views to a ViewGroup with Java
- Manage string values as resources
- Working with TextView, EditText, and TextInputLayout
- Displaying toast and Snackbar messages
- Defining and applying styles
- Using material design components
- Managing image display with Picasso