From 82d47b5c2e3b3b0133256893ef4b3ffa5f539784 Mon Sep 17 00:00:00 2001 From: WR <9981112+JTWR@user.noreply.gitee.com> Date: Fri, 5 Nov 2021 13:02:33 +0000 Subject: [PATCH] =?UTF-8?q?=E6=97=A0=20layout=E6=96=87=E4=BB=B6=20java?= =?UTF-8?q?=E6=96=87=E4=BB=B6=20AndroidManifest=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AndroidManifest.xml | 21 +++++ ExampleInstrumentedTest.java | 26 ++++++ activity_first.xml | 154 +++++++++++++++++++++++++++++++ bg.png | Bin 0 -> 99617 bytes ic_launcher_background.xml | 170 +++++++++++++++++++++++++++++++++++ img.png | Bin 0 -> 87135 bytes lock_icon.png | Bin 0 -> 1665 bytes stroke.xml | 10 +++ stroke0.xml | 14 +++ stroke2.xml | 11 +++ user_icno.png | Bin 0 -> 2297 bytes 11 files changed, 406 insertions(+) create mode 100644 AndroidManifest.xml create mode 100644 ExampleInstrumentedTest.java create mode 100644 activity_first.xml create mode 100644 bg.png create mode 100644 ic_launcher_background.xml create mode 100644 img.png create mode 100644 lock_icon.png create mode 100644 stroke.xml create mode 100644 stroke0.xml create mode 100644 stroke2.xml create mode 100644 user_icno.png diff --git a/AndroidManifest.xml b/AndroidManifest.xml new file mode 100644 index 0000000..d230c25 --- /dev/null +++ b/AndroidManifest.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/ExampleInstrumentedTest.java b/ExampleInstrumentedTest.java new file mode 100644 index 0000000..272aa90 --- /dev/null +++ b/ExampleInstrumentedTest.java @@ -0,0 +1,26 @@ +package com.example.devhub_app_test_1; + +import android.content.Context; + +import androidx.test.platform.app.InstrumentationRegistry; +import androidx.test.ext.junit.runners.AndroidJUnit4; + +import org.junit.Test; +import org.junit.runner.RunWith; + +import static org.junit.Assert.*; + +/** + * Instrumented test, which will execute on an Android device. + * + * @see Testing documentation + */ +@RunWith(AndroidJUnit4.class) +public class ExampleInstrumentedTest { + @Test + public void useAppContext() { + // Context of the app under test. + Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); + assertEquals("com.example.devhub_app_test_1", appContext.getPackageName()); + } +} \ No newline at end of file diff --git a/activity_first.xml b/activity_first.xml new file mode 100644 index 0000000..fa306a5 --- /dev/null +++ b/activity_first.xml @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +