Images rendered in the WEBP file format can be much smaller than JPG and PNG files, while retaining nearly all of the image's original clarity. I'll describe how to convert your images to the newer format in Android Studio.
- [Narrator] When you package your Android applications…for deployment, you create an APK file…and you'll always want to keep that…APK file as small as possible.…One of the biggest corporates in expanding the size…of the APK file is image files.…When you use unoptimized JPG files or PNG files,…sometimes they can be much larger than you really need…and you could optimize those just like you do for the Web,…but there's an even better way in Android.…You can instead convert those files to a format called WebP.…
This format, created by Google, retains the resolution;…the clarity of the image, but creates a much smaller file…and in Android Studio 2.3 and later,…it's very easy to convert your existing…image files to the WebP format.…I'll demonstrate in this simple application…that uses a number of image files.…From the opening screen, when I click Run Code…in this application, I'm taken to a listing…and right now, it's only showing four rows, but I've…provided a lot more image files that you can work with.…
Whenever I select one of these rows,…
Skill Level Intermediate
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.
Android App Development: Communicating with the Userwith Joe Marini1h 12m Intermediate
Building Android Apps with Cloud Serviceswith Albert Lo2h 37m Intermediate
Android App Development: Data Persistence Librarieswith Annyce Davis4h 52m Intermediate
New This Week:
1. Android Development Tips Weekly
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.