Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
实验4
  • Loading branch information
pilimachao committed Jun 16, 2016
1 parent 5e545c8 commit f7250d0
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package com.example.playinggame;
package com.example.meimei;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

public class Com1314080901238ctivity extends Activity {
public class Com1314080901238Activity extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_com1314080901238ctivity);
setContentView(R.layout.activity_com1314080901238);
}


Expand Down
Binary file added app/src/main/res/drawable-hdpi/base_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions app/src/main/res/layout/activity_com1314080901238.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<RelativeLayout 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: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=".Com1314080901238Activity"
android:background="@drawable/base_bg"
>


<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="开始游戏"
android:id="@+id/button"
android:textSize="30dp"
android:textColor="#FFFFFF"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="149dp"
android:background="#00000000"/>

<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="结束游戏"
android:id="@+id/button2"
android:textSize="30dp"
android:textColor="#FFFFFF"
android:layout_below="@+id/button"
android:layout_centerHorizontal="true"
android:layout_marginTop="101dp"
android:background="#00000000"/>



</RelativeLayout>
18 changes: 0 additions & 18 deletions app/src/main/res/layout/activity_com1314080901238ctivity.xml

This file was deleted.

0 comments on commit f7250d0

Please sign in to comment.