Bild-Vollbild in android
Meine Bildansicht ist, füllen die maximale Größe horizontal, wenn sich das Telefon im vertikalen Modus. Aber wenn ich die Verschiebung auf horizontal-Modus meine Bildansicht entspricht nicht pthe arent. Ich muss das Bild erweitert werden, um die Grenzen des Bildschirms.
Was mache ich falsch?
Mein xml:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:orientation="vertical">
<ScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="5dp">
<ImageView
android:id="@+id/picture"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:src="@drawable/keks1"
/>
Du musst angemeldet sein, um einen Kommentar abzugeben.
set Bildansicht Hintergrund nicht src.
set Bildansicht Hintergrund. für weitere Informationen überprüfen Sie die http://androiddesk.wordpress.com/