ImageView
画面を左と右の2つの領域に分割しようとしていScrolView
ます。ImageView
ScrollViewのコンテンツをプログラムで追加しているので、レイアウトのxmlファイルは次のようになります。
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<FrameLayout
android:id="@+id/scene_view"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_gravity="left"
>
</FrameLayout>
<ScrollView
android:layout_height="fill_parent"
android:layout_width="@dimen/scrollmenu_width"
android:layout_gravity="right"
>
<LinearLayout
android:id="@+id/scrollmenu"
android:layout_height="fill_parent"
android:orientation="vertical"
android:layout_width="fill_parent"
>
</LinearLayout>
</ScrollView>
</FrameLayout>
私は何が間違っているのですか?ScrollView
右に向かっているのですが、ImageView
中央(画面に対して)が画面の左側に配置されているためです。画像の解像度が画面の解像度を超えているため、黒のspが表示されます