aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/ui
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-01-27 23:32:03 +0100
committerChristian Schneppe <christian@pix-art.de>2018-01-27 23:32:03 +0100
commitb4e4aec0e075f5032d1ccbb1f4f98fd2bb15f858 (patch)
tree9de49f42ec66a7a5d0800b3589f532650293790d /src/main/java/de/pixart/messenger/ui
parent4afd76cc04e07cca60420d5ddfcae19de2125613 (diff)
show destroy button in light red
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui')
-rw-r--r--src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java b/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java
index 5d8a9c03c..116f174db 100644
--- a/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java
@@ -7,6 +7,7 @@ import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentSender.SendIntentException;
+import android.graphics.PorterDuff;
import android.os.Bundle;
import android.util.Log;
import android.view.ContextMenu;
@@ -291,6 +292,7 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers
mDestroyButton = findViewById(R.id.destroy);
mDestroyButton.setVisibility(View.GONE);
mDestroyButton.setOnClickListener(destroyListener);
+ mDestroyButton.getBackground().setColorFilter(getWarningButtonColor(), PorterDuff.Mode.MULTIPLY);
mConferenceType = findViewById(R.id.muc_conference_type);
if (getActionBar() != null) {
getActionBar().setHomeButtonEnabled(true);