问题一:如何给界面背景添加图片
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="@drawable/first">
</LinearLayout>
在res/drawable-hdpi中添加first.jpg后,系统会自动在R.java中生成first。要与之对应。