在main.xml中:
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
在MyPaintDemo.java中:
package com.li.paintproject;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.MenuItem;
import android.support.v4.app.NavUtils;
public class MyPaintDemo extends Activity {
@Override
public
void onCreate(Bundle savedInstanceState) {
super.onCreate