Skip to content

Commit

Permalink
not too fond of the about page
Browse files Browse the repository at this point in the history
  • Loading branch information
Xlythe committed Feb 16, 2013
1 parent 20db233 commit 4bf64f7
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 53 deletions.
1 change: 0 additions & 1 deletion AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
</intent-filter>
</activity>
<activity android:name=".Preferences" android:label="@string/settings" />
<activity android:name=".About" android:label="@string/activity_about" />
<receiver android:name=".CalculatorWidget" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
Expand Down
12 changes: 0 additions & 12 deletions res/layout/about.xml

This file was deleted.

3 changes: 0 additions & 3 deletions res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,4 @@
<string name="cling_dismiss">OK</string>

<string name="easter_egg">Magikarp used Splash but nothing happened.</string>

<string name="activity_about">About</string>
<string name="about">Maintainer: Will Harmon (Xlythe)\nUniversity: University of Waterloo\nContact Details: xlythe@gmail.com\nVersion Number: %s\nCountry: Canada\nLast Updated: Feb 14, 2013\nSource Code: https://github.com/Xlythe/android_packages_apps_Calculator\nOther Apps: https://play.google.com/store/apps/developer?id=Xlythe</string>
</resources>
27 changes: 0 additions & 27 deletions src/com/android2/calculator3/About.java

This file was deleted.

10 changes: 0 additions & 10 deletions src/com/android2/calculator3/view/PreferencesFragment.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
package com.android2.calculator3.view;

import android.content.Intent;
import android.content.pm.PackageManager.NameNotFoundException;
import android.os.Bundle;
import android.preference.Preference;
import android.preference.Preference.OnPreferenceClickListener;
import android.preference.PreferenceFragment;

import com.android2.calculator3.About;
import com.android2.calculator3.R;

public class PreferencesFragment extends PreferenceFragment {
Expand All @@ -24,13 +21,6 @@ public void onCreate(Bundle savedInstanceState) {
catch(NameNotFoundException e) {
e.printStackTrace();
}
about.setOnPreferenceClickListener(new OnPreferenceClickListener() {
@Override
public boolean onPreferenceClick(Preference preference) {
startActivity(new Intent(getActivity(), About.class));
return false;
}
});
about.setTitle(about.getTitle() + " " + versionName);
}
}
Expand Down

0 comments on commit 4bf64f7

Please sign in to comment.