diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml new file mode 100644 index 0000000..b268ef3 --- /dev/null +++ b/.idea/deploymentTargetSelector.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index ae388c2..0897082 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -4,16 +4,15 @@ diff --git a/.idea/migrations.xml b/.idea/migrations.xml new file mode 100644 index 0000000..f8051a6 --- /dev/null +++ b/.idea/migrations.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file 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 diff --git a/app/src/main/java/edu/temple/helloworld/MainActivity.kt b/app/src/main/java/edu/temple/helloworld/MainActivity.kt index afedb6d..d1d5499 100644 --- a/app/src/main/java/edu/temple/helloworld/MainActivity.kt +++ b/app/src/main/java/edu/temple/helloworld/MainActivity.kt @@ -8,8 +8,12 @@ import android.widget.TextView class MainActivity : AppCompatActivity() { + // for it // 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 +22,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