java - Fixing Android apps size -


im made first little app on android.

i've been using android studio developing quite problem app designed fits 5.5" display. on other devices small or larger. don't know how make autosize according size of device.

is there way fix or there way make different apks different mobiles (according display sizes)

ps: there isn't picture in app. writing , calculations. kind of calculator beginners(me). :)

if dont have images on app, set layouts , views width (when needed) 'match_parent' instead of 'wrap_content' or fixed size.

set parent layouts height 'match_parent' , if have background fits screen, set too.

check reference of layoutparams values: http://developer.android.com/reference/android/view/viewgroup.layoutparams.html

if want add images go http://developer.android.com/guide/practices/screens_support.html , try understand concepts of densities independence , supporting multiple devices.


Comments

Popular posts from this blog

What Are The Best Universities In The World?

Hard vs. Soft Water: What's The Difference?

Why People Get Naked Before Freezing To Death