我想为Android创建一个全屏幕标题。 我创建了70 * 480像素的图像(& 9patch)。 我该怎么办? 我尝试使用银河标签..但它不会水平填充屏幕。 这是代码:标题android 9patch
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:foo="http://schemas.android.com/apk/res/aaa.bbb"
android:id="@+id/db1_root"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/background">
<ImageView
android:src="@drawable/header"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="top"
>
</ImageView>
在此先感谢。