From 83475abcc4c609828904979d7c532236e0d37d4b Mon Sep 17 00:00:00 2001 From: duxdevenexia <88348139+duxdevenexia@users.noreply.github.com> Date: Sun, 1 Sep 2024 22:59:58 -0400 Subject: [PATCH 1/4] Create README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..fbd6b11 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# This is a branch called bugfix-1 +# it will fix the issue about jumbled interface From 367dcca407752300d122570c9ca7b90db7c589ac Mon Sep 17 00:00:00 2001 From: duxdevenexia <88348139+duxdevenexia@users.noreply.github.com> Date: Sun, 1 Sep 2024 23:33:36 -0400 Subject: [PATCH 2/4] Update MainActivity.kt renew the fix --- app/src/main/java/edu/temple/helloworld/MainActivity.kt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/edu/temple/helloworld/MainActivity.kt b/app/src/main/java/edu/temple/helloworld/MainActivity.kt index afedb6d..699ec08 100644 --- a/app/src/main/java/edu/temple/helloworld/MainActivity.kt +++ b/app/src/main/java/edu/temple/helloworld/MainActivity.kt @@ -10,6 +10,9 @@ class MainActivity : AppCompatActivity() { // Declare view properties - the first one is done for you lateinit var displayTextView: TextView + // other two view properties + lateinit var nameEditText: EditText + lateinit var clickMeButton: Button override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) @@ -18,6 +21,10 @@ class MainActivity : AppCompatActivity() { // Initialize with views defined in Layout - the first one is done for you displayTextView = findViewById(R.id.displayTextView) + // initalize other two views fir tge layout + nameEditText = findViewById(R.id.nameEditText) + clickMeButton = findViewById(R.id.clickMeButton) + findViewById