初次提交
This commit is contained in:
43
第2章 游戏开发基础知识/Sample2_2/res/layout/main.xml
Normal file
43
第2章 游戏开发基础知识/Sample2_2/res/layout/main.xml
Normal file
@@ -0,0 +1,43 @@
|
||||
<?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:gravity="center"
|
||||
android:text="简单音乐播放器"
|
||||
/>
|
||||
<Button
|
||||
android:text="播放音乐"
|
||||
android:id="@+id/Button01"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
</Button>
|
||||
<Button
|
||||
android:text="暂停播放"
|
||||
android:id="@+id/Button02"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
</Button>
|
||||
<Button
|
||||
android:text="停止播放"
|
||||
android:id="@+id/Button03"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
</Button>
|
||||
<Button
|
||||
android:text="增大音量"
|
||||
android:id="@+id/Button04"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
</Button>
|
||||
<Button
|
||||
android:text="减小音量"
|
||||
android:id="@+id/Button05"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
</Button>
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user