Android layout 安卓布局不显示;背景改变

Android layout 安卓布局不显示;背景改变,android-layout,Android Layout,我试图在现有项目的基础上构建我的项目。然而,我发现无论我在布局xml中构建什么,它都不会在屏幕上显示任何内容 即使是最简单的布局: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical">

我试图在现有项目的基础上构建我的项目。然而,我发现无论我在布局xml中构建什么,它都不会在屏幕上显示任何内容

即使是最简单的布局:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">         
<TextView android:id="@+id/status_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:background="@color/transparent"
android:text="@string/msg_default_status"
android:textColor="@color/status_text"
android:textSize="14sp"/>
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Button"
android:onClick="aaaaa" />
</LinearLayout>
布局在eclipse中的图形布局上显示OK,按钮和文本视图位于正确位置,黑色背景作为整体背景;但是当我在模拟器上运行它时,这个页面只显示一个白色的屏幕,而不是黑色的屏幕,除了标题之外,屏幕上什么都没有;更重要的是,如果我尝试加载原始主布局,即

setContentView(R.layout.OriginalMainLayout);

我已经将android.intent.action.main更改为清单中的正确位置,它仍然给了我一个白色屏幕。我如何解决它?

试着从最简单的布局中删除行android:layout_gravity=bottom | center_horizontal。@Neoh我试着删除了这一行,但什么也没发生。
setContentView(R.layout.OriginalMainLayout);