diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-01-27 23:32:03 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-01-27 23:32:03 +0100 |
commit | b4e4aec0e075f5032d1ccbb1f4f98fd2bb15f858 (patch) | |
tree | 9de49f42ec66a7a5d0800b3589f532650293790d | |
parent | 4afd76cc04e07cca60420d5ddfcae19de2125613 (diff) |
show destroy button in light red
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java | 2 |
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); |