WEB开发网
开发学院手机开发Android 开发 Android Server类 阅读

Android Server类

 2010-10-19 20:17:26 来源:WEB开发网   
核心提示:20. android:layout_width="fill_parent"21. android:layout_height="wrap_content"22. android:text="@string/button2_label"23. />24.

20. android:layout_width="fill_parent"

21. android:layout_height="wrap_content"

22. android:text="@string/button2_label"

23. />

24. < /LinearLayout>

< ?xml version="1.0" encoding="utf-8"?> < LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > < TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/hello" /> < Button android:id="@+id/button1_id" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/button1_label" /> < Button android:id="@+id/button2_id" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/button2_label" /> < /LinearLayout>

view plaincopy to clipboardprint?

1. < ?xml version="1.0" encoding="utf-8"?>

2. < resources>

3. < string name="hello">Hello World, AppServer!< /string>

4. < string name="app_name">AppServer< /string>

5. < string name="button1_label">start< /string>

6. < string name="button2_label">stop< /string>

7. < /resources>

< ?xml version="1.0" encoding="utf-8"?> < resources> < string name="hello">Hello World, AppServer!< /string> < string name="app_name">AppServer< /string> < string name="button1_label">start< /string> < string name="button2_label">stop< /string> < /resources>

view plaincopy to clipboardprint?

1. < ?xml version="1.0" encoding="utf-8"?>

2. < manifest xmlns:android="http://schemas.android.com/apk/res/android"

3. package="my.android.AppServer"

上一页  1 2 3 4 5  下一页

Tags:Android Server

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接