我已經在我的Android應用程序增加了一個ImageView的。在應用程序標題欄(顯示應用程序名稱的欄)下顯示了一半圖像,而不是顯示在應用程序標題欄下方。這裏是我的代碼:ImageView的顯示,而不是在它下面
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".TopLevelActivity">
<ImageView
android:layout_width="200dp"
android:layout_height="100dp"
android:src="@drawable/logo"
android:contentDescription="@string/logo" />
<ListView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/list_options"
android:entries="@array/options"/>
它沒有工作。 :( – dexbyte