私はそれがここで吸うプラグインだと思います。日食でランドスケープビューに切り替えると、次のようなことが起こります。 http://img718.imageshack.us/img718/1239/landscape1je.jpgランドスケープビューの問題(レイアウトのデバッグ方法)
もちろん、典型的な4インチの画面は気にしません。したがって、ScrollViewがどのように動作しているかを確認する方法はありません。
私はアプリを電話に送信します。そしてここにトラブルがあります。私が電話を景観に向けると、私はこれを得る: http://imageshack.us/photo/my-images/718/landscape3x.jpg/
これは私が得ることができる最も上のスクロールです。この画像はスクロール可能領域を示しています: http://img849.imageshack.us/img849/2774/landscape2y.jpg
これは私のXMLコードです。私は、tryやミスが、すべての時間が非常に長いことになります携帯電話にアプリを送信すること、通常の方法をするでしょう:/たぶん私は速くここ
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_gravity="center"
android:layout_margin="30dip"
android:orientation="vertical" >
<LinearLayout
android:id="@+id/linearLayout1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center" >
<Button
android:id="@+id/add_income"
android:layout_width="120dip"
android:layout_height="120dip"
android:layout_margin="15dip"
android:drawableTop="@drawable/icon_income"
android:text="@string/income" >
</Button>
<Button
android:id="@+id/add_expense"
android:layout_width="120dip"
android:layout_height="120dip"
android:layout_margin="15dip"
android:drawableTop="@drawable/icon_expense"
android:text="@string/expense" >
</Button>
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayout2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center" >
<Button
android:id="@+id/categories"
android:layout_width="120dip"
android:layout_height="120dip"
android:layout_margin="15dip"
android:drawableTop="@drawable/icon_category"
android:text="@string/categories" >
</Button>
<Button
android:id="@+id/summary"
android:layout_width="120dip"
android:layout_height="120dip"
android:layout_margin="15dip"
android:drawableTop="@drawable/icon_summary"
android:text="@string/summary" >
</Button>
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayout1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center" >
<Button
android:id="@+id/charts"
android:layout_width="120dip"
android:layout_height="120dip"
android:layout_margin="15dip"
android:drawableTop="@drawable/icon_charts"
android:text="@string/charts" >
</Button>
<Button
android:id="@+id/bug_list"
android:layout_width="120dip"
android:layout_height="120dip"
android:layout_margin="15dip"
android:drawableTop="@drawable/icon_bug"
android:text="@string/bugs" >
</Button>
</LinearLayout>
</LinearLayout>
このXMLをランドスケープ用に個別に設計し、レイアウトランドフォルダに配置しましたか?そして、ええ、あなたは通常のように、スクロールをテストすることができます - ちょうどスクロールします。それは私のために働いています。 – Ghost
最初の画像リンクは機能しません... – WarrenFaith
私はそれを別に設計しませんでした。私はこれについて知らなかった。最初の画像が示すように(私はリンクを修正しました)、スクロールするものは何もありません。 –