in meinem Home-Bildschirm habe ich ein Bild als Hintergrund eingestellt, und legen Sie drei Bild-Taste auf dieses Hintergrundbild unten im Layout. es (Drei Bild-Taste) scheint perfekt in 480x854 Bildschirm Gerät, aber nicht in 240x320 Bildschirmgröße des Geräts. Mein XML-Layout, das ich verwende ist:Android Device ScreenSize Problem
<?xml version="1.0" encoding="UTF-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/inscreen">
<ImageView android:id="@+id/clip"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_alignParentBottom="true"
android:layout_marginBottom="95dip"
android:layout_gravity="bottom|center"
android:src="@drawable/selector"/>
<ImageView android:id="@+id/catagoryvid"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_alignParentBottom="true"
android:layout_marginBottom="55dip"
android:layout_gravity="bottom|center"
android:src="@drawable/selector1"/>
<ImageView android:id="@+id/search"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_alignParentBottom="true"
android:layout_marginBottom="15dip"
android:layout_gravity="bottom|center"
android:src="@drawable/selector2"/>
</FrameLayout>
Irgendwelche Hilfe?
Danke.
Fügen Sie Ihre XML-Layout-Details für mehr Verständnis hinzu. – Sandy