I can\'t get my elements, for example ListView, to resize properly.
ListView
I got a ListActivity for searching, with a dashboard, an editbox and a
ListActivity
Adding the following at the end of onSizeChanged() will solve it:
onSizeChanged()
Handler handler = new Handler(); handler.post(new Runnable() { @Override public void run() { requestLayout(); } });
See the answer to this question: Views inside a custom ViewGroup not rendering after a size change