HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

Support Multiple Screen Sizes - Android Studio Tutorial

100,667 views April 12, 2020 8:20

Watch on YouTube
ChannelStevdza-San

Description from the creator

🏆 My Online Courses
⭐Discount Coupon: LAUNCH-STEVDZA-SAN
stevdza-san.com

🐱‍👤 Wanna become a member? Join!
youtube.com/channel/UCYLAirIEMMXtWOECuZAtjqQ/jo…

📸 Instagram
instagram.com/stevdza_san/


Android devices come in all shapes and sizes, so your app's layout needs to be flexible. That is, instead of defining your layout with rigid dimensions that assume a certain screen size and aspect ratio, your layout should gracefully respond to different screen sizes and orientations.By supporting as many screens as possible, your app can be made available to the greatest number of users with different devices, using a single APK.

And in this video I'm going to show you how your application can fit on different screen resolutions by creating layout files for each screen density.The pixel density is the number of pixels within a physical area of the screen and is referred to as dpi (dots per inch).

This is different from the resolution, which is the total number of pixels on a screen.To ensure that your layout is flexible and adapts to different screen sizes, you should use "wrap_content" and "match_parent" for the width and height of most view components, instead of hard-coded sizes.


Download Background Vector: bit.ly/3bmYeSK

About this tutorial

Stevdza-San published this 8:20 video tutorial on April 12, 2020. It has been watched 100,667 times on YouTube.

Category
Education
Duration
8:20
Published
April 12, 2020
Views
100,667
Likes
1,932

Tags

Share

This tutorial in other languages