Android 抽屉式Activity
2012-07-17 14:06:29 来源:WEB开发网核心提示: <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="I hate working 公子白" andr
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="I hate working 公子白"
android:textColor="#ffffff"
android:textSize="19sp" />
</LinearLayout>
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="I hate working 公子白"
android:textColor="#ffffff"
android:textSize="19sp" />
</LinearLayout>
<WebView
xmlns:android="android.com/apk/res/android">http://schemas.android.com/apk/res/android"
android:id="@+id/webView1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginTop="40dip" />
xmlns:android="android.com/apk/res/android">http://schemas.android.com/apk/res/android"
android:id="@+id/webView1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginTop="40dip" />
</RelativeLayout>
------------------------------.主JAVA
package slidre.co.cc;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.graphics.Canvas;
import android.os.Bundle;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.WindowManager;
import android.view.animation.Animation;
import android.view.animation.Animation.AnimationListener;
import android.view.animation.TranslateAnimation;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.RelativeLayout.LayoutParams;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.graphics.Canvas;
import android.os.Bundle;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.WindowManager;
import android.view.animation.Animation;
import android.view.animation.Animation.AnimationListener;
import android.view.animation.TranslateAnimation;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.RelativeLayout.LayoutParams;
更多精彩
赞助商链接