初次提交
This commit is contained in:
BIN
第2章 游戏开发基础知识/Sample2_7/res/drawable-hdpi/icon.png
Normal file
BIN
第2章 游戏开发基础知识/Sample2_7/res/drawable-hdpi/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.0 KiB |
BIN
第2章 游戏开发基础知识/Sample2_7/res/drawable-ldpi/icon.png
Normal file
BIN
第2章 游戏开发基础知识/Sample2_7/res/drawable-ldpi/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
BIN
第2章 游戏开发基础知识/Sample2_7/res/drawable-mdpi/icon.png
Normal file
BIN
第2章 游戏开发基础知识/Sample2_7/res/drawable-mdpi/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
53
第2章 游戏开发基础知识/Sample2_7/res/layout/main.xml
Normal file
53
第2章 游戏开发基础知识/Sample2_7/res/layout/main.xml
Normal file
@@ -0,0 +1,53 @@
|
||||
<?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:text="文件IO--读取Assets文件"
|
||||
android:layout_width="fill_parent"
|
||||
android:textSize="16dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
/>
|
||||
<LinearLayout
|
||||
android:id="@+id/LinearLayout01"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:text="文件名:"
|
||||
android:textSize="18dip"
|
||||
android:id="@+id/TextView01"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
</TextView>
|
||||
<EditText
|
||||
android:text="AndroidIO.txt"
|
||||
android:id="@+id/EditText01"
|
||||
android:singleLine="true"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
</EditText>
|
||||
<Button
|
||||
android:text="打开文件"
|
||||
android:id="@+id/Button01"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
</Button>
|
||||
</LinearLayout>
|
||||
<ScrollView
|
||||
android:id="@+id/ScrollView01"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
<EditText
|
||||
android:text=""
|
||||
android:id="@+id/EditText02"
|
||||
android:editable="false"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
</EditText>
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
5
第2章 游戏开发基础知识/Sample2_7/res/values/strings.xml
Normal file
5
第2章 游戏开发基础知识/Sample2_7/res/values/strings.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="hello">Hello World, Sample3_3_Activity!</string>
|
||||
<string name="app_name">Sample2_7</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user