Android 按钮的背景不显示在AVD上

Android 按钮的背景不显示在AVD上,android,Android,我刚开始学习Android开发,并创建了一个示例项目。这只是一场真假博弈。AVD和phone中都只显示按钮文本。但在activity_main.xml的图形布局中,按钮可以正常预览。有人可以帮我配置吗 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="ma

我刚开始学习Android开发,并创建了一个示例项目。这只是一场真假博弈。AVD和phone中都只显示按钮文本。但在activity_main.xml的图形布局中,按钮可以正常预览。有人可以帮我配置吗

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:gravity="center"
      android:orientation="vertical" >

<TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:padding="24dp"
/>


<LinearLayout
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     android:orientation="horizontal" 
     android:weightSum="4"
>

<Button
    android:id="@+id/true_button"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/true_button" />

<Button
   android:id="@+id/false_button"
   android:layout_width="wrap_content"
   android:layout_height="wrap_content"
   android:text="@string/false_button" />



 </LinearLayout>


<Button
   android:id="@+id/next_button"
   android:layout_width="wrap_content"
   android:layout_height="wrap_content"
   android:text="@string/next_button" />

</LinearLayout>

请发布您的布局文件为什么使用weightsum?若并没有必要,那个么删除它并再次检查布局。我忘了删除weightsum。你的意思是在布局中要查找的特定内容吗?