Warning "requestLayout() improperly called" in LogCat
Provides a sidebar, which can be shown in front of a main content.
Brought to you by:
mrapp
When the attribute "contentMode" is set to RESIZE, warnings like the ones shown below are occuring in the LogCat output:
09-23 14:04:00.752: W/View(9230): requestLayout() improperly called by de.mrapp.android.sidebar.view.ContentView{418a7fd8 V.E..... ......I. 0,0-1024,1342} during second layout pass: posting in next frame
09-23 14:04:00.762: W/View(9230): requestLayout() improperly called by de.mrapp.android.sidebar.view.ContentView{418a7fd8 V.E..... ......ID 0,0-1024,1342} during layout: running second layout pass
The warnings are caused by the line "contentView.requestLayout();" in the onLayout-method of the class Sidebar.java. This method call is necessary to refresh the layout of the content view, depending on its current size.