私は私に多くの頭痛を与えているAndroidのバグを見つけました。
マニフェストでの活動:
<activity
android:name=".ActivityTest"
android:configChanges="orientation"
android:label="@string/app_name" />
レイアウト:
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="TEST" />
<SlidingDrawer
android:id="@+id/drawer"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:content="@+id/content"
android:handle="@+id/handle"
android:orientation="vertical" >
<ImageView
android:id="@id/handle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:src="@drawable/ic_launcher" />
<LinearLayout
android:id="@id/content"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<Button
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:text="Big Big Button" />
</LinearLayout>
</SlidingDrawer>
次に、引き出しのハンドルをつかみ、中央に移動して、デバイスを回転させている間、指を維持します。
引き出しの寸法はすべてねじ込まれます...完全に開くまで。
誰かがそれを修正する方法のアイデアを持っていますか?SlidingDrawerのオープニングコードを調べて、開いたときに問題がない理由を確認しようとしていますが、まだ運がありません。
自分でローテーションを処理しないことは、今すぐオプトインするオプションではありません...