diff --git a/soft1614080902215/test4/4.1.png b/soft1614080902215/test4/4.1.png new file mode 100644 index 000000000..4c2b1c8d7 Binary files /dev/null and b/soft1614080902215/test4/4.1.png differ diff --git a/soft1614080902215/test4/4.2.png b/soft1614080902215/test4/4.2.png new file mode 100644 index 000000000..0651e8bc8 Binary files /dev/null and b/soft1614080902215/test4/4.2.png differ diff --git a/soft1614080902215/test4/app/src/main/AndroidManifest.xml b/soft1614080902215/test4/app/src/main/AndroidManifest.xml new file mode 100644 index 000000000..ca1ed9bee --- /dev/null +++ b/soft1614080902215/test4/app/src/main/AndroidManifest.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/soft1614080902215/test4/app/src/main/java/androidlabs/hzuapps/edu/soft1614080902215/SecondActivity.java b/soft1614080902215/test4/app/src/main/java/androidlabs/hzuapps/edu/soft1614080902215/SecondActivity.java new file mode 100644 index 000000000..81504096c --- /dev/null +++ b/soft1614080902215/test4/app/src/main/java/androidlabs/hzuapps/edu/soft1614080902215/SecondActivity.java @@ -0,0 +1,19 @@ +package androidlabs.hzuapps.edu.soft1614080902215; + +import android.os.Bundle; +import android.support.design.widget.FloatingActionButton; +import android.support.design.widget.Snackbar; +import android.support.v7.app.AppCompatActivity; +import android.support.v7.widget.Toolbar; +import android.view.View; +import android.*; +public class SecondActivity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_second); + + } + +} diff --git a/soft1614080902215/test4/app/src/main/java/androidlabs/hzuapps/edu/soft1614080902215/soft1614080902215MainActivity.java b/soft1614080902215/test4/app/src/main/java/androidlabs/hzuapps/edu/soft1614080902215/soft1614080902215MainActivity.java new file mode 100644 index 000000000..d0c4b8056 --- /dev/null +++ b/soft1614080902215/test4/app/src/main/java/androidlabs/hzuapps/edu/soft1614080902215/soft1614080902215MainActivity.java @@ -0,0 +1,29 @@ +package androidlabs.hzuapps.edu.soft1614080902215; + +import android.content.Intent; +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; +import android.view.View; +import android.widget.Button; +import android.widget.TextView; +import org.w3c.dom.Text; +public class soft1614080902215MainActivity extends AppCompatActivity { + + private Button Button; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_soft1614080902215_main); + + Button=(Button)findViewById(R.id.button); + + Button.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Intent intent=new Intent(soft1614080902215MainActivity.this,SecondActivity.class); + startActivity(intent); + } + }); + } +} diff --git a/soft1614080902215/test4/app/src/main/res/drawable/calc2.jpg b/soft1614080902215/test4/app/src/main/res/drawable/calc2.jpg new file mode 100644 index 000000000..7a3db944c Binary files /dev/null and b/soft1614080902215/test4/app/src/main/res/drawable/calc2.jpg differ diff --git a/soft1614080902215/test4/app/src/main/res/layout/activity_second.xml b/soft1614080902215/test4/app/src/main/res/layout/activity_second.xml new file mode 100644 index 000000000..0f007ce2b --- /dev/null +++ b/soft1614080902215/test4/app/src/main/res/layout/activity_second.xml @@ -0,0 +1,69 @@ + + + + +