1
中的所有按钮我试图显示两个按钮和一个标题栏的标题文本。这些全部都与背景图像一起放置。但我只能看到背景图像和其他按钮,标题栏和文本。以下是我的活动的布局。backgroundimage隐藏在我的应用程序中的Android应用程序
这里我已经表示背景imageView id为bgd。
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<ImageView android:id="@+id/bgd"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:src="@drawable/startingpage">
</ImageView>
<LinearLayout android:id="@+id/linearLayout1"
android:layout_height="wrap_content"
android:layout_width="match_parent">
<ImageView android:id="@+id/title"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:src="@drawable/applicationbar">
</ImageView>
<TextView android:id="@+id/titletext"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_marginTop="2dip"
android:layout_gravity="center"
android:layout_marginLeft="80dip">
</TextView>
</LinearLayout>
<ImageButton android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="50dip"
android:layout_marginLeft="20dip"
android:id="@+id/add"
android:src="@drawable/addrestingspot">
</ImageButton>
<ImageButton android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dip"
android:layout_marginLeft="20dip"
android:id="@+id/search"
android:src="@drawable/search">
</ImageButton>
</LinearLayout>
,请告诉我,我错了.....