From 112bf684913bd3f39ef60f84efc38130af47e4b2 Mon Sep 17 00:00:00 2001 From: sjtufs Date: Sun, 25 Aug 2013 15:56:12 +0800 Subject: Alpha version & fix name --- res/layout/activity_setting.xml | 149 ---------------------------------- src/com/macaroon/piztor/Settings.java | 22 +++++ 2 files changed, 22 insertions(+), 149 deletions(-) delete mode 100644 res/layout/activity_setting.xml create mode 100644 src/com/macaroon/piztor/Settings.java diff --git a/res/layout/activity_setting.xml b/res/layout/activity_setting.xml deleted file mode 100644 index 8ce051f..0000000 --- a/res/layout/activity_setting.xml +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/com/macaroon/piztor/Settings.java b/src/com/macaroon/piztor/Settings.java new file mode 100644 index 0000000..292a112 --- /dev/null +++ b/src/com/macaroon/piztor/Settings.java @@ -0,0 +1,22 @@ +package com.macaroon.piztor; + +import android.os.Bundle; +import android.app.Activity; +import android.view.Menu; + +public class Settings extends Activity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_settings); + } + + @Override + public boolean onCreateOptionsMenu(Menu menu) { + // Inflate the menu; this adds items to the action bar if it is present. + getMenuInflater().inflate(R.menu.setting, menu); + return true; + } + +} -- cgit v1.2.3-70-g09d2