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/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /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..391ccd0 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# This is a branch called bugfix-1 +# it will fix the issue about jumbled interface + +# This is a feature-1 diff --git a/app/src/main/java/edu/temple/helloworld/MainActivity.kt b/app/src/main/java/edu/temple/helloworld/MainActivity.kt index afedb6d..04a1c19 100644 --- a/app/src/main/java/edu/temple/helloworld/MainActivity.kt +++ b/app/src/main/java/edu/temple/helloworld/MainActivity.kt @@ -9,7 +9,10 @@ import android.widget.TextView class MainActivity : AppCompatActivity() { // Declare view properties - the first one is done for you - lateinit var displayTextView: TextView + private lateinit var displayTextView: TextView + // other two view properties + private lateinit var nameEditText: EditText + lateinit var clickMeButton: Button override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) @@ -18,11 +21,20 @@ 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