forked from hzuapps/android-labs-2019
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "hzuapps#4 hzuapps#541 第四次实验"
- Loading branch information
Showing
11 changed files
with
57 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 2 additions & 16 deletions
18
...src/main/java/edu/hzuapps/androidlabs/soft1714080902401/Soft1714080902401_01Activity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,13 @@ | ||
package edu.hzuapps.androidlabs.soft1714080902401; | ||
|
||
import android.content.Intent; | ||
import android.os.Bundle; | ||
import android.support.v7.app.AppCompatActivity; | ||
import android.view.View; | ||
import android.widget.Button; | ||
import android.os.Bundle; | ||
|
||
public class Soft1714080902401_01Activity extends AppCompatActivity { | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_soft_1714080902401_01); | ||
|
||
|
||
Button NewD = (Button) findViewById(R.id.newD); | ||
NewD.setOnClickListener(new View.OnClickListener() { | ||
@Override | ||
public void onClick(View v) { | ||
Intent intent = new Intent(Soft1714080902401_01Activity.this, Soft1714080902401_newActivity.class); | ||
startActivity(intent); | ||
} | ||
}); | ||
|
||
setContentView(R.layout.activity_soft1714080902401_01); | ||
} | ||
} |
25 changes: 0 additions & 25 deletions
25
...rc/main/java/edu/hzuapps/androidlabs/soft1714080902401/Soft1714080902401_newActivity.java
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
students/soft1714080902401/app/src/main/res/layout/activity_soft1714080902401_01.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:background="@drawable/fbackgroud" | ||
tools:context=".Soft1714080902401_01Activity"> | ||
|
||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content"> | ||
|
||
|
||
<EditText | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:text="该更新日记了!" | ||
/> | ||
|
||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99 changes: 0 additions & 99 deletions
99
students/soft1714080902401/app/src/main/res/layout/activity_soft_1714080902401_01.xml
This file was deleted.
Oops, something went wrong.
53 changes: 0 additions & 53 deletions
53
students/soft1714080902401/app/src/main/res/layout/activity_soft_1714080902401_new.xml
This file was deleted.
Oops, something went wrong.
7 changes: 2 additions & 5 deletions
7
students/soft1714080902401/app/src/main/res/values/colors.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="colornull">#00000000</color> | ||
<color name="colorwhite">#FFFFFF</color> | ||
<color name="colorliwhite">#8BFFFFFF</color> | ||
<color name="colorbalck">#000000</color> | ||
<color name="colorblue">#CD0C758C</color> | ||
<color name="colorPrimary">#008577</color> | ||
<color name="colorPrimaryDark">#00574B</color> | ||
<color name="colorAccent">#D81B60</color> | ||
</resources> |
6 changes: 1 addition & 5 deletions
6
students/soft1714080902401/app/src/main/res/values/strings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
<resources> | ||
<string name="app_name">我的日记</string> | ||
<string name="title_activity_main">MainActivity</string> | ||
<string name="title_home">Home</string> | ||
<string name="title_dashboard">Dashboard</string> | ||
<string name="title_notifications">Notifications</string> | ||
<string name="app_name">Diary</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters