Click here to Skip to main content
15,912,400 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I am doing a function, when user clicks it needs to display a popup image.
My phone resolution was 480X854 pixels,
When i put to other android phones like low version, its mismatching.
Can you guide me please.

Thanks in Advance,
Posted

1 solution

You can try giving your popup container width in percentage like 100% and padding in px according to your scenario.

.popup_container_example{
 width:100%;
 padding:15px;
 /* your code to suit your scenario*/
}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900