나에게 많은 골칫거리를주고있는 안드로이드 버그를 발견했습니다. 매니페스트에onConfigurationChanged를 사용한 SlidingDrawer 회전
활동 :
<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>
이제
가 .. 서랍의 손잡이를 잡고, 중간으로 이동하고 유지 장치를 돌리는 동안 손가락이 ...
서랍 치수는 모두 열렸습니다 ... 완전히 열리기 전까지.
누군가가 그것을 해결하는 방법의 ideia이있다? SlidingDrawer 시작 코드를 열어 볼 때 왜 괜찮아 지는지 확인하려고합니다. 그러나 아직 행운은 없습니다.
나는 서랍 슬라이딩 함께 일한 적이 내가 옵트 인 할 지금 기꺼이 옵션 ...
거기에 있었으므로. – neteinstein