Skip to content

Commit

Permalink
hzuapps#3 hzuapps#28 第3次实验
Browse files Browse the repository at this point in the history
  • Loading branch information
huangjunxin committed Oct 13, 2020
1 parent d7a78a3 commit 9d12059
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
2 changes: 2 additions & 0 deletions students/net1814080903213/Net1814080903213Activity.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ public void onClick(View v) {
case R.id.buttonToSubmitResult:
Intent intentSubmitResultActivity = new Intent(Net1814080903213Activity.this, SubmitResultActivity.class);
startActivity(intentSubmitResultActivity);
break;
case R.id.buttonToWordList:
Intent intentWordListActivity = new Intent(Net1814080903213Activity.this, WordListActivity.class);
startActivity(intentWordListActivity);
break;
default:
break;
}
Expand Down
27 changes: 27 additions & 0 deletions students/net1814080903213/activity_main.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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"
tools:context=".Net1814080903213Activity">

<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<Button
android:id="@+id/buttonToSubmitResult"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/submit_result"
android:drawableTop="@drawable/ic_search"/>
<Button
android:id="@+id/buttonToWordList"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/word_list"
android:drawableTop="@drawable/ic_word_list"/>
</LinearLayout>

</androidx.constraintlayout.widget.ConstraintLayout>
9 changes: 9 additions & 0 deletions students/net1814080903213/ic_search.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="30dp"
android:height="30dp"
android:viewportWidth="1024"
android:viewportHeight="1024">
<path
android:fillColor="#FF000000"
android:pathData="M882.64,904.31 L730.35,708.19c7.88,-6.66 15.53,-13.65 22.89,-21.01 33.35,-33.35 59.53,-72.19 77.83,-115.45 18.95,-44.8 28.56,-92.38 28.56,-141.41 0,-49.02 -9.61,-96.59 -28.56,-141.39 -18.3,-43.26 -44.48,-82.1 -77.83,-115.45S681.05,113.95 637.8,95.65C593,76.7 545.43,67.1 496.41,67.1c-49.02,0 -96.59,9.61 -141.39,28.56 -43.26,18.3 -82.1,44.48 -115.45,77.83 -33.35,33.35 -59.53,72.19 -77.83,115.45 -18.95,44.8 -28.56,92.37 -28.56,141.39 0,49.03 9.61,96.6 28.56,141.41 18.3,43.26 44.48,82.1 77.83,115.45 33.35,33.35 72.19,59.54 115.45,77.83 44.8,18.95 92.37,28.56 141.39,28.56 49.02,0 96.59,-9.61 141.39,-28.56 12.92,-5.47 25.44,-11.65 37.54,-18.5l154.42,198.86c11.34,14.6 31.99,17.55 46.12,6.57l1.71,-1.33C891.71,939.65 893.98,918.91 882.64,904.31zM496.41,732.17c-166.43,0 -301.83,-135.41 -301.83,-301.85 0,-166.43 135.4,-301.83 301.83,-301.83 166.42,0 301.82,135.4 301.82,301.83C798.23,596.76 662.83,732.17 496.41,732.17z"/>
</vector>

0 comments on commit 9d12059

Please sign in to comment.