I\'m trying to dynamically adjust the height of my rows depending on the (screen height - my layout height) / list.size.
Unfortunately in the onCreate m
onCreate
You have to wait until layout happens, which is after onCreate(). You can do so by listening to onSizeChanged() on a View or by posting a Runnable from onCreate() (myView.post(new Runnable() { ... })).
onCreate()
onSizeChanged()
onCreate() (myView.post(new Runnable() { ... }))