私のアプリは、左から右へのアクティビティの 3 つのフラグメントで構成されています。ユーザーはスライド式の引き出しのように左右にアニメーション化できます。これは、MapFragment が表示されている場合を除き、すべての場合で完全に機能します。
どちらの場合も、MapFragment は既に TabHost でインスタンス化されていますが、2 番目の画像に表示されています。
プログラムで多くのディメンションを設定しましたが、これが役立つ場合の基本的なビュー階層です。
<xxxx.xxxx.WideLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/frag_container"
android:layout_width="900dp"
android:layout_height="match_parent"
android:orientation="horizontal" >
<LinearLayout
android:id="@+id/left_menu"
android:layout_width="0dp"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@drawable/login_blackboard" >
<fragment
android:id="@+id/left_list"
android:name="xxxx.xxxx.MenuFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:tag="MENU" />
</LinearLayout>
<LinearLayout
android:id="@+id/middle_menu"
android:layout_width="0dp"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</LinearLayout>
</LinearLayout>
<fragment
android:id="@+id/frag_action"
android:name="xxx.xxxx.ActionFragment"
android:layout_width="0dp"
android:layout_height="match_parent" />
</xxxx.xxxx.WideLayout>
アニメーションの後、マップをその範囲内に保つための提案はありますか?