Android Views Not Scaling On Different Sized Devices October 13, 2022 Post a Comment I am using eclipse I have views with images and buttons with their width and height set in dp: Solution 1: If you really need it to have a certain aspect ratio, you should definitely consider using weights. If there are two buttons in a linear layout parent, with both weight 1, they will both take up 1/2 the width of the screen proportion of button relative to screen = (view_weight/(total_weights of all views) Take a look here: http://blog.stylingandroid.com/archives/297Baca JugaIssue With Viewport Meta TagAndroid, Webview.getwidth() == Window.innerwidthCenter Crop An Android Videoview Otherwise, DP is correct. Share You may like these postsAndroid Maven Project In Eclipse With ApklibRetrofit 2 404 Not FoundUpload Image From Android Phonegap To A Server Using AsmxAndroid 1.6 & Fragment & Tabhost Post a Comment for "Android Views Not Scaling On Different Sized Devices"
Post a Comment for "Android Views Not Scaling On Different Sized Devices"