diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-07-31 15:09:34 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-07-31 15:09:34 +0200 |
commit | 990f0f6d73b1c63dd61c824a6b73ba056e2de75c (patch) | |
tree | 8cede5df931e5d335eebc34e95c780dbc3ce9ac1 /src/eu/siacs/conversations/ui/XmppActivity.java | |
parent | 27b306444bf11ca214e3fed7b54745bb323b31a9 (diff) |
refactored account array adapter into seperate class. added account image
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/ui/XmppActivity.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/ui/XmppActivity.java b/src/eu/siacs/conversations/ui/XmppActivity.java index fad4d026f..3bac32e2b 100644 --- a/src/eu/siacs/conversations/ui/XmppActivity.java +++ b/src/eu/siacs/conversations/ui/XmppActivity.java @@ -42,6 +42,8 @@ public abstract class XmppActivity extends Activity { protected int mPrimaryTextColor; protected int mSecondaryTextColor; + protected int mWarningTextColor; + protected int mPrimaryColor; protected interface OnValueEdited { public void onValueEdited(String value); @@ -162,6 +164,8 @@ public abstract class XmppActivity extends Activity { ExceptionHelper.init(getApplicationContext()); mPrimaryTextColor = getResources().getColor(R.color.primarytext); mSecondaryTextColor = getResources().getColor(R.color.secondarytext); + mWarningTextColor = getResources().getColor(R.color.warningtext); + mPrimaryColor = getResources().getColor(R.color.primary); } public void switchToConversation(Conversation conversation) { @@ -368,4 +372,12 @@ public abstract class XmppActivity extends Activity { public int getPrimaryTextColor() { return this.mPrimaryTextColor; } + + public int getWarningTextColor() { + return this.mWarningTextColor; + } + + public int getPrimaryColor() { + return this.mPrimaryColor; + } } |