show destroy button in light red

This commit is contained in:
Christian Schneppe 2018-01-27 23:32:03 +01:00
parent 4afd76cc04
commit b4e4aec0e0

View file

@ -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);