diff --git a/students/soft1714080902306/ShiYan03/app/src/main/AndroidManifest.xml b/students/soft1714080902306/ShiYan03/app/src/main/AndroidManifest.xml new file mode 100644 index 000000000..b47107932 --- /dev/null +++ b/students/soft1714080902306/ShiYan03/app/src/main/AndroidManifest.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/students/soft1714080902306/ShiYan03/app/src/main/java/edu/hzuapps/androidlabs/soft1714080902306/Soft1714080902306Activity01.java b/students/soft1714080902306/ShiYan03/app/src/main/java/edu/hzuapps/androidlabs/soft1714080902306/Soft1714080902306Activity01.java index c904f34c1..87b6306a4 100644 --- a/students/soft1714080902306/ShiYan03/app/src/main/java/edu/hzuapps/androidlabs/soft1714080902306/Soft1714080902306Activity01.java +++ b/students/soft1714080902306/ShiYan03/app/src/main/java/edu/hzuapps/androidlabs/soft1714080902306/Soft1714080902306Activity01.java @@ -16,7 +16,7 @@ protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.soft_1714080902306_activity01); - TextView btnOpen = (TextView) findViewById(R.id.textview_01); + TextView btnOpen = findViewById(R.id.Button_1); btnOpen.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { diff --git a/students/soft1714080902306/ShiYan03/app/src/main/res/drawable/tubiao.jpg b/students/soft1714080902306/ShiYan03/app/src/main/res/drawable/tubiao.jpg new file mode 100644 index 000000000..5ad38bd9b Binary files /dev/null and b/students/soft1714080902306/ShiYan03/app/src/main/res/drawable/tubiao.jpg differ diff --git a/students/soft1714080902306/ShiYan03/app/src/main/res/layout/soft_1714080902306_activity01.xml b/students/soft1714080902306/ShiYan03/app/src/main/res/layout/soft_1714080902306_activity01.xml index 013beb94e..b01c64475 100644 --- a/students/soft1714080902306/ShiYan03/app/src/main/res/layout/soft_1714080902306_activity01.xml +++ b/students/soft1714080902306/ShiYan03/app/src/main/res/layout/soft_1714080902306_activity01.xml @@ -1,22 +1,58 @@ - + android:orientation="vertical" android:layout_width="match_parent" + android:layout_height="match_parent"> - +