From 288a1a909308f23e9d9f781c2ec2c1d7ec9a3f2e Mon Sep 17 00:00:00 2001 From: Michael Imamura Date: Tue, 7 Sep 2010 10:07:40 +0800 Subject: [PATCH] Aliases are now configurable. --- AndroidManifest.xml | 7 +- res/layout/aliasadd.xml | 48 ++++++++ res/layout/aliasitem.xml | 8 ++ res/layout/serveradd.xml | 5 + res/values/strings.xml | 2 + src/org/jibble/pircbot/PircBot.java | 2 +- src/org/yaaic/activity/AddAliasActivity.java | 112 ++++++++++++++++++ src/org/yaaic/activity/AddServerActivity.java | 22 +++- src/org/yaaic/db/AliasConstants.java | 19 +++ src/org/yaaic/db/Database.java | 79 +++++++++++- src/org/yaaic/irc/IRCConnection.java | 1 + src/org/yaaic/irc/IRCService.java | 1 + src/org/yaaic/model/Extra.java | 1 + src/org/yaaic/model/Identity.java | 15 +++ 14 files changed, 314 insertions(+), 8 deletions(-) create mode 100644 res/layout/aliasadd.xml create mode 100644 res/layout/aliasitem.xml create mode 100644 src/org/yaaic/activity/AddAliasActivity.java create mode 100644 src/org/yaaic/db/AliasConstants.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index d6ea206..72ea0dd 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -68,6 +68,10 @@ along with Yaaic. If not, see . android:label="@string/users" android:theme="@android:style/Theme.Dialog"> + + @@ -85,7 +89,8 @@ along with Yaaic. If not, see . android:theme="@android:style/Theme.Dialog"> - + + diff --git a/res/layout/aliasadd.xml b/res/layout/aliasadd.xml new file mode 100644 index 0000000..12958b0 --- /dev/null +++ b/res/layout/aliasadd.xml @@ -0,0 +1,48 @@ + + + + + + +