From bc464e5c6d7d314072fadcc06e50cc8106d57e5d Mon Sep 17 00:00:00 2001 From: DjBushido Date: Sat, 22 Feb 2014 16:39:00 -0500 Subject: [PATCH] Add the initial result activity --- HW3/res/layout/activity_result.xml | 11 +++++++++++ HW3/res/menu/result.xml | 9 +++++++++ HW3/src/com/uncc/hw3/ResultActivity.java | 22 ++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 HW3/res/layout/activity_result.xml create mode 100644 HW3/res/menu/result.xml create mode 100644 HW3/src/com/uncc/hw3/ResultActivity.java diff --git a/HW3/res/layout/activity_result.xml b/HW3/res/layout/activity_result.xml new file mode 100644 index 0000000..35aec57 --- /dev/null +++ b/HW3/res/layout/activity_result.xml @@ -0,0 +1,11 @@ + + + diff --git a/HW3/res/menu/result.xml b/HW3/res/menu/result.xml new file mode 100644 index 0000000..d122a4b --- /dev/null +++ b/HW3/res/menu/result.xml @@ -0,0 +1,9 @@ + + + + + diff --git a/HW3/src/com/uncc/hw3/ResultActivity.java b/HW3/src/com/uncc/hw3/ResultActivity.java new file mode 100644 index 0000000..18fc218 --- /dev/null +++ b/HW3/src/com/uncc/hw3/ResultActivity.java @@ -0,0 +1,22 @@ +package com.uncc.hw3; + +import android.os.Bundle; +import android.app.Activity; +import android.view.Menu; + +public class ResultActivity extends Activity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_result); + } + + @Override + public boolean onCreateOptionsMenu(Menu menu) { + // Inflate the menu; this adds items to the action bar if it is present. + getMenuInflater().inflate(R.menu.result, menu); + return true; + } + +}