Skip to content

Commit

Permalink
hzuapps#2 hzuapps#405 第2次实验
Browse files Browse the repository at this point in the history
  • Loading branch information
1814080911138 committed Oct 25, 2020
1 parent 4b6658d commit a76b5f8
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 4 deletions.
16 changes: 16 additions & 0 deletions students/sec1814080911138/AboutActivity.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package com.example.pomelo_note;

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

import androidx.appcompat.app.AppCompatActivity;

public class AboutActivity extends AppCompatActivity {

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


25 changes: 25 additions & 0 deletions students/sec1814080911138/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.example.pomelonote">

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".AddAcitivity"></activity>
<activity android:name=".CostBean" /></activity>
<activity android:name=".Sec1814080911138Activity"</activity>
<activity android:name=".HelpActivity"></activity>
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>

</manifest>
20 changes: 16 additions & 4 deletions students/sec1814080911138/Sec1814080911138Activity.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
edu.hzuapps.androidlabs.sec1814080911138.Sec1814080911138Activity.java
package com.example.pomelonote

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import java.util.List;
import android.widget.Toast;
import android.widget.DatePicker;
importimport android.view.Menu; android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;

public class MainActivity{

private List < CostBean > mCostBeanList;
mCostBeanList = new ArrayList<>();
ListView costList = (ListView) findViewById(R.id.lv_main);

public class Sec1814080911138Activity{

public static void main(String[ ] args){
System.out.println("Hello World")
}

0 comments on commit a76b5f8

Please sign in to comment.