Measure all view hierarchy before drawing in Android
问题 I have next view hiererchy: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingLeft="10dp" android:paddingRight="10dp" android:gravity="center"> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/group_bg" android:gravity="center_vertical" android:baselineAligned="false"> <LinearLayout android:id="@+id/itemplace" android