Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Manage view sizes on different screens

I want to make my view Responsive, look at following images.

enter image description here

enter image description here

1st Image is what it should ideally look. But when I change the screen size, it changes the size and alignment. I want fixed size views over all screens.

like image 783
Akash Patil Avatar asked Nov 16 '25 06:11

Akash Patil


1 Answers

You should follow Step by Step approach .

Android runs on a variety of devices that offer different screen sizes and densities. For applications, the Android system provides a consistent development environment across devices and handles most of the work to adjust each application's user interface to the screen on which it is displayed.

Read Supporting Multiple Screens .

To optimize your user experience on different screen sizes, you should create a unique layout XML file for each screen size you want to support.

  • Read official guideline about Supporting Different Screens .
  • Read Build a Responsive UI .
like image 175
IntelliJ Amiya Avatar answered Nov 18 '25 18:11

IntelliJ Amiya