我有下面的布局,当我点击一个按钮会加载一个新的图像。当加载图像时,activity的背景是黑色的。如何把这个背景色变成白色的呢?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:id="@+id/LinearLayoutChart" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" android:background="#ffffff" android:orientation="vertical">
<LinearLayout android:id="@+id/linearLayout1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="0">
<Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/fiveDayChartButton" android:background="@drawable/fiveday"></Button>
<Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/threeMonthChartButton" android:background="@drawable/threemonth"></Button>
<Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/sixMonthChartButton" android:background="@drawable/sixmonth"></Button>
<Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/ytdChartButton" android:background="@drawable/ytd"></Button>
<Button android:layout_width="wrap_content" android:id="@+id/oneYearChartButton" android:layout_height="wrap_content" android:background="@drawable/oneyear"></Button>
<Button android:layout_height="wrap_content" android:id="@+id/fiveYearChartButton" android:layout_width="wrap_content" android:background="@drawable/fiveyear"></Button>
</LinearLayout>
<ImageView android:id="@+id/chartImageViewLandscape" android:layout_height="fill_parent" android:layout_width="fill_parent" android:layout_weight="1"></ImageView>
</LinearLayout>