Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
wxuanguang committed Jun 16, 2016
1 parent 3fc7bfe commit 61201eb
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="edu.hzuapps.androidworks.MainActivity">

<Button
android:id="@+id/button_activitybasic"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Activity 基本用法"/>

<Button
android:id="@+id/button_viewbasic"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="View 基本用法"/>

<Button
android:id="@+id/button_fragmentdemo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Fragment 功能演示"/>

<Button
android:id="@+id/button_servicedemo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Service 功能演示"/>

<Button
android:id="@+id/button_broadcastdemo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Broadcast 功能演示"/>

<Button
android:id="@+id/button_contentprovidedemo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="ContentProvider 功能演示"/>

<Button
android:id="@+id/button_viewdemo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="各种布局及界面演示"/>

<Button
android:id="@+id/button_random"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="随机看一位同学的作业"/>

</LinearLayout>

0 comments on commit 61201eb

Please sign in to comment.